Home
last modified time | relevance | path

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

12345678

/include/linux/
A Dskbuff.h1365 const struct sk_buff *skb) in skb_fclone_busy()
1571 const struct sk_buff *skb, in skb_flow_dissect_flow_keys_basic()
1903 const struct sk_buff *skb) in skb_queue_is_last()
1916 const struct sk_buff *skb) in skb_queue_is_first()
1930 const struct sk_buff *skb) in skb_queue_next()
1948 const struct sk_buff *skb) in skb_queue_prev()
2148 struct sk_buff *skb = list_->next; in skb_peek() local
3375 struct sk_buff *skb; in __skb_queue_purge_reason() local
3569 struct sk_buff *skb) in skb_propagate_pfmemalloc()
4085 #define skb_queue_walk(queue, skb) \ argument
[all …]
A Dnetfilter_bridge.h19 static inline void br_drop_fake_rtable(struct sk_buff *skb) in br_drop_fake_rtable()
28 nf_bridge_info_get(const struct sk_buff *skb) in nf_bridge_info_get()
33 static inline bool nf_bridge_info_exists(const struct sk_buff *skb) in nf_bridge_info_exists()
38 static inline int nf_bridge_get_physinif(const struct sk_buff *skb) in nf_bridge_get_physinif()
48 static inline int nf_bridge_get_physoutif(const struct sk_buff *skb) in nf_bridge_get_physoutif()
59 nf_bridge_get_physindev(const struct sk_buff *skb, struct net *net) in nf_bridge_get_physindev()
67 nf_bridge_get_physoutdev(const struct sk_buff *skb) in nf_bridge_get_physoutdev()
74 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
81 #define br_drop_fake_rtable(skb) do { } while (0) argument
82 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
A Dip.h19 static inline struct iphdr *ip_hdr(const struct sk_buff *skb) in ip_hdr()
24 static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb) in inner_ip_hdr()
29 static inline struct iphdr *ipip_hdr(const struct sk_buff *skb) in ipip_hdr()
34 static inline unsigned int ip_transport_len(const struct sk_buff *skb) in ip_transport_len()
39 static inline unsigned int iph_totlen(const struct sk_buff *skb, const struct iphdr *iph) in iph_totlen()
47 static inline unsigned int skb_ip_totlen(const struct sk_buff *skb) in skb_ip_totlen()
A Dnetfilter_netdev.h9 static inline bool nf_hook_ingress_active(const struct sk_buff *skb) in nf_hook_ingress_active()
19 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
42 static inline int nf_hook_ingress_active(struct sk_buff *skb) in nf_hook_ingress_active()
47 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
86 static inline struct sk_buff *nf_hook_egress(struct sk_buff *skb, int *rc, in nf_hook_egress()
127 static inline struct sk_buff *nf_hook_egress(struct sk_buff *skb, int *rc, in nf_hook_egress()
134 static inline void nf_skip_egress(struct sk_buff *skb, bool skip) in nf_skip_egress()
A Dif_vlan.h284 static inline bool vlan_do_receive(struct sk_buff **skb) in vlan_do_receive()
354 static inline int __vlan_insert_inner_tag(struct sk_buff *skb, in __vlan_insert_inner_tag()
403 static inline int __vlan_insert_tag(struct sk_buff *skb, in __vlan_insert_tag()
457 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, in vlan_insert_tag()
493 static inline void __vlan_hwaccel_clear_tag(struct sk_buff *skb) in __vlan_hwaccel_clear_tag()
536 static inline void __vlan_hwaccel_put_tag(struct sk_buff *skb, in __vlan_hwaccel_put_tag()
568 static inline int __vlan_hwaccel_get_tag(const struct sk_buff *skb, in __vlan_hwaccel_get_tag()
657 static inline __be16 vlan_get_protocol(const struct sk_buff *skb) in vlan_get_protocol()
693 static inline void vlan_set_encap_proto(struct sk_buff *skb, in vlan_set_encap_proto()
755 static inline bool skb_vlan_tagged(const struct sk_buff *skb) in skb_vlan_tagged()
[all …]
A Dvirtio_vsock.h18 #define VIRTIO_VSOCK_SKB_CB(skb) ((struct virtio_vsock_skb_cb *)((skb)->cb)) argument
20 static inline struct virtio_vsock_hdr *virtio_vsock_hdr(struct sk_buff *skb) in virtio_vsock_hdr()
25 static inline bool virtio_vsock_skb_reply(struct sk_buff *skb) in virtio_vsock_skb_reply()
30 static inline void virtio_vsock_skb_set_reply(struct sk_buff *skb) in virtio_vsock_skb_set_reply()
35 static inline bool virtio_vsock_skb_tap_delivered(struct sk_buff *skb) in virtio_vsock_skb_tap_delivered()
40 static inline void virtio_vsock_skb_set_tap_delivered(struct sk_buff *skb) in virtio_vsock_skb_set_tap_delivered()
45 static inline void virtio_vsock_skb_clear_tap_delivered(struct sk_buff *skb) in virtio_vsock_skb_clear_tap_delivered()
50 static inline void virtio_vsock_skb_put(struct sk_buff *skb, u32 len) in virtio_vsock_skb_put()
65 struct sk_buff *skb; in __virtio_vsock_alloc_skb_with_frags() local
112 struct sk_buff *skb; in virtio_vsock_skb_dequeue() local
[all …]
A Dicmpv6.h9 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) in icmp6_hdr()
25 static inline void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, in __icmpv6_send()
47 static inline void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) in icmpv6_send()
67 static inline void icmpv6_send(struct sk_buff *skb, in icmpv6_send()
72 static inline void icmpv6_ndo_send(struct sk_buff *skb, in icmpv6_ndo_send()
93 static inline void icmpv6_param_prob(struct sk_buff *skb, u8 code, int pos) in icmpv6_param_prob()
A Dvirtio_net.h28 static inline int virtio_net_hdr_set_proto(struct sk_buff *skb, in virtio_net_hdr_set_proto()
50 static inline int __virtio_net_hdr_to_skb(struct sk_buff *skb, in __virtio_net_hdr_to_skb()
203 static inline int virtio_net_hdr_to_skb(struct sk_buff *skb, in virtio_net_hdr_to_skb()
210 static inline int virtio_net_hdr_from_skb(const struct sk_buff *skb, in virtio_net_hdr_from_skb()
259 virtio_net_hdr_tnl_to_skb(struct sk_buff *skb, in virtio_net_hdr_tnl_to_skb()
348 static inline int virtio_net_handle_csum_offload(struct sk_buff *skb, in virtio_net_handle_csum_offload()
383 virtio_net_hdr_tnl_from_skb(const struct sk_buff *skb, in virtio_net_hdr_tnl_from_skb()
A Dif_ether.h25 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) in eth_hdr()
33 static inline struct ethhdr *skb_eth_hdr(const struct sk_buff *skb) in skb_eth_hdr()
38 static inline struct ethhdr *inner_eth_hdr(const struct sk_buff *skb) in inner_eth_hdr()
/include/net/
A Dgro.h103 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb) argument
106 static inline int gro_recursion_inc_test(struct sk_buff *skb) in gro_recursion_inc_test()
144 static inline unsigned int skb_gro_len(const struct sk_buff *skb) in skb_gro_len()
154 static inline void *skb_gro_header_fast(const struct sk_buff *skb, in skb_gro_header_fast()
160 static inline bool skb_gro_may_pull(const struct sk_buff *skb, in skb_gro_may_pull()
208 static inline void skb_gro_postpull_rcsum(struct sk_buff *skb, in skb_gro_postpull_rcsum()
223 static inline bool skb_at_gro_remcsum_start(struct sk_buff *skb) in skb_at_gro_remcsum_start()
278 #define skb_gro_checksum_validate(skb, proto, compute_pseudo) \ argument
285 #define skb_gro_checksum_simple_validate(skb) \ argument
351 static inline void skb_gro_remcsum_cleanup(struct sk_buff *skb, in skb_gro_remcsum_cleanup()
[all …]
A Dgso.h24 #define SKB_GSO_CB(skb) ((struct skb_gso_cb *)((skb)->cb + SKB_GSO_CB_OFFSET)) argument
32 static inline int gso_pskb_expand_head(struct sk_buff *skb, int extra) in gso_pskb_expand_head()
47 static inline void gso_reset_checksum(struct sk_buff *skb, __wsum res) in gso_reset_checksum()
65 static inline __sum16 gso_make_checksum(struct sk_buff *skb, __wsum res) in gso_make_checksum()
80 static inline struct sk_buff *skb_gso_segment(struct sk_buff *skb, in skb_gso_segment()
96 static inline void skb_gso_error_unwind(struct sk_buff *skb, __be16 protocol, in skb_gso_error_unwind()
A Dinet_ecn.h134 static inline int IP6_ECN_set_ce(struct sk_buff *skb, struct ipv6hdr *iph) in IP6_ECN_set_ce()
150 static inline int IP6_ECN_set_ect1(struct sk_buff *skb, struct ipv6hdr *iph) in IP6_ECN_set_ect1()
172 static inline int INET_ECN_set_ce(struct sk_buff *skb) in INET_ECN_set_ce()
191 static inline int skb_get_dsfield(struct sk_buff *skb) in skb_get_dsfield()
208 static inline int INET_ECN_set_ect1(struct sk_buff *skb) in INET_ECN_set_ect1()
269 static inline int INET_ECN_decapsulate(struct sk_buff *skb, in INET_ECN_decapsulate()
287 struct sk_buff *skb) in IP_ECN_decapsulate()
306 struct sk_buff *skb) in IP6_ECN_decapsulate()
A Dnetlink.h1014 static inline void *nlmsg_append(struct sk_buff *skb, u32 size) in nlmsg_append()
1036 static inline struct nlmsghdr *nlmsg_put_answer(struct sk_buff *skb, in nlmsg_put_answer()
1092 static inline void *nlmsg_get_pos(struct sk_buff *skb) in nlmsg_get_pos()
1104 static inline void nlmsg_trim(struct sk_buff *skb, const void *mark) in nlmsg_trim()
1129 static inline void nlmsg_free(struct sk_buff *skb) in nlmsg_free()
1138 static inline void nlmsg_consume(struct sk_buff *skb) in nlmsg_consume()
1654 static inline int nla_put_string(struct sk_buff *skb, int attrtype, in nla_put_string()
1665 static inline int nla_put_flag(struct sk_buff *skb, int attrtype) in nla_put_flag()
1677 static inline int nla_put_msecs(struct sk_buff *skb, int attrtype, in nla_put_msecs()
2342 static inline bool nla_need_padding_for_64bit(struct sk_buff *skb) in nla_need_padding_for_64bit()
[all …]
A Dudp.h227 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
249 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
269 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
474 static inline unsigned int udp_skb_len(struct sk_buff *skb) in udp_skb_len()
479 static inline bool udp_skb_csum_unnecessary(struct sk_buff *skb) in udp_skb_csum_unnecessary()
484 static inline bool udp_skb_is_linear(struct sk_buff *skb) in udp_skb_is_linear()
490 static inline unsigned int udp_skb_len(struct sk_buff *skb) in udp_skb_len()
495 static inline bool udp_skb_csum_unnecessary(struct sk_buff *skb) in udp_skb_csum_unnecessary()
500 static inline bool udp_skb_is_linear(struct sk_buff *skb) in udp_skb_is_linear()
585 struct sk_buff *skb, bool ipv4) in udp_rcv_segment()
[all …]
A Dfq_impl.h42 struct sk_buff *skb) in fq_adjust_removal()
50 struct sk_buff *skb; in fq_flow_dequeue() local
68 struct sk_buff *skb; in fq_flow_drop() local
96 struct sk_buff *skb; in fq_tin_dequeue() local
137 static u32 fq_flow_idx(struct fq *fq, struct sk_buff *skb) in fq_flow_idx()
146 struct sk_buff *skb) in fq_flow_classify()
199 struct sk_buff *skb, in fq_tin_enqueue()
259 struct sk_buff *skb, *tmp; in fq_flow_filter() local
294 struct sk_buff *skb; in fq_flow_reset() local
A Dl3mdev.h179 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv()
196 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
202 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
208 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out()
227 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
233 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
295 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
301 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
307 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
313 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
A Ddst.h272 static inline void skb_dst_drop(struct sk_buff *skb) in skb_dst_drop()
312 static inline bool skb_dst_force(struct sk_buff *skb) in skb_dst_force()
371 static inline u32 dst_tclassid(const struct sk_buff *skb) in dst_tclassid()
384 static inline int dst_discard(struct sk_buff *skb) in dst_discard()
406 struct sk_buff *skb) in dst_neigh_lookup_skb()
425 static inline void dst_link_failure(struct sk_buff *skb) in dst_link_failure()
446 struct sk_buff *skb) in dst_dev_overhead()
469 static inline int dst_input(struct sk_buff *skb) in dst_input()
549 static inline void skb_dst_update_pmtu(struct sk_buff *skb, u32 mtu) in skb_dst_update_pmtu()
578 static inline struct net_device *skb_dst_dev(const struct sk_buff *skb) in skb_dst_dev()
[all …]
A Dtc_wrapper.h46 static inline int tc_act(struct sk_buff *skb, const struct tc_action *a, in tc_act()
153 static inline int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tc_classify()
214 static inline int tc_act(struct sk_buff *skb, const struct tc_action *a, in tc_act()
220 static inline int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tc_classify()
A Ddst_metadata.h43 static inline struct metadata_dst *skb_metadata_dst(const struct sk_buff *skb) in skb_metadata_dst()
54 skb_tunnel_info(const struct sk_buff *skb) in skb_tunnel_info()
76 static inline struct xfrm_md_info *skb_xfrm_md_info(const struct sk_buff *skb) in skb_xfrm_md_info()
92 static inline bool skb_valid_dst(const struct sk_buff *skb) in skb_valid_dst()
152 static inline struct metadata_dst *tun_dst_unclone(struct sk_buff *skb) in tun_dst_unclone()
186 static inline struct ip_tunnel_info *skb_tunnel_info_unclone(struct sk_buff *skb) in skb_tunnel_info_unclone()
217 static inline struct metadata_dst *ip_tun_rx_dst(struct sk_buff *skb, in ip_tun_rx_dst()
261 static inline struct metadata_dst *ipv6_tun_rx_dst(struct sk_buff *skb, in ipv6_tun_rx_dst()
A Dcodel_qdisc.h61 static struct codel_skb_cb *get_codel_cb(const struct sk_buff *skb) in get_codel_cb()
67 static codel_time_t codel_get_enqueue_time(const struct sk_buff *skb) in codel_get_enqueue_time()
72 static void codel_set_enqueue_time(struct sk_buff *skb) in codel_set_enqueue_time()
A Dbusy_poll.h130 static inline void __skb_mark_napi_id(struct sk_buff *skb, in __skb_mark_napi_id()
142 static inline void skb_mark_napi_id(struct sk_buff *skb, in skb_mark_napi_id()
149 static inline void sk_mark_napi_id(struct sock *sk, const struct sk_buff *skb) in sk_mark_napi_id()
163 const struct sk_buff *skb) in sk_mark_napi_id_set()
181 const struct sk_buff *skb) in sk_mark_napi_id_once()
A Dudplite.h22 int len, int odd, struct sk_buff *skb) in udplite_getfrag()
31 static inline int udplite_checksum_init(struct sk_buff *skb, struct udphdr *uh) in udplite_checksum_init()
67 static inline __wsum udplite_csum(struct sk_buff *skb) in udplite_csum()
/include/linux/can/
A Dskb.h63 static inline struct can_skb_priv *can_skb_prv(struct sk_buff *skb) in can_skb_prv()
68 static inline void can_skb_reserve(struct sk_buff *skb) in can_skb_reserve()
73 static inline void can_skb_set_owner(struct sk_buff *skb, struct sock *sk) in can_skb_set_owner()
89 static inline struct sk_buff *can_create_echo_skb(struct sk_buff *skb) in can_create_echo_skb()
104 static inline bool can_is_can_skb(const struct sk_buff *skb) in can_is_can_skb()
112 static inline bool can_is_canfd_skb(const struct sk_buff *skb) in can_is_canfd_skb()
120 static inline bool can_is_canxl_skb(const struct sk_buff *skb) in can_is_canxl_skb()
135 static inline unsigned int can_skb_get_len_val(struct sk_buff *skb) in can_skb_get_len_val()
147 static inline unsigned int can_skb_get_data_len(struct sk_buff *skb) in can_skb_get_data_len()
/include/net/netfilter/
A Dbr_netfilter.h9 static inline struct nf_bridge_info *nf_bridge_alloc(struct sk_buff *skb) in nf_bridge_alloc()
33 static inline void nf_bridge_push_encap_header(struct sk_buff *skb) in nf_bridge_push_encap_header()
64 static inline int br_validate_ipv6(struct net *net, struct sk_buff *skb) in br_validate_ipv6()
70 br_nf_pre_routing_ipv6(void *priv, struct sk_buff *skb, in br_nf_pre_routing_ipv6()
/include/net/phonet/
A Dphonet.h57 static inline struct phonethdr *pn_hdr(struct sk_buff *skb) in pn_hdr()
62 static inline struct phonetmsg *pn_msg(struct sk_buff *skb) in pn_msg()
72 void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_src_sockaddr()
84 void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_dst_sockaddr()

Completed in 66 milliseconds

12345678