Home
last modified time | relevance | path

Searched defs:sk_buff (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dkfree_skb.c39 struct sk_buff { struct
58 * TP_PROTO(struct sk_buff *skb, void *location), argument
H A Dfexit_bpf2bpf_simple.c7 struct sk_buff { struct
14 int BPF_PROG(test_main2, struct sk_buff *skb, int ret) in BPF_PROG() argument
H A Dfexit_bpf2bpf.c12 struct sk_buff { struct
18 int BPF_PROG(test_main, struct sk_buff *skb, int ret) in BPF_PROG() argument
/openbmc/linux/include/linux/
H A Dnetfilter.h154 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init()
214 struct sock *sk, struct sk_buff *skb, in nf_hook()
286 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
298 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
311 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK_LIST()
402 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
410 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK()
419 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK_LIST()
425 struct sock *sk, struct sk_buff *skb, in nf_hook()
H A Dskbuff.h843 struct sk_buff { struct
847 struct sk_buff *next; argument
881 void (*destructor)(struct sk_buff *skb); argument
908 #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset) argument
911 __u8 __cloned_offset[0];
913 __u8 cloned:1,
914 nohdr:1,
915 fclone:2,
916 peeked:1,
917 head_frag:1,
[all …]
H A Dnetfilter_ipv6.h126 struct sk_buff *skb, in nf_br_ip6_fragment()
/openbmc/linux/net/core/
H A Dfilter.c165 BPF_CALL_1(bpf_skb_get_pay_offset, struct sk_buff *, skb) in BPF_CALL_1() argument
170 BPF_CALL_3(bpf_skb_get_nlattr, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3() argument
190 BPF_CALL_3(bpf_skb_get_nlattr_nest, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3() argument
228 BPF_CALL_4(bpf_skb_load_helper_8, const struct sk_buff *, skb, const void *, in BPF_CALL_4() argument
246 BPF_CALL_2(bpf_skb_load_helper_8_no_cache, const struct sk_buff *, skb, in BPF_CALL_2() argument
253 BPF_CALL_4(bpf_skb_load_helper_16, const struct sk_buff *, skb, const void *, in BPF_CALL_4() argument
271 BPF_CALL_2(bpf_skb_load_helper_16_no_cache, const struct sk_buff *, sk argument
278 BPF_CALL_4(bpf_skb_load_helper_32,const struct sk_buff *,skb,const void *,data,int,headlen,int,offset) BPF_CALL_4() argument
296 BPF_CALL_2(bpf_skb_load_helper_32_no_cache,const struct sk_buff *,skb,int,offset) BPF_CALL_2() argument
1702 BPF_CALL_5(bpf_skb_store_bytes,struct sk_buff *,skb,u32,offset,const void *,from,u32,len,u64,flags) BPF_CALL_5() argument
1745 BPF_CALL_4(bpf_skb_load_bytes,const struct sk_buff *,skb,u32,offset,void *,to,u32,len) BPF_CALL_4() argument
1814 BPF_CALL_5(bpf_skb_load_bytes_relative,const struct sk_buff *,skb,u32,offset,void *,to,u32,len,u32,start_header) BPF_CALL_5() argument
1859 BPF_CALL_2(bpf_skb_pull_data,struct sk_buff *,skb,u32,len) BPF_CALL_2() argument
1899 BPF_CALL_2(sk_skb_pull_data,struct sk_buff *,skb,u32,len) BPF_CALL_2() argument
1921 BPF_CALL_5(bpf_l3_csum_replace,struct sk_buff *,skb,u32,offset,u64,from,u64,to,u64,flags) BPF_CALL_5() argument
1965 BPF_CALL_5(bpf_l4_csum_replace,struct sk_buff *,skb,u32,offset,u64,from,u64,to,u64,flags) BPF_CALL_5() argument
2057 BPF_CALL_2(bpf_csum_update,struct sk_buff *,skb,__wsum,csum) BPF_CALL_2() argument
2077 BPF_CALL_2(bpf_csum_level,struct sk_buff *,skb,u64,level) BPF_CALL_2() argument
2440 BPF_CALL_3(bpf_clone_redirect,struct sk_buff *,skb,u32,ifindex,u64,flags) BPF_CALL_3() argument
3094 BPF_CALL_1(bpf_skb_cgroup_classid,const struct sk_buff *,skb) BPF_CALL_1() argument
3112 BPF_CALL_1(bpf_get_cgroup_classid,const struct sk_buff *,skb) BPF_CALL_1() argument
3124 BPF_CALL_1(bpf_get_route_realm,const struct sk_buff *,skb) BPF_CALL_1() argument
3136 BPF_CALL_1(bpf_get_hash_recalc,struct sk_buff *,skb) BPF_CALL_1() argument
3153 BPF_CALL_1(bpf_set_hash_invalid,struct sk_buff *,skb) BPF_CALL_1() argument
3169 BPF_CALL_2(bpf_set_hash,struct sk_buff *,skb,u32,hash) BPF_CALL_2() argument
3187 BPF_CALL_3(bpf_skb_vlan_push,struct sk_buff *,skb,__be16,vlan_proto,u16,vlan_tci) BPF_CALL_3() argument
3213 BPF_CALL_1(bpf_skb_vlan_pop,struct sk_buff *,skb) BPF_CALL_1() argument
3379 BPF_CALL_3(bpf_skb_change_proto,struct sk_buff *,skb,__be16,proto,u64,flags) BPF_CALL_3() argument
3418 BPF_CALL_2(bpf_skb_change_type,struct sk_buff *,skb,u32,pkt_type) BPF_CALL_2() argument
3627 BPF_CALL_4(sk_skb_adjust_room,struct sk_buff *,skb,s32,len_diff,u32,mode,u64,flags) BPF_CALL_4() argument
3668 BPF_CALL_4(bpf_skb_adjust_room,struct sk_buff *,skb,s32,len_diff,u32,mode,u64,flags) BPF_CALL_4() argument
3818 BPF_CALL_3(bpf_skb_change_tail,struct sk_buff *,skb,u32,new_len,u64,flags) BPF_CALL_3() argument
3836 BPF_CALL_3(sk_skb_change_tail,struct sk_buff *,skb,u32,new_len,u64,flags) BPF_CALL_3() argument
3882 BPF_CALL_3(bpf_skb_change_head,struct sk_buff *,skb,u32,head_room,u64,flags) BPF_CALL_3() argument
3900 BPF_CALL_3(sk_skb_change_head,struct sk_buff *,skb,u32,head_room,u64,flags) BPF_CALL_3() argument
4621 BPF_CALL_5(bpf_skb_event_output,struct sk_buff *,skb,struct bpf_map *,map,u64,flags,void *,meta,u64,meta_size) BPF_CALL_5() argument
4665 BPF_CALL_4(bpf_skb_get_tunnel_key,struct sk_buff *,skb,struct bpf_tunnel_key *,to,u32,size,u64,flags) BPF_CALL_4() argument
4744 BPF_CALL_3(bpf_skb_get_tunnel_opt,struct sk_buff *,skb,u8 *,to,u32,size) BPF_CALL_3() argument
4780 BPF_CALL_4(bpf_skb_set_tunnel_key,struct sk_buff *,skb,const struct bpf_tunnel_key *,from,u32,size,u64,flags) BPF_CALL_4() argument
4861 BPF_CALL_3(bpf_skb_set_tunnel_opt,struct sk_buff *,skb,const u8 *,from,u32,size) BPF_CALL_3() argument
4911 BPF_CALL_3(bpf_skb_under_cgroup,struct sk_buff *,skb,struct bpf_map *,map,u32,idx) BPF_CALL_3() argument
4953 BPF_CALL_1(bpf_skb_cgroup_id,const struct sk_buff *,skb) BPF_CALL_1() argument
4983 BPF_CALL_2(bpf_skb_ancestor_cgroup_id,const struct sk_buff *,skb,int,ancestor_level) BPF_CALL_2() argument
5072 BPF_CALL_1(bpf_get_socket_cookie,struct sk_buff *,skb) BPF_CALL_1() argument
5187 BPF_CALL_1(bpf_get_socket_uid,struct sk_buff *,skb) BPF_CALL_1() argument
5816 BPF_CALL_5(bpf_skb_get_xfrm_state,struct sk_buff *,skb,u32,index,struct bpf_xfrm_state *,to,u32,size,u64,flags) BPF_CALL_5() argument
6186 BPF_CALL_4(bpf_skb_fib_lookup,struct sk_buff *,skb,struct bpf_fib_lookup *,params,int,plen,u32,flags) BPF_CALL_4() argument
6253 BPF_CALL_5(bpf_skb_check_mtu,struct sk_buff *,skb,u32,ifindex,u32 *,mtu_len,s32,len_diff,u64,flags) BPF_CALL_5() argument
6394 BPF_CALL_4(bpf_lwt_in_push_encap,struct sk_buff *,skb,u32,type,void *,hdr,u32,len) BPF_CALL_4() argument
6412 BPF_CALL_4(bpf_lwt_xmit_push_encap,struct sk_buff *,skb,u32,type,void *,hdr,u32,len) BPF_CALL_4() argument
6446 BPF_CALL_4(bpf_lwt_seg6_store_bytes,struct sk_buff *,skb,u32,offset,const void *,from,u32,len) BPF_CALL_4() argument
6503 BPF_CALL_4(bpf_lwt_seg6_action,struct sk_buff *,skb,u32,action,void *,param,u32,param_len) BPF_CALL_4() argument
6576 BPF_CALL_3(bpf_lwt_seg6_adjust_srh,struct sk_buff *,skb,u32,offset,s32,len) BPF_CALL_3() argument
6806 BPF_CALL_5(bpf_skc_lookup_tcp,struct sk_buff *,skb,struct bpf_sock_tuple *,tuple,u32,len,u64,netns_id,u64,flags) BPF_CALL_5() argument
6825 BPF_CALL_5(bpf_sk_lookup_tcp,struct sk_buff *,skb,struct bpf_sock_tuple *,tuple,u32,len,u64,netns_id,u64,flags) BPF_CALL_5() argument
6844 BPF_CALL_5(bpf_sk_lookup_udp,struct sk_buff *,skb,struct bpf_sock_tuple *,tuple,u32,len,u64,netns_id,u64,flags) BPF_CALL_5() argument
6863 BPF_CALL_5(bpf_tc_skc_lookup_tcp,struct sk_buff *,skb,struct bpf_sock_tuple *,tuple,u32,len,u64,netns_id,u64,flags) BPF_CALL_5() argument
6887 BPF_CALL_5(bpf_tc_sk_lookup_tcp,struct sk_buff *,skb,struct bpf_sock_tuple *,tuple,u32,len,u64,netns_id,u64,flags) BPF_CALL_5() argument
6911 BPF_CALL_5(bpf_tc_sk_lookup_udp,struct sk_buff *,skb,struct bpf_sock_tuple *,tuple,u32,len,u64,netns_id,u64,flags) BPF_CALL_5() argument
7253 BPF_CALL_1(bpf_skb_ecn_set_ce,struct sk_buff *,skb) BPF_CALL_1() argument
7469 BPF_CALL_3(bpf_sk_assign,struct sk_buff *,skb,struct sock *,sk,u64,flags) BPF_CALL_3() argument
7725 BPF_CALL_3(bpf_skb_set_tstamp,struct sk_buff *,skb,u64,tstamp,u32,tstamp_type) BPF_CALL_3() argument
[all...]
H A Dsock_map.c642 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4()
1248 BPF_CALL_4(bpf_sk_redirect_hash, struct sk_buff *, skb, in BPF_CALL_4()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmutil/
H A Dutils.c141 bool (*fn)(struct sk_buff *, void *), void *arg) in brcmu_pktq_pflush()
158 bool (*fn)(struct sk_buff *, void *), void *arg) in brcmu_pktq_flush()
/openbmc/linux/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c28 struct sk_buff *skb, in nf_br_ip_fragment()
338 nf_ct_bridge_refrag(struct sk_buff *skb, const struct nf_hook_state *state, in nf_ct_bridge_refrag()
/openbmc/linux/net/802/
H A Dpsnap.c123 int (*rcvfunc)(struct sk_buff *, in register_snap_client()
/openbmc/linux/net/can/
H A Daf_can.c443 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_register() argument
512 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_unregister() argument
/openbmc/linux/net/xfrm/
H A Dxfrm_input.c769 int xfrm_trans_queue_net(struct net *net, struct sk_buff *skb, in xfrm_trans_queue_net()
792 int xfrm_trans_queue(struct sk_buff *skb, in xfrm_trans_queue()
/openbmc/linux/net/ipv6/
H A Dnetfilter.c122 int br_ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_ip6_fragment()
H A Daddrconf_core.c194 static int eafnosupport_ipv6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in eafnosupport_ipv6_fragment()
/openbmc/linux/net/batman-adv/
H A Dmain.c558 int (*recv_handler)(struct sk_buff *, in batadv_recv_handler_register()
/openbmc/linux/drivers/infiniband/core/
H A Dnetlink.c207 static int rdma_nl_rcv_skb(struct sk_buff *skb, int (*cb)(struct sk_buff *, in rdma_nl_rcv_skb()
/openbmc/linux/net/bridge/
H A Dbr_netfilter_hooks.c827 br_nf_ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_nf_ip_fragment()
1146 struct sock *sk, struct sk_buff *skb, in br_nf_hook_thresh()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
H A Dfw_common.c564 bool (*cmd_send_packet)(struct ieee80211_hw *, struct sk_buff *)) in rtl92c_set_fw_rsvdpagepkt()
/openbmc/linux/net/caif/
H A Dcaif_dev.c314 int (**rcv_func)(struct sk_buff *, struct net_device *, in caif_enroll_dev()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunvnet_common.c1221 vnet_handle_offloads(struct vnet_port *port, struct sk_buff *skb, in vnet_handle_offloads()
1324 sunvnet_start_xmit_common(struct sk_buff *skb, struct net_device *dev, in sunvnet_start_xmit_common()
/openbmc/linux/net/ipv4/
H A Dip_output.c577 static int ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in ip_fragment()
762 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in ip_do_fragment()
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_main.c235 void (*func)(struct sk_buff *, int ok, void *), in hostap_tx_callback_register() argument
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_init.c123 struct sk_buff *, in ath9k_htc_connect_svc()
/openbmc/linux/drivers/net/ethernet/sis/
H A Dsis190.c532 struct sk_buff **sk_buff, int pkt_size, in sis190_try_rx_copy()
787 struct sk_buff **sk_buff, struct RxDesc *desc) in sis190_free_rx_skb()

12