Home
last modified time | relevance | path

Searched refs:skb_mac_header (Results 1 – 25 of 65) sorted by relevance

123

/linux-3.4.99/net/netfilter/
Dxt_mac.c35 if (skb_mac_header(skb) < skb->head) in mac_mt()
37 if (skb_mac_header(skb) + ETH_HLEN > skb->data) in mac_mt()
Dxt_LOG.c419 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/
Dip6t_eui64.c27 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/
Drouting.c256 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/
Dasyncdata.c491 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/
Dmip6.c159 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/
Debt_802_3.h59 return (struct ebt_802_3_hdr *)skb_mac_header(skb); in ebt_802_3_hdr()
/linux-3.4.99/drivers/block/aoe/
Daoecmd.c234 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()
Daoenet.c119 h = (struct aoe_hdr *) skb_mac_header(skb); in aoenet_rcv()
/linux-3.4.99/include/linux/
Dif_tr.h51 return (struct trh_hdr *)skb_mac_header(skb); in tr_hdr()
Dif_ether.h138 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr()
Dif_vlan.h64 return (struct vlan_ethhdr *)skb_mac_header(skb); in vlan_eth_hdr()
/linux-3.4.99/drivers/net/arcnet/
Dcapmode.c66 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/
Dtuntap_kern.c40 return net_read(fd, skb_mac_header(skb), in tuntap_read()
Dethertap_kern.c43 len = net_recvfrom(fd, skb_mac_header(skb), in etap_read()
/linux-3.4.99/arch/um/drivers/
Ddaemon_kern.c44 return net_recvfrom(fd, skb_mac_header(skb), in daemon_read()
Dslip_kern.c49 return slip_user_read(fd, skb_mac_header(skb), skb->dev->mtu, in slip_read()
Dslirp_kern.c54 return slirp_user_read(fd, skb_mac_header(skb), skb->dev->mtu, in slirp_read()
Dpcap_kern.c36 return pcap_user_read(fd, skb_mac_header(skb), in pcap_read()
Dvde_kern.c44 return vde_user_read(pri->conn, skb_mac_header(skb), in vde_read()
Dumcast_kern.c53 return net_recvfrom(fd, skb_mac_header(skb), in umcast_read()
/linux-3.4.99/net/xfrm/
Dxfrm_ipcomp.c193 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/
Dcore.c367 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/
Dhippi.c134 hip = (struct hippi_hdr *)skb_mac_header(skb); in hippi_type_trans()
/linux-3.4.99/net/ipv4/
Desp4.c200 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()

123