/linux-3.4.99/net/netfilter/ |
D | xt_mac.c | 35 if (skb_mac_header(skb) < skb->head) in mac_mt() 37 if (skb_mac_header(skb) + ETH_HLEN > skb->data) in mac_mt()
|
D | xt_LOG.c | 419 const unsigned char *p = skb_mac_header(skb); in dump_ipv4_mac_header() 761 const unsigned char *p = skb_mac_header(skb); in dump_ipv6_mac_header() 781 (struct iphdr *)skb_mac_header(skb); in dump_ipv6_mac_header()
|
/linux-3.4.99/net/ipv6/netfilter/ |
D | ip6t_eui64.c | 27 if (!(skb_mac_header(skb) >= skb->head && in eui64_mt6() 28 skb_mac_header(skb) + ETH_HLEN <= skb->data) && in eui64_mt6()
|
/linux-3.4.99/net/batman-adv/ |
D | routing.c | 256 ethhdr = (struct ethhdr *)skb_mac_header(skb); in recv_bat_ogm_packet() 411 ethhdr = (struct ethhdr *)skb_mac_header(skb); in recv_icmp_packet() 588 ethhdr = (struct ethhdr *)skb_mac_header(skb); in recv_tt_query() 659 ethhdr = (struct ethhdr *)skb_mac_header(skb); in recv_roam_adv() 786 ethhdr = (struct ethhdr *)skb_mac_header(skb); in check_unicast_packet() 809 struct ethhdr *ethhdr = (struct ethhdr *)skb_mac_header(skb); in route_unicast_packet() 1021 ethhdr = (struct ethhdr *)skb_mac_header(skb); in recv_bcast_packet() 1101 ethhdr = (struct ethhdr *)skb_mac_header(skb); in recv_vis_packet()
|
/linux-3.4.99/drivers/isdn/gigaset/ |
D | asyncdata.c | 491 memcpy(skb_mac_header(hdlc_skb), skb_mac_header(skb), skb->mac_len); in HDLC_Encode() 555 memcpy(skb_mac_header(iraw_skb), skb_mac_header(skb), skb->mac_len); in iraw_encode()
|
/linux-3.4.99/net/ipv6/ |
D | mip6.c | 159 nexthdr = *skb_mac_header(skb); in mip6_destopt_output() 160 *skb_mac_header(skb) = IPPROTO_DSTOPTS; in mip6_destopt_output() 379 nexthdr = *skb_mac_header(skb); in mip6_rthdr_output() 380 *skb_mac_header(skb) = IPPROTO_ROUTING; in mip6_rthdr_output()
|
/linux-3.4.99/include/linux/netfilter_bridge/ |
D | ebt_802_3.h | 59 return (struct ebt_802_3_hdr *)skb_mac_header(skb); in ebt_802_3_hdr()
|
/linux-3.4.99/drivers/block/aoe/ |
D | aoecmd.c | 234 h = (struct aoe_hdr *) skb_mac_header(skb); in aoecmd_ata_rw() 316 h = (struct aoe_hdr *) skb_mac_header(skb); in aoecmd_cfg_pkts() 345 h = (struct aoe_hdr *) skb_mac_header(skb); in resend() 536 if (ata_scnt(skb_mac_header(f->skb)) > DEFAULTBCNT / 512 in rexmit_timer() 757 hin = (struct aoe_hdr *) skb_mac_header(skb); in aoecmd_ata_rsp() 796 hout = (struct aoe_hdr *) skb_mac_header(f->skb); in aoecmd_ata_rsp() 908 h = (struct aoe_hdr *) skb_mac_header(skb); in aoecmd_ata_id() 977 h = (struct aoe_hdr *) skb_mac_header(skb); in aoecmd_cfg_rsp()
|
D | aoenet.c | 119 h = (struct aoe_hdr *) skb_mac_header(skb); in aoenet_rcv()
|
/linux-3.4.99/include/linux/ |
D | if_tr.h | 51 return (struct trh_hdr *)skb_mac_header(skb); in tr_hdr()
|
D | if_ether.h | 138 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr()
|
D | if_vlan.h | 64 return (struct vlan_ethhdr *)skb_mac_header(skb); in vlan_eth_hdr()
|
/linux-3.4.99/drivers/net/arcnet/ |
D | capmode.c | 66 pkt = (struct archdr *)skb_mac_header(skb); in rx() 209 ackpkt = (struct archdr *)skb_mac_header(ackskb); in ack_tx()
|
/linux-3.4.99/arch/um/os-Linux/drivers/ |
D | tuntap_kern.c | 40 return net_read(fd, skb_mac_header(skb), in tuntap_read()
|
D | ethertap_kern.c | 43 len = net_recvfrom(fd, skb_mac_header(skb), in etap_read()
|
/linux-3.4.99/arch/um/drivers/ |
D | daemon_kern.c | 44 return net_recvfrom(fd, skb_mac_header(skb), in daemon_read()
|
D | slip_kern.c | 49 return slip_user_read(fd, skb_mac_header(skb), skb->dev->mtu, in slip_read()
|
D | slirp_kern.c | 54 return slirp_user_read(fd, skb_mac_header(skb), skb->dev->mtu, in slirp_read()
|
D | pcap_kern.c | 36 return pcap_user_read(fd, skb_mac_header(skb), in pcap_read()
|
D | vde_kern.c | 44 return vde_user_read(pri->conn, skb_mac_header(skb), in vde_read()
|
D | umcast_kern.c | 53 return net_recvfrom(fd, skb_mac_header(skb), in umcast_read()
|
/linux-3.4.99/net/xfrm/ |
D | xfrm_ipcomp.c | 193 ipch->nexthdr = *skb_mac_header(skb); in ipcomp_output() 196 *skb_mac_header(skb) = IPPROTO_COMP; in ipcomp_output()
|
/linux-3.4.99/net/bluetooth/bnep/ |
D | core.c | 367 memcpy(__skb_put(nskb, ETH_ALEN), skb_mac_header(skb), ETH_ALEN); in bnep_rx_frame() 372 memcpy(__skb_put(nskb, ETH_ALEN), skb_mac_header(skb), in bnep_rx_frame() 379 memcpy(__skb_put(nskb, ETH_ALEN * 2), skb_mac_header(skb), in bnep_rx_frame()
|
/linux-3.4.99/net/802/ |
D | hippi.c | 134 hip = (struct hippi_hdr *)skb_mac_header(skb); in hippi_type_trans()
|
/linux-3.4.99/net/ipv4/ |
D | esp4.c | 200 tail[plen - 1] = *skb_mac_header(skb); in esp_output() 205 *skb_mac_header(skb) = IPPROTO_ESP; in esp_output() 239 *skb_mac_header(skb) = IPPROTO_UDP; in esp_output()
|