Searched refs:skb_network_header (Results 1 – 12 of 12) sorted by relevance
34 return (struct mpls_shim_hdr *)skb_network_header(skb); in mpls_hdr()
151 if (skb_network_header(skb) + sizeof(struct iphdr) <= in INET_ECN_set_ce()157 if (skb_network_header(skb) + sizeof(struct ipv6hdr) <= in INET_ECN_set_ce()
205 return (struct llc_pdu_sn *)skb_network_header(skb); in llc_pdu_sn_hdr()217 return (struct llc_pdu_un *)skb_network_header(skb); in llc_pdu_un_hdr()
350 return skb_network_header(skb); in tcf_get_base_ptr()
230 hdr = (struct icmp6hdr *)(skb_network_header(skb) + offset); in ipv6_is_mld()
25 return (struct iphdr *)skb_network_header(skb); in ip_hdr()
31 return (struct arphdr *)skb_network_header(skb); in arp_hdr()
27 return (struct pppoe_hdr *)skb_network_header(skb); in pppoe_hdr()
86 return (struct ipv6hdr *)skb_network_header(skb); in ipv6_hdr()
2151 static inline unsigned char *skb_network_header(const struct sk_buff *skb) in skb_network_header() function2243 return skb_network_header(skb) - skb->data; in skb_network_offset()3854 skb_network_header(skb); in skb_gso_network_seglen()
2571 const u8 *tdls_data = skb_network_header(skb) - 2; in ieee80211_get_tdls_action()
68 return (struct phonethdr *)skb_network_header(skb); in pn_hdr()