Home
last modified time | relevance | path

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

123456

/include/linux/
Dskbuff.h820 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc()
838 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
857 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
872 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
882 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
887 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
947 const struct sk_buff *skb) in skb_fclone_busy()
976 static inline struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, in __pskb_copy()
1055 static inline void skb_clear_hash(struct sk_buff *skb) in skb_clear_hash()
1062 static inline void skb_clear_hash_if_not_l4(struct sk_buff *skb) in skb_clear_hash_if_not_l4()
[all …]
Dnetfilter_bridge.h22 static inline void br_drop_fake_rtable(struct sk_buff *skb) in br_drop_fake_rtable()
30 static inline int nf_bridge_get_physinif(const struct sk_buff *skb) in nf_bridge_get_physinif()
41 static inline int nf_bridge_get_physoutif(const struct sk_buff *skb) in nf_bridge_get_physoutif()
53 nf_bridge_get_physindev(const struct sk_buff *skb) in nf_bridge_get_physindev()
59 nf_bridge_get_physoutdev(const struct sk_buff *skb) in nf_bridge_get_physoutdev()
64 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
69 #define br_drop_fake_rtable(skb) do { } while (0) argument
70 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
Dnetfilter_ingress.h8 static inline bool nf_hook_ingress_active(const struct sk_buff *skb) in nf_hook_ingress_active()
18 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
40 static inline int nf_hook_ingress_active(struct sk_buff *skb) in nf_hook_ingress_active()
45 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
Dif_vlan.h61 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr()
239 static inline bool vlan_do_receive(struct sk_buff **skb) in vlan_do_receive()
313 static inline int __vlan_insert_tag(struct sk_buff *skb, in __vlan_insert_tag()
350 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, in vlan_insert_tag()
375 static inline struct sk_buff *vlan_insert_tag_set_proto(struct sk_buff *skb, in vlan_insert_tag_set_proto()
394 static inline struct sk_buff *__vlan_hwaccel_push_inside(struct sk_buff *skb) in __vlan_hwaccel_push_inside()
412 static inline struct sk_buff *vlan_hwaccel_push_inside(struct sk_buff *skb) in vlan_hwaccel_push_inside()
427 static inline void __vlan_hwaccel_put_tag(struct sk_buff *skb, in __vlan_hwaccel_put_tag()
441 static inline int __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) in __vlan_get_tag()
459 static inline int __vlan_hwaccel_get_tag(const struct sk_buff *skb, in __vlan_hwaccel_get_tag()
[all …]
Dip.h23 static inline struct iphdr *ip_hdr(const struct sk_buff *skb) in ip_hdr()
28 static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb) in inner_ip_hdr()
33 static inline struct iphdr *ipip_hdr(const struct sk_buff *skb) in ipip_hdr()
Dbpf-cgroup.h43 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk,skb) \ argument
53 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk,skb) \ argument
72 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk,skb) ({ 0; }) argument
73 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk,skb) ({ 0; }) argument
Dif_ether.h26 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) in eth_hdr()
31 static inline struct ethhdr *inner_eth_hdr(const struct sk_buff *skb) in inner_eth_hdr()
Dskb_array.h46 static inline int skb_array_produce(struct skb_array *a, struct sk_buff *skb) in skb_array_produce()
51 static inline int skb_array_produce_irq(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_irq()
56 static inline int skb_array_produce_bh(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_bh()
61 static inline int skb_array_produce_any(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_any()
115 static inline int __skb_array_len_with_tag(struct sk_buff *skb) in __skb_array_len_with_tag()
Dnetfilter.h167 struct sk_buff *skb, in nf_hook_thresh()
199 struct sock *sk, struct sk_buff *skb, in nf_hook()
225 struct sk_buff *skb, struct net_device *in, in NF_HOOK_THRESH()
238 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK_COND()
251 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
303 nf_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, in nf_checksum()
318 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_checksum_partial()
341 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) in nf_nat_decode_session()
357 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK_COND()
366 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK()
[all …]
/include/net/
Dnetlink.h457 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put()
477 static inline struct nlmsghdr *nlmsg_put_answer(struct sk_buff *skb, in nlmsg_put_answer()
508 static inline void nlmsg_end(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_end()
519 static inline void *nlmsg_get_pos(struct sk_buff *skb) in nlmsg_get_pos()
531 static inline void nlmsg_trim(struct sk_buff *skb, const void *mark) in nlmsg_trim()
547 static inline void nlmsg_cancel(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_cancel()
556 static inline void nlmsg_free(struct sk_buff *skb) in nlmsg_free()
569 static inline int nlmsg_multicast(struct sock *sk, struct sk_buff *skb, in nlmsg_multicast()
589 static inline int nlmsg_unicast(struct sock *sk, struct sk_buff *skb, u32 portid) in nlmsg_unicast()
757 static inline int nla_put_u8(struct sk_buff *skb, int attrtype, u8 value) in nla_put_u8()
[all …]
Dl3mdev.h139 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv()
155 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
161 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
167 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out()
184 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
190 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
241 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
247 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
253 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
259 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
Ddst_metadata.h15 static inline struct metadata_dst *skb_metadata_dst(struct sk_buff *skb) in skb_metadata_dst()
25 static inline struct ip_tunnel_info *skb_tunnel_info(struct sk_buff *skb) in skb_tunnel_info()
40 static inline bool skb_valid_dst(const struct sk_buff *skb) in skb_valid_dst()
82 static inline struct metadata_dst *tun_dst_unclone(struct sk_buff *skb) in tun_dst_unclone()
104 static inline struct ip_tunnel_info *skb_tunnel_info_unclone(struct sk_buff *skb) in skb_tunnel_info_unclone()
134 static inline struct metadata_dst *ip_tun_rx_dst(struct sk_buff *skb, in ip_tun_rx_dst()
177 static inline struct metadata_dst *ipv6_tun_rx_dst(struct sk_buff *skb, in ipv6_tun_rx_dst()
Dip6_checksum.h43 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) in ip6_compute_pseudo()
50 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) in ip6_gro_compute_pseudo()
66 static inline void __tcp_v6_send_check(struct sk_buff *skb, in __tcp_v6_send_check()
84 static inline void tcp_v6_send_check(struct sock *sk, struct sk_buff *skb) in tcp_v6_send_check()
Dcodel_qdisc.h58 static struct codel_skb_cb *get_codel_cb(const struct sk_buff *skb) in get_codel_cb()
64 static codel_time_t codel_get_enqueue_time(const struct sk_buff *skb) in codel_get_enqueue_time()
69 static void codel_set_enqueue_time(struct sk_buff *skb) in codel_set_enqueue_time()
Dudplite.h20 int len, int odd, struct sk_buff *skb) in udplite_getfrag()
36 static inline int udplite_checksum_init(struct sk_buff *skb, struct udphdr *uh) in udplite_checksum_init()
72 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udplite_csum_outgoing()
115 static inline __wsum udplite_csum(struct sk_buff *skb) in udplite_csum()
Dinet_ecn.h120 static inline int IP6_ECN_set_ce(struct sk_buff *skb, struct ipv6hdr *iph) in IP6_ECN_set_ce()
147 static inline int INET_ECN_set_ce(struct sk_buff *skb) in INET_ECN_set_ce()
190 static inline int INET_ECN_decapsulate(struct sk_buff *skb, in INET_ECN_decapsulate()
212 struct sk_buff *skb) in IP_ECN_decapsulate()
227 struct sk_buff *skb) in IP6_ECN_decapsulate()
Dfq_impl.h20 struct sk_buff *skb; in fq_flow_dequeue() local
56 struct sk_buff *skb; in fq_tin_dequeue() local
99 struct sk_buff *skb, in fq_flow_classify()
144 struct sk_buff *skb, in fq_tin_enqueue()
195 struct sk_buff *skb; in fq_flow_reset() local
Dbusy_poll.h78 static inline void skb_mark_napi_id(struct sk_buff *skb, in skb_mark_napi_id()
85 static inline void sk_mark_napi_id(struct sock *sk, struct sk_buff *skb) in sk_mark_napi_id()
106 static inline void skb_mark_napi_id(struct sk_buff *skb, in skb_mark_napi_id()
111 static inline void sk_mark_napi_id(struct sock *sk, struct sk_buff *skb) in sk_mark_napi_id()
Dllc_pdu.h203 static inline struct llc_pdu_sn *llc_pdu_sn_hdr(struct sk_buff *skb) in llc_pdu_sn_hdr()
215 static inline struct llc_pdu_un *llc_pdu_un_hdr(struct sk_buff *skb) in llc_pdu_un_hdr()
230 static inline void llc_pdu_header_init(struct sk_buff *skb, u8 type, in llc_pdu_header_init()
251 static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa) in llc_pdu_decode_sa()
264 static inline void llc_pdu_decode_da(struct sk_buff *skb, u8 *da) in llc_pdu_decode_da()
278 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap()
291 static inline void llc_pdu_decode_dsap(struct sk_buff *skb, u8 *dsap) in llc_pdu_decode_dsap()
302 static inline void llc_pdu_init_as_ui_cmd(struct sk_buff *skb) in llc_pdu_init_as_ui_cmd()
316 static inline void llc_pdu_init_as_test_cmd(struct sk_buff *skb) in llc_pdu_init_as_test_cmd()
332 static inline void llc_pdu_init_as_test_rsp(struct sk_buff *skb, in llc_pdu_init_as_test_rsp()
[all …]
Dsch_generic.h249 static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz) in qdisc_cb_private_validate()
262 static inline struct qdisc_skb_cb *qdisc_skb_cb(const struct sk_buff *skb) in qdisc_skb_cb()
412 static inline bool skb_at_tc_ingress(const struct sk_buff *skb) in skb_at_tc_ingress()
486 static inline unsigned int qdisc_pkt_len(const struct sk_buff *skb) in qdisc_pkt_len()
503 static inline void qdisc_calculate_pkt_len(struct sk_buff *skb, in qdisc_calculate_pkt_len()
514 static inline int qdisc_enqueue(struct sk_buff *skb, struct Qdisc *sch, in qdisc_enqueue()
534 const struct sk_buff *skb) in bstats_update()
550 const struct sk_buff *skb) in bstats_cpu_update()
558 const struct sk_buff *skb) in qdisc_bstats_cpu_update()
564 const struct sk_buff *skb) in qdisc_bstats_update()
[all …]
/include/net/netfilter/
Dbr_netfilter.h6 static inline struct nf_bridge_info *nf_bridge_alloc(struct sk_buff *skb) in nf_bridge_alloc()
25 nf_bridge_info_get(const struct sk_buff *skb) in nf_bridge_info_get()
32 static inline void nf_bridge_push_encap_header(struct sk_buff *skb) in nf_bridge_push_encap_header()
59 static inline int br_validate_ipv6(struct net *net, struct sk_buff *skb) in br_validate_ipv6()
65 br_nf_pre_routing_ipv6(const struct nf_hook_ops *ops, struct sk_buff *skb, in br_nf_pre_routing_ipv6()
Dnf_tables_ipv4.h9 struct sk_buff *skb, in nft_set_pktinfo_ipv4()
25 struct sk_buff *skb, in __nft_set_pktinfo_ipv4_validate()
56 struct sk_buff *skb, in nft_set_pktinfo_ipv4_validate()
Dnf_tables_ipv6.h9 struct sk_buff *skb, in nft_set_pktinfo_ipv6()
32 struct sk_buff *skb, in __nft_set_pktinfo_ipv6_validate()
72 struct sk_buff *skb, in nft_set_pktinfo_ipv6_validate()
/include/linux/can/
Dskb.h39 static inline struct can_skb_priv *can_skb_prv(struct sk_buff *skb) in can_skb_prv()
44 static inline void can_skb_reserve(struct sk_buff *skb) in can_skb_reserve()
49 static inline void can_skb_set_owner(struct sk_buff *skb, struct sock *sk) in can_skb_set_owner()
61 static inline struct sk_buff *can_create_echo_skb(struct sk_buff *skb) in can_create_echo_skb()
/include/net/phonet/
Dphonet.h66 static inline struct phonethdr *pn_hdr(struct sk_buff *skb) in pn_hdr()
71 static inline struct phonetmsg *pn_msg(struct sk_buff *skb) in pn_msg()
81 void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_src_sockaddr()
93 void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_dst_sockaddr()

123456