Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/include/linux/
Dskbuff.h716 struct sk_buff { struct
720 struct sk_buff *next; argument
756 void (*destructor)(struct sk_buff *skb); argument
780 #define CLONED_OFFSET() offsetof(struct sk_buff, __cloned_offset) argument
783 __u8 __cloned_offset[0];
807 #define PKT_TYPE_OFFSET() offsetof(struct sk_buff, __pkt_type_offset) argument
833 #define PKT_VLAN_PRESENT_OFFSET() offsetof(struct sk_buff, __pkt_vlan_present_offset) argument
835 __u8 __pkt_vlan_present_offset[0];
837 __u8 vlan_present:1;
838 __u8 csum_complete_sw:1;
[all …]
Dnetfilter.h146 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init()
206 struct sock *sk, struct sk_buff *skb, in nf_hook()
278 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
290 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
303 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK_LIST()
393 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
401 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK()
410 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK_LIST()
416 struct sock *sk, struct sk_buff *skb, in nf_hook()
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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()
1690 BPF_CALL_5(bpf_skb_store_bytes, struct sk_buff *, skb, u32, offset, in BPF_CALL_5()
[all …]
Dlowpower_protocol.c103 int (*fun)(struct net *, struct sock *, struct sk_buff *), in netfilter_bypass_enable()
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmutil/
Dutils.c142 bool (*fn)(struct sk_buff *, void *), void *arg) in brcmu_pktq_pflush()
159 bool (*fn)(struct sk_buff *, void *), void *arg) in brcmu_pktq_flush()
/kernel/linux/linux-5.10/net/bridge/netfilter/
Dnf_conntrack_bridge.c28 struct sk_buff *skb, in nf_br_ip_fragment()
307 nf_ct_bridge_refrag(struct sk_buff *skb, const struct nf_hook_state *state, in nf_ct_bridge_refrag()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/802/
Dpsnap.c123 int (*rcvfunc)(struct sk_buff *, in register_snap_client()
/kernel/linux/linux-6.6/net/802/
Dpsnap.c123 int (*rcvfunc)(struct sk_buff *, in register_snap_client()
/kernel/linux/linux-5.10/net/can/
Daf_can.c443 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_register() argument
513 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_unregister() argument
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_input.c777 int xfrm_trans_queue_net(struct net *net, struct sk_buff *skb, in xfrm_trans_queue_net()
798 int xfrm_trans_queue(struct sk_buff *skb, in xfrm_trans_queue()
/kernel/linux/linux-5.10/net/ipv6/
Dnetfilter.c117 int br_ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_ip6_fragment()
/kernel/linux/linux-6.6/net/ipv6/
Dnetfilter.c122 int br_ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_ip6_fragment()

123