Home
last modified time | relevance | path

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

1234567

/include/linux/
Dskbuff.h902 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc()
920 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
939 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
954 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
964 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
973 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
991 static inline unsigned int skb_napi_id(const struct sk_buff *skb) in skb_napi_id()
1006 static inline bool skb_unref(struct sk_buff *skb) in skb_unref()
1078 const struct sk_buff *skb) in skb_fclone_busy()
1110 static inline struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, in __pskb_copy()
[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) 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()
Dnetfilter_ingress.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()
46 static inline int nf_hook_ingress_active(struct sk_buff *skb) in nf_hook_ingress_active()
51 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
Dif_vlan.h56 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr()
263 static inline bool vlan_do_receive(struct sk_buff **skb) in vlan_do_receive()
333 static inline int __vlan_insert_inner_tag(struct sk_buff *skb, in __vlan_insert_inner_tag()
381 static inline int __vlan_insert_tag(struct sk_buff *skb, in __vlan_insert_tag()
402 static inline struct sk_buff *vlan_insert_inner_tag(struct sk_buff *skb, in vlan_insert_inner_tag()
431 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, in vlan_insert_tag()
449 static inline struct sk_buff *vlan_insert_tag_set_proto(struct sk_buff *skb, in vlan_insert_tag_set_proto()
465 static inline void __vlan_hwaccel_clear_tag(struct sk_buff *skb) in __vlan_hwaccel_clear_tag()
493 static inline struct sk_buff *__vlan_hwaccel_push_inside(struct sk_buff *skb) in __vlan_hwaccel_push_inside()
510 static inline void __vlan_hwaccel_put_tag(struct sk_buff *skb, in __vlan_hwaccel_put_tag()
[all …]
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()
Dvirtio_net.h8 static inline int virtio_net_hdr_set_proto(struct sk_buff *skb, in virtio_net_hdr_set_proto()
26 static inline int virtio_net_hdr_to_skb(struct sk_buff *skb, in virtio_net_hdr_to_skb()
95 static inline int virtio_net_hdr_from_skb(const struct sk_buff *skb, in virtio_net_hdr_from_skb()
/include/net/
Dudp.h108 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) in __udp_lib_checksum_complete()
115 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
127 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
137 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
157 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
176 static inline struct udphdr *udp_gro_udphdr(struct sk_buff *skb) in udp_gro_udphdr()
210 static inline __be16 udp_flow_src_port(struct net *net, struct sk_buff *skb, in udp_flow_src_port()
345 static inline struct udp_dev_scratch *udp_skb_scratch(struct sk_buff *skb) in udp_skb_scratch()
351 static inline unsigned int udp_skb_len(struct sk_buff *skb) in udp_skb_len()
356 static inline bool udp_skb_csum_unnecessary(struct sk_buff *skb) in udp_skb_csum_unnecessary()
[all …]
Dl3mdev.h146 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv()
163 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
169 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
175 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out()
192 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
198 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
260 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
266 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
272 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
278 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
Dnetlink.h849 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put()
869 static inline struct nlmsghdr *nlmsg_put_answer(struct sk_buff *skb, in nlmsg_put_answer()
900 static inline void nlmsg_end(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_end()
911 static inline void *nlmsg_get_pos(struct sk_buff *skb) in nlmsg_get_pos()
923 static inline void nlmsg_trim(struct sk_buff *skb, const void *mark) in nlmsg_trim()
939 static inline void nlmsg_cancel(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_cancel()
948 static inline void nlmsg_free(struct sk_buff *skb) in nlmsg_free()
961 static inline int nlmsg_multicast(struct sock *sk, struct sk_buff *skb, in nlmsg_multicast()
981 static inline int nlmsg_unicast(struct sock *sk, struct sk_buff *skb, u32 portid) in nlmsg_unicast()
1176 static inline int nla_put_u8(struct sk_buff *skb, int attrtype, u8 value) in nla_put_u8()
[all …]
Dfq_impl.h16 struct sk_buff *skb) in fq_adjust_removal()
48 struct sk_buff *skb; in fq_flow_dequeue() local
68 struct sk_buff *skb; in fq_tin_dequeue() local
109 static u32 fq_flow_idx(struct fq *fq, struct sk_buff *skb) in fq_flow_idx()
118 struct sk_buff *skb, in fq_flow_classify()
158 struct sk_buff *skb, in fq_tin_enqueue()
215 struct sk_buff *skb, *tmp; in fq_flow_filter() local
251 struct sk_buff *skb; in fq_flow_reset() local
Dip6_checksum.h39 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) in ip6_compute_pseudo()
46 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) in ip6_gro_compute_pseudo()
62 static inline void __tcp_v6_send_check(struct sk_buff *skb, in __tcp_v6_send_check()
80 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.h21 int len, int odd, struct sk_buff *skb) in udplite_getfrag()
38 static inline int udplite_checksum_init(struct sk_buff *skb, struct udphdr *uh) in udplite_checksum_init()
74 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udplite_csum_outgoing()
117 static inline __wsum udplite_csum(struct sk_buff *skb) in udplite_csum()
Ddst_metadata.h28 static inline struct metadata_dst *skb_metadata_dst(const struct sk_buff *skb) in skb_metadata_dst()
39 skb_tunnel_info(const struct sk_buff *skb) in skb_tunnel_info()
54 static inline bool skb_valid_dst(const struct sk_buff *skb) in skb_valid_dst()
108 static inline struct metadata_dst *tun_dst_unclone(struct sk_buff *skb) in tun_dst_unclone()
130 static inline struct ip_tunnel_info *skb_tunnel_info_unclone(struct sk_buff *skb) in skb_tunnel_info_unclone()
161 static inline struct metadata_dst *ip_tun_rx_dst(struct sk_buff *skb, in ip_tun_rx_dst()
205 static inline struct metadata_dst *ipv6_tun_rx_dst(struct sk_buff *skb, in ipv6_tun_rx_dst()
Dinet_ecn.h121 static inline int IP6_ECN_set_ce(struct sk_buff *skb, struct ipv6hdr *iph) in IP6_ECN_set_ce()
143 static inline int INET_ECN_set_ce(struct sk_buff *skb) in INET_ECN_set_ce()
204 static inline int INET_ECN_decapsulate(struct sk_buff *skb, in INET_ECN_decapsulate()
218 struct sk_buff *skb) in IP_ECN_decapsulate()
233 struct sk_buff *skb) in IP6_ECN_decapsulate()
Ddst.h268 static inline void skb_dst_drop(struct sk_buff *skb) in skb_dst_drop()
307 static inline bool skb_dst_force(struct sk_buff *skb) in skb_dst_force()
332 static inline void __skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev, in __skb_tunnel_rx()
357 static inline void skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev, in skb_tunnel_rx()
366 static inline u32 dst_tclassid(const struct sk_buff *skb) in dst_tclassid()
379 static inline int dst_discard(struct sk_buff *skb) in dst_discard()
402 struct sk_buff *skb) in dst_neigh_lookup_skb()
415 static inline void dst_link_failure(struct sk_buff *skb) in dst_link_failure()
434 static inline int dst_output(struct net *net, struct sock *sk, struct sk_buff *skb) in dst_output()
440 static inline int dst_input(struct sk_buff *skb) in dst_input()
[all …]
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.h457 static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz) in qdisc_cb_private_validate()
490 static inline struct qdisc_skb_cb *qdisc_skb_cb(const struct sk_buff *skb) in qdisc_skb_cb()
678 static inline void skb_reset_tc(struct sk_buff *skb) in skb_reset_tc()
685 static inline bool skb_is_tc_redirected(const struct sk_buff *skb) in skb_is_tc_redirected()
694 static inline bool skb_at_tc_ingress(const struct sk_buff *skb) in skb_at_tc_ingress()
703 static inline bool skb_skip_tc_classify(struct sk_buff *skb) in skb_skip_tc_classify()
779 static inline unsigned int qdisc_pkt_len(const struct sk_buff *skb) in qdisc_pkt_len()
796 static inline void qdisc_calculate_pkt_len(struct sk_buff *skb, in qdisc_calculate_pkt_len()
807 static inline int qdisc_enqueue(struct sk_buff *skb, struct Qdisc *sch, in qdisc_enqueue()
822 const struct sk_buff *skb) in bstats_update()
[all …]
Dtcp.h784 static inline u32 tcp_skb_timestamp(const struct sk_buff *skb) in tcp_skb_timestamp()
790 static inline u64 tcp_skb_timestamp_us(const struct sk_buff *skb) in tcp_skb_timestamp_us()
878 static inline void bpf_compute_data_end_sk_skb(struct sk_buff *skb) in bpf_compute_data_end_sk_skb()
883 static inline bool tcp_skb_bpf_ingress(const struct sk_buff *skb) in tcp_skb_bpf_ingress()
888 static inline struct sock *tcp_skb_bpf_redirect_fetch(struct sk_buff *skb) in tcp_skb_bpf_redirect_fetch()
893 static inline void tcp_skb_bpf_redirect_clear(struct sk_buff *skb) in tcp_skb_bpf_redirect_clear()
902 static inline int tcp_v6_iif(const struct sk_buff *skb) in tcp_v6_iif()
907 static inline int tcp_v6_iif_l3_slave(const struct sk_buff *skb) in tcp_v6_iif_l3_slave()
915 static inline int tcp_v6_sdif(const struct sk_buff *skb) in tcp_v6_sdif()
925 static inline bool inet_exact_dif_match(struct net *net, struct sk_buff *skb) in inet_exact_dif_match()
[all …]
/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()
Dnf_tables_ipv4.h9 struct sk_buff *skb) in nft_set_pktinfo_ipv4()
21 struct sk_buff *skb) in __nft_set_pktinfo_ipv4_validate()
50 struct sk_buff *skb) in nft_set_pktinfo_ipv4_validate()
Dnf_tables_ipv6.h10 struct sk_buff *skb) in nft_set_pktinfo_ipv6()
29 struct sk_buff *skb) in __nft_set_pktinfo_ipv6_validate()
67 struct sk_buff *skb) in nft_set_pktinfo_ipv6_validate()
/include/linux/can/
Dskb.h40 static inline struct can_skb_priv *can_skb_prv(struct sk_buff *skb) in can_skb_prv()
45 static inline void can_skb_reserve(struct sk_buff *skb) in can_skb_reserve()
50 static inline void can_skb_set_owner(struct sk_buff *skb, struct sock *sk) in can_skb_set_owner()
62 static inline struct sk_buff *can_create_echo_skb(struct sk_buff *skb) in can_create_echo_skb()
/include/net/phonet/
Dphonet.h53 static inline struct phonethdr *pn_hdr(struct sk_buff *skb) in pn_hdr()
58 static inline struct phonetmsg *pn_msg(struct sk_buff *skb) in pn_msg()
68 void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_src_sockaddr()
80 void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_dst_sockaddr()

1234567