Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dkfree_skb.c39 struct sk_buff { struct
58 * TP_PROTO(struct sk_buff *skb, void *location), argument
Dfexit_bpf2bpf_simple.c7 struct sk_buff { struct
14 int BPF_PROG(test_main2, struct sk_buff *skb, int ret) in BPF_PROG() argument
Dfexit_bpf2bpf.c12 struct sk_buff { struct
18 int BPF_PROG(test_main, struct sk_buff *skb, int ret) in BPF_PROG() argument
/linux-6.6.21/include/linux/
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()
Dskbuff.h842 struct sk_buff { struct
846 struct sk_buff *next; argument
883 void (*destructor)(struct sk_buff *skb); argument
910 #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset) argument
913 __u8 __cloned_offset[0];
915 __u8 cloned:1,
916 nohdr:1,
917 fclone:2,
918 peeked:1,
919 head_frag:1,
[all …]
Dnetfilter_ipv6.h126 struct sk_buff *skb, in nf_br_ip6_fragment()
/linux-6.6.21/net/core/
Dfilter.c165 BPF_CALL_1(bpf_skb_get_pay_offset, struct sk_buff *, skb) in BPF_CALL_1()
170 BPF_CALL_3(bpf_skb_get_nlattr, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3()
190 BPF_CALL_3(bpf_skb_get_nlattr_nest, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3()
214 BPF_CALL_4(bpf_skb_load_helper_8, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
234 BPF_CALL_2(bpf_skb_load_helper_8_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
241 BPF_CALL_4(bpf_skb_load_helper_16, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
261 BPF_CALL_2(bpf_skb_load_helper_16_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
268 BPF_CALL_4(bpf_skb_load_helper_32, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
288 BPF_CALL_2(bpf_skb_load_helper_32_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
1689 BPF_CALL_5(bpf_skb_store_bytes, struct sk_buff *, skb, u32, offset, in BPF_CALL_5()
[all …]
Dsock_map.c636 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4()
1237 BPF_CALL_4(bpf_sk_redirect_hash, struct sk_buff *, skb, in BPF_CALL_4()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmutil/
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-6.6.21/net/bridge/netfilter/
Dnf_conntrack_bridge.c28 struct sk_buff *skb, in nf_br_ip_fragment()
332 nf_ct_bridge_refrag(struct sk_buff *skb, const struct nf_hook_state *state, in nf_ct_bridge_refrag()
/linux-6.6.21/net/802/
Dpsnap.c123 int (*rcvfunc)(struct sk_buff *, in register_snap_client()
/linux-6.6.21/net/can/
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-6.6.21/net/xfrm/
Dxfrm_input.c761 int xfrm_trans_queue_net(struct net *net, struct sk_buff *skb, in xfrm_trans_queue_net()
784 int xfrm_trans_queue(struct sk_buff *skb, in xfrm_trans_queue()
/linux-6.6.21/net/ipv6/
Dnetfilter.c122 int br_ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_ip6_fragment()
Daddrconf_core.c194 static int eafnosupport_ipv6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in eafnosupport_ipv6_fragment()
/linux-6.6.21/net/batman-adv/
Dmain.c558 int (*recv_handler)(struct sk_buff *, in batadv_recv_handler_register()
/linux-6.6.21/drivers/infiniband/core/
Dnetlink.c207 static int rdma_nl_rcv_skb(struct sk_buff *skb, int (*cb)(struct sk_buff *, in rdma_nl_rcv_skb()
/linux-6.6.21/net/bridge/
Dbr_netfilter_hooks.c814 br_nf_ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_nf_ip_fragment()
1129 struct sock *sk, struct sk_buff *skb, in br_nf_hook_thresh()
/linux-6.6.21/net/caif/
Dcaif_dev.c314 int (**rcv_func)(struct sk_buff *, struct net_device *, in caif_enroll_dev()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c564 bool (*cmd_send_packet)(struct ieee80211_hw *, struct sk_buff *)) in rtl92c_set_fw_rsvdpagepkt()
/linux-6.6.21/net/ipv4/
Dip_output.c575 static int ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in ip_fragment()
760 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in ip_do_fragment()
/linux-6.6.21/drivers/net/ethernet/sun/
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-6.6.21/drivers/net/wireless/intersil/hostap/
Dhostap_main.c235 void (*func)(struct sk_buff *, int ok, void *), in hostap_tx_callback_register() argument
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dhtc_drv_init.c123 struct sk_buff *, in ath9k_htc_connect_svc()
/linux-6.6.21/drivers/net/ethernet/sis/
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