Home
last modified time | relevance | path

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

12345678

/include/linux/
Dskbuff.h1102 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc()
1120 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
1139 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
1155 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
1166 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
1175 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
1193 static inline unsigned int skb_napi_id(const struct sk_buff *skb) in skb_napi_id()
1202 static inline bool skb_wifi_acked_valid(const struct sk_buff *skb) in skb_wifi_acked_valid()
1217 static inline bool skb_unref(struct sk_buff *skb) in skb_unref()
1236 static inline void kfree_skb(struct sk_buff *skb) in kfree_skb()
[all …]
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()
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()
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()
85 static inline struct sk_buff *nf_hook_egress(struct sk_buff *skb, int *rc, in nf_hook_egress()
126 static inline struct sk_buff *nf_hook_egress(struct sk_buff *skb, int *rc, in nf_hook_egress()
133 static inline void nf_skip_egress(struct sk_buff *skb, bool skip) in nf_skip_egress()
Dvirtio_vsock.h17 #define VIRTIO_VSOCK_SKB_CB(skb) ((struct virtio_vsock_skb_cb *)((skb)->cb)) argument
19 static inline struct virtio_vsock_hdr *virtio_vsock_hdr(struct sk_buff *skb) in virtio_vsock_hdr()
24 static inline bool virtio_vsock_skb_reply(struct sk_buff *skb) in virtio_vsock_skb_reply()
29 static inline void virtio_vsock_skb_set_reply(struct sk_buff *skb) in virtio_vsock_skb_set_reply()
34 static inline bool virtio_vsock_skb_tap_delivered(struct sk_buff *skb) in virtio_vsock_skb_tap_delivered()
39 static inline void virtio_vsock_skb_set_tap_delivered(struct sk_buff *skb) in virtio_vsock_skb_set_tap_delivered()
44 static inline void virtio_vsock_skb_clear_tap_delivered(struct sk_buff *skb) in virtio_vsock_skb_clear_tap_delivered()
49 static inline void virtio_vsock_skb_rx_put(struct sk_buff *skb) in virtio_vsock_skb_rx_put()
61 struct sk_buff *skb; in virtio_vsock_alloc_skb() local
75 virtio_vsock_skb_queue_head(struct sk_buff_head *list, struct sk_buff *skb) in virtio_vsock_skb_queue_head()
[all …]
Dif_vlan.h60 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr()
68 static inline struct vlan_ethhdr *skb_vlan_eth_hdr(const struct sk_buff *skb) in skb_vlan_eth_hdr()
278 static inline bool vlan_do_receive(struct sk_buff **skb) in vlan_do_receive()
348 static inline int __vlan_insert_inner_tag(struct sk_buff *skb, in __vlan_insert_inner_tag()
397 static inline int __vlan_insert_tag(struct sk_buff *skb, in __vlan_insert_tag()
418 static inline struct sk_buff *vlan_insert_inner_tag(struct sk_buff *skb, in vlan_insert_inner_tag()
447 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, in vlan_insert_tag()
465 static inline struct sk_buff *vlan_insert_tag_set_proto(struct sk_buff *skb, in vlan_insert_tag_set_proto()
481 static inline void __vlan_hwaccel_clear_tag(struct sk_buff *skb) in __vlan_hwaccel_clear_tag()
507 static inline struct sk_buff *__vlan_hwaccel_push_inside(struct sk_buff *skb) in __vlan_hwaccel_push_inside()
[all …]
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()
Dif_ether.h22 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) in eth_hdr()
30 static inline struct ethhdr *skb_eth_hdr(const struct sk_buff *skb) in skb_eth_hdr()
35 static inline struct ethhdr *inner_eth_hdr(const struct sk_buff *skb) in inner_eth_hdr()
/include/net/
Dgro.h100 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb) argument
103 static inline int gro_recursion_inc_test(struct sk_buff *skb) in gro_recursion_inc_test()
111 struct sk_buff *skb) in call_gro_receive()
126 struct sk_buff *skb) in call_gro_receive_sk()
136 static inline unsigned int skb_gro_offset(const struct sk_buff *skb) in skb_gro_offset()
141 static inline unsigned int skb_gro_len(const struct sk_buff *skb) in skb_gro_len()
146 static inline void skb_gro_pull(struct sk_buff *skb, unsigned int len) in skb_gro_pull()
151 static inline void *skb_gro_header_fast(struct sk_buff *skb, in skb_gro_header_fast()
157 static inline int skb_gro_header_hard(struct sk_buff *skb, unsigned int hlen) in skb_gro_header_hard()
162 static inline void skb_gro_frag0_invalidate(struct sk_buff *skb) in skb_gro_frag0_invalidate()
[all …]
Dudp.h111 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) in __udp_lib_checksum_complete()
118 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
130 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
140 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
160 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
207 static inline __be16 udp_flow_src_port(struct net *net, struct sk_buff *skb, in udp_flow_src_port()
341 static inline struct udp_dev_scratch *udp_skb_scratch(struct sk_buff *skb) in udp_skb_scratch()
347 static inline unsigned int udp_skb_len(struct sk_buff *skb) in udp_skb_len()
352 static inline bool udp_skb_csum_unnecessary(struct sk_buff *skb) in udp_skb_csum_unnecessary()
357 static inline bool udp_skb_is_linear(struct sk_buff *skb) in udp_skb_is_linear()
[all …]
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()
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()
Dnetlink.h939 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put()
958 static inline void *nlmsg_append(struct sk_buff *skb, u32 size) in nlmsg_append()
980 static inline struct nlmsghdr *nlmsg_put_answer(struct sk_buff *skb, in nlmsg_put_answer()
1011 static inline void nlmsg_end(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_end()
1022 static inline void *nlmsg_get_pos(struct sk_buff *skb) in nlmsg_get_pos()
1034 static inline void nlmsg_trim(struct sk_buff *skb, const void *mark) in nlmsg_trim()
1050 static inline void nlmsg_cancel(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_cancel()
1059 static inline void nlmsg_free(struct sk_buff *skb) in nlmsg_free()
1072 static inline int nlmsg_multicast(struct sock *sk, struct sk_buff *skb, in nlmsg_multicast()
1092 static inline int nlmsg_unicast(struct sock *sk, struct sk_buff *skb, u32 portid) in nlmsg_unicast()
[all …]
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
Dl3mdev.h165 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv()
182 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
188 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
194 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out()
211 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
217 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
279 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
285 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
291 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
297 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
Dtc_wrapper.h46 static inline int tc_act(struct sk_buff *skb, const struct tc_action *a, in tc_act()
157 static inline int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tc_classify()
218 static inline int tc_act(struct sk_buff *skb, const struct tc_action *a, in tc_act()
224 static inline int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tc_classify()
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()
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()
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()
Dllc_pdu.h206 static inline struct llc_pdu_sn *llc_pdu_sn_hdr(struct sk_buff *skb) in llc_pdu_sn_hdr()
218 static inline struct llc_pdu_un *llc_pdu_un_hdr(struct sk_buff *skb) in llc_pdu_un_hdr()
233 static inline void llc_pdu_header_init(struct sk_buff *skb, u8 type, in llc_pdu_header_init()
263 static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa) in llc_pdu_decode_sa()
275 static inline void llc_pdu_decode_da(struct sk_buff *skb, u8 *da) in llc_pdu_decode_da()
288 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap()
301 static inline void llc_pdu_decode_dsap(struct sk_buff *skb, u8 *dsap) in llc_pdu_decode_dsap()
312 static inline void llc_pdu_init_as_ui_cmd(struct sk_buff *skb) in llc_pdu_init_as_ui_cmd()
326 static inline void llc_pdu_init_as_test_cmd(struct sk_buff *skb) in llc_pdu_init_as_test_cmd()
342 static inline void llc_pdu_init_as_test_rsp(struct sk_buff *skb, in llc_pdu_init_as_test_rsp()
[all …]
Dip6_checksum.h39 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) in ip6_compute_pseudo()
54 static inline void __tcp_v6_send_check(struct sk_buff *skb, in __tcp_v6_send_check()
65 static inline void tcp_v6_gso_csum_prep(struct sk_buff *skb) in tcp_v6_gso_csum_prep()
Dseg6.h17 static inline void update_csum_diff4(struct sk_buff *skb, __be32 from, in update_csum_diff4()
25 static inline void update_csum_diff16(struct sk_buff *skb, __be32 *from, in update_csum_diff16()
73 static inline const struct in6_addr *seg6_get_daddr(struct sk_buff *skb, in seg6_get_daddr()
/include/linux/can/
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/
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/
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()

12345678