Home
last modified time | relevance | path

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

12

/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-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()
Dnetfilter_ipv6.h126 struct sk_buff *skb, in nf_br_ip6_fragment()
/kernel/linux/linux-5.10/net/core/
Dfilter.c159 BPF_CALL_1(bpf_skb_get_pay_offset, struct sk_buff *, skb) in BPF_CALL_1()
164 BPF_CALL_3(bpf_skb_get_nlattr, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3()
184 BPF_CALL_3(bpf_skb_get_nlattr_nest, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3()
208 BPF_CALL_4(bpf_skb_load_helper_8, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
228 BPF_CALL_2(bpf_skb_load_helper_8_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
235 BPF_CALL_4(bpf_skb_load_helper_16, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
255 BPF_CALL_2(bpf_skb_load_helper_16_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
262 BPF_CALL_4(bpf_skb_load_helper_32, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
282 BPF_CALL_2(bpf_skb_load_helper_32_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
1684 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()
Dsock_map.c666 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4()
1279 BPF_CALL_4(bpf_sk_redirect_hash, struct sk_buff *, skb, in BPF_CALL_4()
/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-5.10/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-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()
Daddrconf_core.c194 static int eafnosupport_ipv6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in eafnosupport_ipv6_fragment()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/bridge/
Dbr_netfilter_hooks.c706 br_nf_ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_nf_ip_fragment()
1006 struct sock *sk, struct sk_buff *skb, in br_nf_hook_thresh()
/kernel/linux/linux-5.10/net/batman-adv/
Dmain.c602 int (*recv_handler)(struct sk_buff *, in batadv_recv_handler_register()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c564 bool (*cmd_send_packet)(struct ieee80211_hw *, struct sk_buff *)) in rtl92c_set_fw_rsvdpagepkt()
/kernel/linux/linux-5.10/net/caif/
Dcaif_dev.c314 int (**rcv_func)(struct sk_buff *, struct net_device *, in caif_enroll_dev()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunvnet_common.c1220 vnet_handle_offloads(struct vnet_port *port, struct sk_buff *skb, in vnet_handle_offloads()
1323 sunvnet_start_xmit_common(struct sk_buff *skb, struct net_device *dev, in sunvnet_start_xmit_common()
/kernel/linux/linux-5.10/net/ipv4/
Dip_output.c582 static int ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in ip_fragment()
768 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in ip_do_fragment()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_main.c235 void (*func)(struct sk_buff *, int ok, void *), in hostap_tx_callback_register() argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dhtc_drv_init.c123 struct sk_buff *, in ath9k_htc_connect_svc()

12