Home
last modified time | relevance | path

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

123456

/include/linux/
Dskbuff.h856 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc()
875 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
894 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
909 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
919 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
924 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
938 static inline unsigned int skb_napi_id(const struct sk_buff *skb) in skb_napi_id()
948 static inline bool skb_unref(struct sk_buff *skb) in skb_unref()
1008 const struct sk_buff *skb) in skb_fclone_busy()
1031 static inline struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, in __pskb_copy()
[all …]
Dnetfilter_bridge.h23 static inline void br_drop_fake_rtable(struct sk_buff *skb) in br_drop_fake_rtable()
31 static inline int nf_bridge_get_physinif(const struct sk_buff *skb) in nf_bridge_get_physinif()
42 static inline int nf_bridge_get_physoutif(const struct sk_buff *skb) in nf_bridge_get_physoutif()
54 nf_bridge_get_physindev(const struct sk_buff *skb) in nf_bridge_get_physindev()
60 nf_bridge_get_physoutdev(const struct sk_buff *skb) in nf_bridge_get_physoutdev()
65 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
70 #define br_drop_fake_rtable(skb) do { } while (0) argument
71 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
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.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()
314 static inline int __vlan_insert_inner_tag(struct sk_buff *skb, in __vlan_insert_inner_tag()
362 static inline int __vlan_insert_tag(struct sk_buff *skb, in __vlan_insert_tag()
383 static inline struct sk_buff *vlan_insert_inner_tag(struct sk_buff *skb, in vlan_insert_inner_tag()
412 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, in vlan_insert_tag()
430 static inline struct sk_buff *vlan_insert_tag_set_proto(struct sk_buff *skb, in vlan_insert_tag_set_proto()
449 static inline struct sk_buff *__vlan_hwaccel_push_inside(struct sk_buff *skb) in __vlan_hwaccel_push_inside()
466 static inline void __vlan_hwaccel_put_tag(struct sk_buff *skb, in __vlan_hwaccel_put_tag()
480 static inline int __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) in __vlan_get_tag()
[all …]
Dif_ether.h26 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) in eth_hdr()
34 static inline struct ethhdr *skb_eth_hdr(const struct sk_buff *skb) in skb_eth_hdr()
39 static inline struct ethhdr *inner_eth_hdr(const struct sk_buff *skb) in inner_eth_hdr()
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.h52 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk, skb) \ argument
62 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk, skb) \ argument
103 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk,skb) ({ 0; }) argument
104 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk,skb) ({ 0; }) argument
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/netfilter/
Dbr_netfilter.h7 static inline struct nf_bridge_info *nf_bridge_alloc(struct sk_buff *skb) in nf_bridge_alloc()
26 nf_bridge_info_get(const struct sk_buff *skb) in nf_bridge_info_get()
33 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.h10 struct sk_buff *skb, in nft_set_pktinfo_ipv4()
26 struct sk_buff *skb, in __nft_set_pktinfo_ipv4_validate()
57 struct sk_buff *skb, in nft_set_pktinfo_ipv4_validate()
Dnf_tables_ipv6.h10 struct sk_buff *skb, in nft_set_pktinfo_ipv6()
33 struct sk_buff *skb, in __nft_set_pktinfo_ipv6_validate()
73 struct sk_buff *skb, in nft_set_pktinfo_ipv6_validate()
/include/net/
Dnetlink.h472 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put()
492 static inline struct nlmsghdr *nlmsg_put_answer(struct sk_buff *skb, in nlmsg_put_answer()
523 static inline void nlmsg_end(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_end()
534 static inline void *nlmsg_get_pos(struct sk_buff *skb) in nlmsg_get_pos()
546 static inline void nlmsg_trim(struct sk_buff *skb, const void *mark) in nlmsg_trim()
562 static inline void nlmsg_cancel(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_cancel()
571 static inline void nlmsg_free(struct sk_buff *skb) in nlmsg_free()
584 static inline int nlmsg_multicast(struct sock *sk, struct sk_buff *skb, in nlmsg_multicast()
604 static inline int nlmsg_unicast(struct sock *sk, struct sk_buff *skb, u32 portid) in nlmsg_unicast()
775 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()
156 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
162 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
168 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out()
185 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
191 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
242 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
248 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
254 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
260 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
Dudp.h112 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) in __udp_lib_checksum_complete()
119 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
131 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
141 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
161 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
177 static inline struct udphdr *udp_gro_udphdr(struct sk_buff *skb) in udp_gro_udphdr()
211 static inline __be16 udp_flow_src_port(struct net *net, struct sk_buff *skb, in udp_flow_src_port()
333 static inline struct udp_dev_scratch *udp_skb_scratch(struct sk_buff *skb) in udp_skb_scratch()
339 static inline unsigned int udp_skb_len(struct sk_buff *skb) in udp_skb_len()
344 static inline bool udp_skb_csum_unnecessary(struct sk_buff *skb) in udp_skb_csum_unnecessary()
[all …]
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.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(struct sk_buff *skb) in skb_metadata_dst()
38 static inline struct ip_tunnel_info *skb_tunnel_info(struct sk_buff *skb) in skb_tunnel_info()
53 static inline bool skb_valid_dst(const struct sk_buff *skb) in skb_valid_dst()
106 static inline struct metadata_dst *tun_dst_unclone(struct sk_buff *skb) in tun_dst_unclone()
128 static inline struct ip_tunnel_info *skb_tunnel_info_unclone(struct sk_buff *skb) in skb_tunnel_info_unclone()
159 static inline struct metadata_dst *ip_tun_rx_dst(struct sk_buff *skb, in ip_tun_rx_dst()
203 static inline struct metadata_dst *ipv6_tun_rx_dst(struct sk_buff *skb, in ipv6_tun_rx_dst()
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()
198 struct sk_buff *skb; in fq_flow_reset() local
Dinet_ecn.h121 static inline int IP6_ECN_set_ce(struct sk_buff *skb, struct ipv6hdr *iph) in IP6_ECN_set_ce()
148 static inline int INET_ECN_set_ce(struct sk_buff *skb) in INET_ECN_set_ce()
191 static inline int INET_ECN_decapsulate(struct sk_buff *skb, in INET_ECN_decapsulate()
213 struct sk_buff *skb) in IP_ECN_decapsulate()
228 struct sk_buff *skb) in IP6_ECN_decapsulate()
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.h278 static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz) in qdisc_cb_private_validate()
291 static inline struct qdisc_skb_cb *qdisc_skb_cb(const struct sk_buff *skb) in qdisc_skb_cb()
447 static inline void skb_reset_tc(struct sk_buff *skb) in skb_reset_tc()
454 static inline bool skb_at_tc_ingress(const struct sk_buff *skb) in skb_at_tc_ingress()
463 static inline bool skb_skip_tc_classify(struct sk_buff *skb) in skb_skip_tc_classify()
539 static inline unsigned int qdisc_pkt_len(const struct sk_buff *skb) in qdisc_pkt_len()
556 static inline void qdisc_calculate_pkt_len(struct sk_buff *skb, in qdisc_calculate_pkt_len()
567 static inline int qdisc_enqueue(struct sk_buff *skb, struct Qdisc *sch, in qdisc_enqueue()
587 const struct sk_buff *skb) in bstats_update()
603 const struct sk_buff *skb) in bstats_cpu_update()
[all …]
Dtcp.h772 static inline u32 tcp_skb_timestamp(const struct sk_buff *skb) in tcp_skb_timestamp()
872 static inline int tcp_v6_iif(const struct sk_buff *skb) in tcp_v6_iif()
877 static inline int tcp_v6_iif_l3_slave(const struct sk_buff *skb) in tcp_v6_iif_l3_slave()
885 static inline int tcp_v6_sdif(const struct sk_buff *skb) in tcp_v6_sdif()
895 static inline bool inet_exact_dif_match(struct net *net, struct sk_buff *skb) in inet_exact_dif_match()
906 static inline int tcp_v4_sdif(struct sk_buff *skb) in tcp_v4_sdif()
918 static inline int tcp_skb_pcount(const struct sk_buff *skb) in tcp_skb_pcount()
923 static inline void tcp_skb_pcount_set(struct sk_buff *skb, int segs) in tcp_skb_pcount_set()
928 static inline void tcp_skb_pcount_add(struct sk_buff *skb, int segs) in tcp_skb_pcount_add()
934 static inline int tcp_skb_mss(const struct sk_buff *skb) in tcp_skb_mss()
[all …]
/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.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