Home
last modified time | relevance | path

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

12

/third_party/Linux_Kernel/include/linux/
Dskbuff.h724 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc()
742 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
761 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
776 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
786 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
791 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
841 const struct sk_buff *skb) in skb_fclone_busy()
870 static inline struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, in __pskb_copy()
949 static inline void skb_clear_hash(struct sk_buff *skb) in skb_clear_hash()
956 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()
17 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
32 static inline int nf_hook_ingress_active(struct sk_buff *skb) in nf_hook_ingress_active()
37 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
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()
Dif_vlan.h61 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr()
238 static inline bool vlan_do_receive(struct sk_buff **skb) in vlan_do_receive()
295 static inline int __vlan_insert_tag(struct sk_buff *skb, in __vlan_insert_tag()
332 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, in vlan_insert_tag()
357 static inline struct sk_buff *vlan_insert_tag_set_proto(struct sk_buff *skb, in vlan_insert_tag_set_proto()
376 static inline struct sk_buff *__vlan_hwaccel_push_inside(struct sk_buff *skb) in __vlan_hwaccel_push_inside()
394 static inline struct sk_buff *vlan_hwaccel_push_inside(struct sk_buff *skb) in vlan_hwaccel_push_inside()
409 static inline void __vlan_hwaccel_put_tag(struct sk_buff *skb, in __vlan_hwaccel_put_tag()
423 static inline int __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) in __vlan_get_tag()
442 static inline int __vlan_hwaccel_get_tag(const struct sk_buff *skb, in __vlan_hwaccel_get_tag()
[all …]
Dicmpv6.h7 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) in icmp6_hdr()
23 static inline void icmpv6_send(struct sk_buff *skb, in icmpv6_send()
Dnetfilter.h174 struct sk_buff *skb, in nf_hook_thresh()
193 struct sock *sk, struct sk_buff *skb, in nf_hook()
219 struct sk_buff *skb, struct net_device *in, in NF_HOOK_THRESH()
232 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK_COND()
245 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
297 nf_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, in nf_checksum()
312 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_checksum_partial()
335 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) in nf_nat_decode_session()
351 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK_COND()
360 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK()
[all …]
Dnetlink.h13 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr()
35 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) argument
36 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds) argument
101 netlink_skb_clone(struct sk_buff *skb, gfp_t gfp_mask) in netlink_skb_clone()
132 struct sk_buff *skb; member
166 static inline int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, in netlink_dump_start()
Ddccp.h65 static inline struct dccp_hdr *dccp_hdr(const struct sk_buff *skb) in dccp_hdr()
70 static inline struct dccp_hdr *dccp_zeroed_hdr(struct sk_buff *skb, int headlen) in dccp_zeroed_hdr()
87 static inline unsigned int dccp_basic_hdr_len(const struct sk_buff *skb) in dccp_basic_hdr_len()
105 static inline struct dccp_hdr_request *dccp_hdr_request(struct sk_buff *skb) in dccp_hdr_request()
111 static inline struct dccp_hdr_ack_bits *dccp_hdr_ack_bits(const struct sk_buff *skb) in dccp_hdr_ack_bits()
117 static inline u64 dccp_hdr_ack_seq(const struct sk_buff *skb) in dccp_hdr_ack_seq()
123 static inline struct dccp_hdr_response *dccp_hdr_response(struct sk_buff *skb) in dccp_hdr_response()
129 static inline struct dccp_hdr_reset *dccp_hdr_reset(struct sk_buff *skb) in dccp_hdr_reset()
141 static inline unsigned int dccp_hdr_len(const struct sk_buff *skb) in dccp_hdr_len()
Dif_ether.h26 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) in eth_hdr()
Dicmp.h23 static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb) in icmp_hdr()
Dif_arp.h29 static inline struct arphdr *arp_hdr(const struct sk_buff *skb) in arp_hdr()
Dhdlc.h77 static __inline__ void debug_frame(const struct sk_buff *skb) in debug_frame()
106 static __inline__ __be16 hdlc_type_trans(struct sk_buff *skb, in hdlc_type_trans()
Derrqueue.h11 #define SKB_EXT_ERR(skb) ((struct sock_exterr_skb *) ((skb)->cb)) argument
Digmp.h23 static inline struct igmphdr *igmp_hdr(const struct sk_buff *skb) in igmp_hdr()
29 igmpv3_report_hdr(const struct sk_buff *skb) in igmpv3_report_hdr()
35 igmpv3_query_hdr(const struct sk_buff *skb) in igmpv3_query_hdr()
Dudp.h25 static inline struct udphdr *udp_hdr(const struct sk_buff *skb) in udp_hdr()
30 static inline struct udphdr *inner_udp_hdr(const struct sk_buff *skb) in inner_udp_hdr()
Dnetdevice.h318 struct sk_buff *skb; member
1866 const struct sk_buff *skb) in skb_get_tx_queue()
2016 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb) argument
2265 static inline unsigned int skb_gro_offset(const struct sk_buff *skb) in skb_gro_offset()
2270 static inline unsigned int skb_gro_len(const struct sk_buff *skb) in skb_gro_len()
2275 static inline void skb_gro_pull(struct sk_buff *skb, unsigned int len) in skb_gro_pull()
2280 static inline void *skb_gro_header_fast(struct sk_buff *skb, in skb_gro_header_fast()
2286 static inline int skb_gro_header_hard(struct sk_buff *skb, unsigned int hlen) in skb_gro_header_hard()
2291 static inline void *skb_gro_header_slow(struct sk_buff *skb, unsigned int hlen, in skb_gro_header_slow()
2302 static inline void *skb_gro_network_header(struct sk_buff *skb) in skb_gro_network_header()
[all …]
Dipv6.h77 static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb) in ipv6_hdr()
82 static inline struct ipv6hdr *inner_ipv6_hdr(const struct sk_buff *skb) in inner_ipv6_hdr()
87 static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb) in ipipv6_hdr()
119 #define IP6CB(skb) ((struct inet6_skb_parm*)((skb)->cb)) argument
120 #define IP6CBMTU(skb) ((struct ip6_mtuinfo *)((skb)->cb)) argument
122 static inline int inet6_iif(const struct sk_buff *skb) in inet6_iif()
/third_party/Linux_Kernel/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()
Ddev.h82 struct sk_buff *skb) in can_dropped_invalid_skb()
105 static inline bool can_is_canfd_skb(const struct sk_buff *skb) in can_is_canfd_skb()
/third_party/Linux_Kernel/include/uapi/linux/netfilter/
Dnfnetlink_compat.h46 #define NFA_NEST(skb, type) \ argument
50 #define NFA_NEST_END(skb, start) \ argument
53 #define NFA_NEST_CANCEL(skb, start) \ argument
/third_party/Linux_Kernel/include/linux/netfilter_bridge/
Debt_802_3.h7 static inline struct ebt_802_3_hdr *ebt_802_3_hdr(const struct sk_buff *skb) in ebt_802_3_hdr()
/third_party/Linux_Kernel/include/linux/netfilter/ipset/
Dip_set.h271 ip_set_put_flags(struct sk_buff *skb, struct ip_set *set) in ip_set_put_flags()
344 ip_set_put_skbinfo(struct sk_buff *skb, struct ip_set_skbinfo *skbinfo) in ip_set_put_skbinfo()
370 ip_set_put_counter(struct sk_buff *skb, struct ip_set_counter *counter) in ip_set_put_counter()
483 #define ipset_nest_start(skb, attr) nla_nest_start(skb, attr | NLA_F_NESTED) argument
484 #define ipset_nest_end(skb, start) nla_nest_end(skb, start) argument
486 static inline int nla_put_ipaddr4(struct sk_buff *skb, int type, __be32 ipaddr) in nla_put_ipaddr4()
499 static inline int nla_put_ipaddr6(struct sk_buff *skb, int type, in nla_put_ipaddr6()
515 ip4addr(const struct sk_buff *skb, bool src) in ip4addr()
521 ip4addrptr(const struct sk_buff *skb, bool src, __be32 *addr) in ip4addrptr()
527 ip6addrptr(const struct sk_buff *skb, bool src, struct in6_addr *addr) in ip6addrptr()
[all …]
Dip_set_getport.h11 static inline bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src, in ip_set_get_ip6_port()
Dip_set_comment.h46 ip_set_put_comment(struct sk_buff *skb, struct ip_set_comment *comment) in ip_set_put_comment()

12