Home
last modified time | relevance | path

Searched defs:sk_buff (Results 1 – 25 of 33) 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 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.h164 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init()
224 struct sock *sk, struct sk_buff *skb, in nf_hook()
296 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
308 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
321 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK_LIST()
411 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
419 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK()
428 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK_LIST()
434 struct sock *sk, struct sk_buff *skb, in nf_hook()
H A Dskbuff.h859 struct sk_buff { struct
863 struct sk_buff *next; argument
897 void (*destructor)(struct sk_buff *skb); argument
924 #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset) argument
927 __u8 __cloned_offset[0];
929 __u8 cloned:1,
930 nohdr:1,
931 fclone:2,
932 peeked:1,
933 head_frag:1,
[all …]
H A Dnetfilter_ipv6.h126 struct sk_buff *skb, in nf_br_ip6_fragment()
/linux/net/core/
H A Dfilter.c171 BPF_CALL_1(bpf_skb_get_pay_offset, struct sk_buff *, skb) in BPF_CALL_1()
176 BPF_CALL_3(bpf_skb_get_nlattr, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3()
196 BPF_CALL_3(bpf_skb_get_nlattr_nest, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3()
220 BPF_CALL_4(bpf_skb_load_helper_8, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
240 BPF_CALL_2(bpf_skb_load_helper_8_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
247 BPF_CALL_4(bpf_skb_load_helper_16, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
267 BPF_CALL_2(bpf_skb_load_helper_16_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
274 BPF_CALL_4(bpf_skb_load_helper_32, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
294 BPF_CALL_2(bpf_skb_load_helper_32_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
1697 BPF_CALL_5(bpf_skb_store_bytes, struct sk_buff *, skb, u32, offset, in BPF_CALL_5()
[all …]
H A Dsock_map.c651 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4()
1255 BPF_CALL_4(bpf_sk_redirect_hash, struct sk_buff *, skb, in BPF_CALL_4()
/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()
/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()
/linux/net/802/
H A Dpsnap.c123 int (*rcvfunc)(struct sk_buff *, in register_snap_client()
/linux/net/can/
H A Daf_can.c442 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_register() argument
511 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_unregister() argument
/linux/net/xfrm/
H A Dxfrm_input.c779 int xfrm_trans_queue_net(struct net *net, struct sk_buff *skb, in xfrm_trans_queue_net()
802 int xfrm_trans_queue(struct sk_buff *skb, in xfrm_trans_queue()
/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()
/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()
/linux/net/batman-adv/
H A Dmain.c561 int (*recv_handler)(struct sk_buff *, in batadv_recv_handler_register()
/linux/net/bridge/
H A Dbr_netfilter_hooks.c823 br_nf_ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_nf_ip_fragment()
1132 struct sock *sk, struct sk_buff *skb, in br_nf_hook_thresh()
/linux/net/caif/
H A Dcaif_dev.c315 int (**rcv_func)(struct sk_buff *, struct net_device *, in caif_enroll_dev()
/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()
/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()
/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()
/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_init.c123 struct sk_buff *, in ath9k_htc_connect_svc()
/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()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwsignal.c663 bool (*fn)(struct sk_buff *, void *), in brcmf_fws_hanger_cleanup()
807 bool (*fn)(struct sk_buff *, void *), in brcmf_fws_bus_txq_cleanup()

12