Home
last modified time | relevance | path

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

/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.h175 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init()
235 struct sock *sk, struct sk_buff *skb, in nf_hook()
307 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
319 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
332 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK_LIST()
418 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
426 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK()
435 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK_LIST()
441 struct sock *sk, struct sk_buff *skb, in nf_hook()
/linux/net/core/
H A Dfilter.c180 BPF_CALL_1(bpf_skb_get_pay_offset, struct sk_buff *, skb) in BPF_CALL_1()
185 BPF_CALL_3(bpf_skb_get_nlattr, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3()
205 BPF_CALL_3(bpf_skb_get_nlattr_nest, struct sk_buff *, skb, u32, a, u32, x) in BPF_CALL_3()
243 BPF_CALL_4(bpf_skb_load_helper_8, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
261 BPF_CALL_2(bpf_skb_load_helper_8_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
268 BPF_CALL_4(bpf_skb_load_helper_16, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
286 BPF_CALL_2(bpf_skb_load_helper_16_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
293 BPF_CALL_4(bpf_skb_load_helper_32, const struct sk_buff *, skb, const void *, in BPF_CALL_4()
311 BPF_CALL_2(bpf_skb_load_helper_32_no_cache, const struct sk_buff *, skb, in BPF_CALL_2()
1718 BPF_CALL_5(bpf_skb_store_bytes, struct sk_buff *, skb, u32, offset, in BPF_CALL_5()
[all …]
H A Dsock_map.c647 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4()
1253 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.c27 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.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
/linux/net/xfrm/
H A Dxfrm_input.c812 int xfrm_trans_queue_net(struct net *net, struct sk_buff *skb, in xfrm_trans_queue_net()
840 int xfrm_trans_queue(struct sk_buff *skb, in xfrm_trans_queue()
/linux/net/ipv6/
H A Dnetfilter.c112 int br_ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_ip6_fragment()
H A Dip6_output.c887 int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in ip6_fragment()
/linux/net/batman-adv/
H A Dmain.c608 batadv_recv_handler_register(u8 packet_type,int (* recv_handler)(struct sk_buff *,struct batadv_hard_iface *)) 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()
/linux/net/bridge/
H A Dbr_netfilter_hooks.c809 br_nf_ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_nf_ip_fragment()
1124 struct sock *sk, struct sk_buff *skb, in br_nf_hook_thresh()
/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.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/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()
/linux/net/netlink/
H A Daf_netlink.c2530 int netlink_rcv_skb(struct sk_buff *skb, int (*cb)(struct sk_buff *, in netlink_rcv_skb()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c734 static void bnx2x_gro_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_gro_csum()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c4455 void (*rx_fn)(struct hns3_enet_ring *, struct sk_buff *)) in hns3_clean_rx_ring()
/linux/net/sctp/
H A Dsocket.c194 void (*cb)(struct sk_buff *, struct sock *)) in sctp_for_each_rx_skb()
/linux/kernel/bpf/
H A Dverifier.c5854 BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { in BTF_TYPE_SAFE_RCU_OR_NULL()