Home
last modified time | relevance | path

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

12

/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 Dtest_tc_link.c109 struct sk_buff { struct
121 struct net_device *dev = BPF_CORE_READ((struct sk_buff *)skb, dev); in tc8() 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
/linux/include/linux/
H A Dnetfilter.h168 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() argument
228 struct sock *sk, struct sk_buff *skb, in nf_hook() argument
300 NF_HOOK_COND(uint8_t pf,unsigned int hook,struct net * net,struct sock * sk,struct sk_buff * skb,struct net_device * in,struct net_device * out,int (* okfn)(struct net *,struct sock *,struct sk_buff *),bool cond) NF_HOOK_COND() argument
312 NF_HOOK(uint8_t pf,unsigned int hook,struct net * net,struct sock * sk,struct sk_buff * skb,struct net_device * in,struct net_device * out,int (* okfn)(struct net *,struct sock *,struct sk_buff *)) NF_HOOK() argument
325 NF_HOOK_LIST(uint8_t pf,unsigned int hook,struct net * net,struct sock * sk,struct list_head * head,struct net_device * in,struct net_device * out,int (* okfn)(struct net *,struct sock *,struct sk_buff *)) NF_HOOK_LIST() argument
411 NF_HOOK_COND(uint8_t pf,unsigned int hook,struct net * net,struct sock * sk,struct sk_buff * skb,struct net_device * in,struct net_device * out,int (* okfn)(struct net *,struct sock *,struct sk_buff *),bool cond) NF_HOOK_COND() argument
419 NF_HOOK(uint8_t pf,unsigned int hook,struct net * net,struct sock * sk,struct sk_buff * skb,struct net_device * in,struct net_device * out,int (* okfn)(struct net *,struct sock *,struct sk_buff *)) NF_HOOK() argument
428 NF_HOOK_LIST(uint8_t pf,unsigned int hook,struct net * net,struct sock * sk,struct list_head * head,struct net_device * in,struct net_device * out,int (* okfn)(struct net *,struct sock *,struct sk_buff *)) NF_HOOK_LIST() argument
434 nf_hook(u_int8_t pf,unsigned int hook,struct net * net,struct sock * sk,struct sk_buff * skb,struct net_device * indev,struct net_device * outdev,int (* okfn)(struct net *,struct sock *,struct sk_buff *)) nf_hook() argument
[all...]
H A Dskbuff.h879 struct sk_buff { global() struct
883 __anondc862c070f0ask_buff global() argument
917 __anondc862c07130ask_buff global() argument
944 queue_mappingsk_buff global() argument
947 __cloned_offsetsk_buff global() argument
949 clonedsk_buff global() argument
950 nohdrsk_buff global() argument
951 fclonesk_buff global() argument
952 peekedsk_buff global() argument
953 head_fragsk_buff global() argument
954 pfmemallocsk_buff global() argument
955 pp_recyclesk_buff global() argument
957 active_extensionssk_buff global() argument
1086 tailsk_buff global() argument
1087 endsk_buff global() argument
1105 extensionssk_buff global() argument
[all...]
H A Dnetfilter_ipv6.h126 struct sk_buff *sk in nf_br_ip6_fragment() argument
[all...]
/linux/net/core/
H A Dfilter.c181 BPF_CALL_1(bpf_skb_get_pay_offset, struct sk_buff *, skb) in BPF_CALL_1() argument
186 BPF_CALL_3(bpf_skb_get_nlattr, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3() argument
206 BPF_CALL_3(bpf_skb_get_nlattr_nest, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3() argument
244 BPF_CALL_4(bpf_skb_load_helper_8, const struct sk_buff *, skb, const void *, in BPF_CALL_4() argument
262 BPF_CALL_2(bpf_skb_load_helper_8_no_cache, const struct sk_buff *, skb, in BPF_CALL_2() argument
269 BPF_CALL_4(bpf_skb_load_helper_16, const struct sk_buff *, skb, const void *, in BPF_CALL_4() argument
287 BPF_CALL_2(bpf_skb_load_helper_16_no_cache, const struct sk_buff *, sk argument
294 BPF_CALL_4(bpf_skb_load_helper_32,const struct sk_buff *,skb,const void *,data,int,headlen,int,offset) BPF_CALL_4() argument
312 BPF_CALL_2(bpf_skb_load_helper_32_no_cache,const struct sk_buff *,skb,int,offset) BPF_CALL_2() argument
1711 BPF_CALL_5(bpf_skb_store_bytes,struct sk_buff *,skb,u32,offset,const void *,from,u32,len,u64,flags) BPF_CALL_5() argument
1754 BPF_CALL_4(bpf_skb_load_bytes,const struct sk_buff *,skb,u32,offset,void *,to,u32,len) BPF_CALL_4() argument
1823 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
1868 BPF_CALL_2(bpf_skb_pull_data,struct sk_buff *,skb,u32,len) BPF_CALL_2() argument
1908 BPF_CALL_2(sk_skb_pull_data,struct sk_buff *,skb,u32,len) BPF_CALL_2() argument
1930 BPF_CALL_5(bpf_l3_csum_replace,struct sk_buff *,skb,u32,offset,u64,from,u64,to,u64,flags) BPF_CALL_5() argument
1974 BPF_CALL_5(bpf_l4_csum_replace,struct sk_buff *,skb,u32,offset,u64,from,u64,to,u64,flags) BPF_CALL_5() argument
2066 BPF_CALL_2(bpf_csum_update,struct sk_buff *,skb,__wsum,csum) BPF_CALL_2() argument
2086 BPF_CALL_2(bpf_csum_level,struct sk_buff *,skb,u64,level) BPF_CALL_2() argument
2448 BPF_CALL_3(bpf_clone_redirect,struct sk_buff *,skb,u32,ifindex,u64,flags) BPF_CALL_3() argument
3106 BPF_CALL_1(bpf_skb_cgroup_classid,const struct sk_buff *,skb) BPF_CALL_1() argument
3124 BPF_CALL_1(bpf_get_cgroup_classid,const struct sk_buff *,skb) BPF_CALL_1() argument
3136 BPF_CALL_1(bpf_get_route_realm,const struct sk_buff *,skb) BPF_CALL_1() argument
3148 BPF_CALL_1(bpf_get_hash_recalc,struct sk_buff *,skb) BPF_CALL_1() argument
3165 BPF_CALL_1(bpf_set_hash_invalid,struct sk_buff *,skb) BPF_CALL_1() argument
3181 BPF_CALL_2(bpf_set_hash,struct sk_buff *,skb,u32,hash) BPF_CALL_2() argument
3199 BPF_CALL_3(bpf_skb_vlan_push,struct sk_buff *,skb,__be16,vlan_proto,u16,vlan_tci) BPF_CALL_3() argument
3226 BPF_CALL_1(bpf_skb_vlan_pop,struct sk_buff *,skb) BPF_CALL_1() argument
3399 BPF_CALL_3(bpf_skb_change_proto,struct sk_buff *,skb,__be16,proto,u64,flags) BPF_CALL_3() argument
3438 BPF_CALL_2(bpf_skb_change_type,struct sk_buff *,skb,u32,pkt_type) BPF_CALL_2() argument
3647 BPF_CALL_4(sk_skb_adjust_room,struct sk_buff *,skb,s32,len_diff,u32,mode,u64,flags) BPF_CALL_4() argument
3688 BPF_CALL_4(bpf_skb_adjust_room,struct sk_buff *,skb,s32,len_diff,u32,mode,u64,flags) BPF_CALL_4() argument
3838 BPF_CALL_3(bpf_skb_change_tail,struct sk_buff *,skb,u32,new_len,u64,flags) BPF_CALL_3() argument
3856 BPF_CALL_3(sk_skb_change_tail,struct sk_buff *,skb,u32,new_len,u64,flags) BPF_CALL_3() argument
3902 BPF_CALL_3(bpf_skb_change_head,struct sk_buff *,skb,u32,head_room,u64,flags) BPF_CALL_3() argument
3920 BPF_CALL_3(sk_skb_change_head,struct sk_buff *,skb,u32,head_room,u64,flags) BPF_CALL_3() argument
4654 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
4698 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
4777 BPF_CALL_3(bpf_skb_get_tunnel_opt,struct sk_buff *,skb,u8 *,to,u32,size) BPF_CALL_3() argument
4813 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
4894 BPF_CALL_3(bpf_skb_set_tunnel_opt,struct sk_buff *,skb,const u8 *,from,u32,size) BPF_CALL_3() argument
4946 BPF_CALL_3(bpf_skb_under_cgroup,struct sk_buff *,skb,struct bpf_map *,map,u32,idx) BPF_CALL_3() argument
4988 BPF_CALL_1(bpf_skb_cgroup_id,const struct sk_buff *,skb) BPF_CALL_1() argument
5018 BPF_CALL_2(bpf_skb_ancestor_cgroup_id,const struct sk_buff *,skb,int,ancestor_level) BPF_CALL_2() argument
5107 BPF_CALL_1(bpf_get_socket_cookie,struct sk_buff *,skb) BPF_CALL_1() argument
5174 BPF_CALL_1(bpf_get_netns_cookie,struct sk_buff *,skb) BPF_CALL_1() argument
5233 BPF_CALL_1(bpf_get_socket_uid,struct sk_buff *,skb) BPF_CALL_1() argument
5937 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
6313 BPF_CALL_4(bpf_skb_fib_lookup,struct sk_buff *,skb,struct bpf_fib_lookup *,params,int,plen,u32,flags) BPF_CALL_4() argument
6380 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
6521 BPF_CALL_4(bpf_lwt_in_push_encap,struct sk_buff *,skb,u32,type,void *,hdr,u32,len) BPF_CALL_4() argument
6539 BPF_CALL_4(bpf_lwt_xmit_push_encap,struct sk_buff *,skb,u32,type,void *,hdr,u32,len) BPF_CALL_4() argument
6573 BPF_CALL_4(bpf_lwt_seg6_store_bytes,struct sk_buff *,skb,u32,offset,const void *,from,u32,len) BPF_CALL_4() argument
6631 BPF_CALL_4(bpf_lwt_seg6_action,struct sk_buff *,skb,u32,action,void *,param,u32,param_len) BPF_CALL_4() argument
6705 BPF_CALL_3(bpf_lwt_seg6_adjust_srh,struct sk_buff *,skb,u32,offset,s32,len) BPF_CALL_3() argument
6932 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
6951 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
6970 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
6989 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
7013 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
7037 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
7379 BPF_CALL_1(bpf_skb_ecn_set_ce,struct sk_buff *,skb) BPF_CALL_1() argument
7592 BPF_CALL_3(bpf_sk_assign,struct sk_buff *,skb,struct sock *,sk,u64,flags) BPF_CALL_3() argument
7851 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.c645 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4() argument
1251 BPF_CALL_4(bpf_sk_redirect_hash, struct sk_buff *, skb, in BPF_CALL_4() argument
/linux/drivers/net/wireless/broadcom/brcm80211/brcmutil/
H A Dutils.c141 brcmu_pktq_pflush(struct pktq * pq,int prec,bool dir,bool (* fn)(struct sk_buff *,void *),void * arg) brcmu_pktq_pflush() argument
158 brcmu_pktq_flush(struct pktq * pq,bool dir,bool (* fn)(struct sk_buff *,void *),void * arg) brcmu_pktq_flush() argument
[all...]
/linux/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c28 struct sk_buff *skb, in nf_br_ip_fragment() argument
338 nf_ct_bridge_refrag(struct sk_buff * skb,const struct nf_hook_state * state,int (* output)(struct net *,struct sock * sk,const struct nf_bridge_frag_data * data,struct sk_buff *)) nf_ct_bridge_refrag() argument
[all...]
/linux/net/802/
H A Dpsnap.c123 int (*rcvfunc)(struct sk_buff *, in register_snap_client() argument
/linux/net/can/
H A Daf_can.c445 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_register() argument
514 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_unregister() argument
[all...]
/linux/net/xfrm/
H A Dxfrm_input.c793 xfrm_trans_queue_net(struct net * net,struct sk_buff * skb,int (* finish)(struct net *,struct sock *,struct sk_buff *)) xfrm_trans_queue_net() argument
816 xfrm_trans_queue(struct sk_buff * skb,int (* finish)(struct net *,struct sock *,struct sk_buff *)) xfrm_trans_queue() argument
[all...]
/linux/net/ipv6/
H A Dnetfilter.c123 int br_ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_ip6_fragment() argument
H A Daddrconf_core.c194 static int eafnosupport_ipv6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in eafnosupport_ipv6_fragment() argument
H A Dip6_output.c866 ip6_fragment(struct net * net,struct sock * sk,struct sk_buff * skb,int (* output)(struct net *,struct sock *,struct sk_buff *)) ip6_fragment() argument
[all...]
/linux/net/batman-adv/
H A Dmain.c556 int (*recv_handler)(struct sk_buff *, in batadv_recv_handler_register() argument
/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() argument
[all...]
/linux/net/bridge/
H A Dbr_netfilter_hooks.c807 br_nf_ip_fragment(struct net * net,struct sock * sk,struct sk_buff * skb,int (* output)(struct net *,struct sock *,struct sk_buff *)) br_nf_ip_fragment() argument
1129 br_nf_hook_thresh(unsigned int hook,struct net * net,struct sock * sk,struct sk_buff * skb,struct net_device * indev,struct net_device * outdev,int (* okfn)(struct net *,struct sock *,struct sk_buff *)) br_nf_hook_thresh() argument
[all...]
/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() argument
/linux/drivers/net/ethernet/sun/
H A Dsunvnet_common.c1221 vnet_handle_offloads(struct vnet_port * port,struct sk_buff * skb,struct vnet_port * (* vnet_tx_port)(struct sk_buff *,struct net_device *)) vnet_handle_offloads() argument
1324 sunvnet_start_xmit_common(struct sk_buff * skb,struct net_device * dev,struct vnet_port * (* vnet_tx_port)(struct sk_buff *,struct net_device *)) sunvnet_start_xmit_common() argument
[all...]
/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_init.c123 struct sk_buff *, in ath9k_htc_connect_svc() argument
/linux/drivers/net/ethernet/sis/
H A Dsis190.c532 struct sk_buff **sk_buff, int pkt_size, in sis190_try_rx_copy() argument
787 sis190_free_rx_skb(struct sis190_private * tp,struct sk_buff ** sk_buff,struct RxDesc * desc) sis190_free_rx_skb() argument
[all...]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwsignal.c663 brcmf_fws_hanger_cleanup(struct brcmf_fws_info * fws,bool (* fn)(struct sk_buff *,void *),int ifidx) brcmf_fws_hanger_cleanup() argument
807 brcmf_fws_bus_txq_cleanup(struct brcmf_fws_info * fws,bool (* fn)(struct sk_buff *,void *),int ifidx) brcmf_fws_bus_txq_cleanup() argument
[all...]

12