skb_mac_header 124 include/linux/if_ether.h return (struct ethhdr *)skb_mac_header(skb); skb_mac_header 50 include/linux/if_tr.h return (struct trh_hdr *)skb_mac_header(skb); skb_mac_header 63 include/linux/if_vlan.h return (struct vlan_ethhdr *)skb_mac_header(skb); skb_mac_header 57 include/linux/netfilter_bridge/ebt_802_3.h return (struct ebt_802_3_hdr *)skb_mac_header(skb); skb_mac_header 135 net/802/hippi.c hip = (struct hippi_hdr *)skb_mac_header(skb); skb_mac_header 1500 net/appletalk/ddp.c if (skb_mac_header(skb)[2] == 1) { skb_mac_header 1526 net/appletalk/ddp.c ddp->deh_dnode = skb_mac_header(skb)[0]; /* From physical header */ skb_mac_header 1527 net/appletalk/ddp.c ddp->deh_snode = skb_mac_header(skb)[1]; /* From physical header */ skb_mac_header 1650 net/ax25/af_ax25.c const unsigned char *mac = skb_mac_header(skb); skb_mac_header 366 net/bluetooth/bnep/core.c memcpy(__skb_put(nskb, ETH_ALEN), skb_mac_header(skb), ETH_ALEN); skb_mac_header 371 net/bluetooth/bnep/core.c memcpy(__skb_put(nskb, ETH_ALEN), skb_mac_header(skb), skb_mac_header 378 net/bluetooth/bnep/core.c memcpy(__skb_put(nskb, ETH_ALEN * 2), skb_mac_header(skb), skb_mac_header 90 net/bridge/br_netfilter.c return *((__be16 *)(skb_mac_header(skb) + ETH_HLEN + skb_mac_header 799 net/bridge/br_netfilter.c if (skb_mac_header(skb) < skb->head || skb_mac_header 800 net/bridge/br_netfilter.c skb_mac_header(skb) + ETH_HLEN > skb->data) { skb_mac_header 851 net/bridge/br_netfilter.c printk(" head:%p, raw:%p, data:%p\n", skb->head, skb_mac_header(skb), skb_mac_header 1560 net/core/dev.c __skb_push(skb, skb->data - skb_mac_header(skb)); skb_mac_header 48 net/core/filter.c ptr = skb_mac_header(skb) + k - SKF_LL_OFF; skb_mac_header 2277 net/core/skbuff.c unsigned int doffset = skb->data - skb_mac_header(skb); skb_mac_header 85 net/ipv4/ah4.c ah->nexthdr = *skb_mac_header(skb); skb_mac_header 86 net/ipv4/ah4.c *skb_mac_header(skb) = IPPROTO_AH; skb_mac_header 159 net/ipv4/esp4.c tail[clen - skb->len - 1] = *skb_mac_header(skb); skb_mac_header 164 net/ipv4/esp4.c *skb_mac_header(skb) = IPPROTO_ESP; skb_mac_header 198 net/ipv4/esp4.c *skb_mac_header(skb) = IPPROTO_UDP; skb_mac_header 1107 net/ipv4/ip_gre.c struct iphdr *iph = (struct iphdr*) skb_mac_header(skb); skb_mac_header 414 net/ipv4/netfilter/ipt_LOG.c const unsigned char *p = skb_mac_header(skb); skb_mac_header 232 net/ipv4/netfilter/ipt_ULOG.c memcpy(pm->mac, skb_mac_header(skb), in->hard_header_len); skb_mac_header 1791 net/ipv4/route.c const unsigned char *p = skb_mac_header(skb); skb_mac_header 4251 net/ipv4/tcp_input.c skb_set_mac_header(nskb, skb_mac_header(skb) - skb->head); skb_mac_header 114 net/ipv4/xfrm4_mode_beet.c memmove(skb->data - skb->mac_len, skb_mac_header(skb), skb_mac_header 86 net/ipv4/xfrm4_mode_tunnel.c old_mac = skb_mac_header(skb); skb_mac_header 88 net/ipv4/xfrm4_mode_tunnel.c memmove(skb_mac_header(skb), old_mac, skb->mac_len); skb_mac_header 242 net/ipv6/ah6.c nexthdr = *skb_mac_header(skb); skb_mac_header 243 net/ipv6/ah6.c *skb_mac_header(skb) = IPPROTO_AH; skb_mac_header 183 net/ipv6/esp6.c tail[clen - skb->len - 1] = *skb_mac_header(skb); skb_mac_header 188 net/ipv6/esp6.c *skb_mac_header(skb) = IPPROTO_ESP; skb_mac_header 157 net/ipv6/mip6.c nexthdr = *skb_mac_header(skb); skb_mac_header 158 net/ipv6/mip6.c *skb_mac_header(skb) = IPPROTO_DSTOPTS; skb_mac_header 373 net/ipv6/mip6.c nexthdr = *skb_mac_header(skb); skb_mac_header 374 net/ipv6/mip6.c *skb_mac_header(skb) = IPPROTO_ROUTING; skb_mac_header 754 net/ipv6/ndisc.c sadr = skb_mac_header(skb); skb_mac_header 410 net/ipv6/netfilter/ip6t_LOG.c const unsigned char *p = skb_mac_header(skb); skb_mac_header 426 net/ipv6/netfilter/ip6t_LOG.c (struct iphdr *)skb_mac_header(skb); skb_mac_header 28 net/ipv6/netfilter/ip6t_eui64.c if (!(skb_mac_header(skb) >= skb->head && skb_mac_header 29 net/ipv6/netfilter/ip6t_eui64.c skb_mac_header(skb) + ETH_HLEN <= skb->data) && skb_mac_header 96 net/ipv6/xfrm6_mode_beet.c old_mac = skb_mac_header(skb); skb_mac_header 98 net/ipv6/xfrm6_mode_beet.c memmove(skb_mac_header(skb), old_mac, skb->mac_len); skb_mac_header 81 net/ipv6/xfrm6_mode_tunnel.c old_mac = skb_mac_header(skb); skb_mac_header 83 net/ipv6/xfrm6_mode_tunnel.c memmove(skb_mac_header(skb), old_mac, skb->mac_len); skb_mac_header 95 net/mac80211/main.c memcpy(haddr, skb_mac_header(skb) + 10, ETH_ALEN); /* addr2 */ skb_mac_header 461 net/netfilter/nfnetlink_log.c skb_mac_header(skb)); skb_mac_header 32 net/netfilter/xt_mac.c return skb_mac_header(skb) >= skb->head && skb_mac_header 33 net/netfilter/xt_mac.c skb_mac_header(skb) + ETH_HLEN <= skb->data skb_mac_header 320 net/packet/af_packet.c skb_push(skb, skb->data - skb_mac_header(skb)); skb_mac_header 507 net/packet/af_packet.c skb_push(skb, skb->data - skb_mac_header(skb)); skb_mac_header 620 net/packet/af_packet.c skb_push(skb, skb->data - skb_mac_header(skb)); skb_mac_header 128 net/phonet/af_phonet.c const u8 *media = skb_mac_header(skb); skb_mac_header 191 net/xfrm/xfrm_ipcomp.c ipch->nexthdr = *skb_mac_header(skb); skb_mac_header 194 net/xfrm/xfrm_ipcomp.c *skb_mac_header(skb) = IPPROTO_COMP;