/linux-3.4.99/include/linux/ |
D | ptp_classify.h | 72 #define RELOFF_DST4 (ETH_HLEN + OFF_UDP_DST) 73 #define OFF_DST6 (ETH_HLEN + IP6_HLEN + OFF_UDP_DST) 74 #define OFF_PTP6 (ETH_HLEN + IP6_HLEN + UDP_HLEN) 105 {OP_LDHI, 0, 0, ETH_HLEN + UDP_HLEN }, /* */ \ 111 {OP_LDB, 0, 0, ETH_HLEN + OFF_NEXT }, /* */ \ 123 {OP_LDB, 0, 0, ETH_HLEN + VLAN_HLEN }, /* */ \ 126 {OP_LDH, 0, 0, ETH_HLEN + VLAN_HLEN }, /* */ \ 131 {OP_LDB, 0, 0, ETH_HLEN }, /* */ \ 134 {OP_LDH, 0, 0, ETH_HLEN }, /* */ \
|
D | netfilter_bridge.h | 84 skb_pull(skb, ETH_HLEN); in br_nf_pre_routing_finish_bridge_slow() 86 skb_copy_to_linear_data_offset(skb, -(ETH_HLEN-ETH_ALEN), in br_nf_pre_routing_finish_bridge_slow() 87 skb->nf_bridge->data, ETH_HLEN-ETH_ALEN); in br_nf_pre_routing_finish_bridge_slow()
|
D | if_ether.h | 32 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
/linux-3.4.99/net/ethernet/ |
D | eth.c | 82 struct ethhdr *eth = (struct ethhdr *)skb_push(skb, ETH_HLEN); in eth_header() 99 return ETH_HLEN; in eth_header() 108 return ETH_HLEN; in eth_header() 111 return -ETH_HLEN; in eth_header() 163 skb_pull_inline(skb, ETH_HLEN); in eth_type_trans() 250 hh->hh_len = ETH_HLEN; in eth_header_cache() 339 dev->hard_header_len = ETH_HLEN; in ether_setup()
|
/linux-3.4.99/net/dsa/ |
D | tag_edsa.c | 177 memmove(skb->data - ETH_HLEN, in edsa_rcv() 178 skb->data - ETH_HLEN - DSA_HLEN, in edsa_rcv() 185 memmove(skb->data - ETH_HLEN, in edsa_rcv() 186 skb->data - ETH_HLEN - EDSA_HLEN, in edsa_rcv() 191 skb_push(skb, ETH_HLEN); in edsa_rcv()
|
D | tag_dsa.c | 166 memmove(skb->data - ETH_HLEN, in dsa_rcv() 167 skb->data - ETH_HLEN - DSA_HLEN, in dsa_rcv() 172 skb_push(skb, ETH_HLEN); in dsa_rcv()
|
/linux-3.4.99/net/core/ |
D | timestamping.c | 109 if (skb_headroom(skb) < ETH_HLEN) in skb_defer_rx_timestamp() 111 __skb_push(skb, ETH_HLEN); in skb_defer_rx_timestamp() 115 __skb_pull(skb, ETH_HLEN); in skb_defer_rx_timestamp()
|
/linux-3.4.99/drivers/staging/bcm/ |
D | InterfaceRx.c | 147 memcpy(skb->data+ETH_HLEN, (PUCHAR)urb->transfer_buffer + sizeof(LEADER), pLeader->PLength); in read_bulk_callback() 151 skb_put (skb, pLeader->PLength + ETH_HLEN); in read_bulk_callback() 159 skb_pull(skb, ETH_HLEN); in read_bulk_callback() 165 skb_push(skb, ETH_HLEN); in read_bulk_callback() 172 pLeader->PLength+=ETH_HLEN; in read_bulk_callback()
|
D | Transmit.c | 145 Leader.PLength = Packet->len - ETH_HLEN; in SetupNextSend() 146 memcpy((LEADER*)skb_pull(Packet, (ETH_HLEN - LEADER_SIZE)), &Leader, LEADER_SIZE); in SetupNextSend()
|
/linux-3.4.99/drivers/net/wimax/i2400m/ |
D | netdev.c | 223 skb_pull(skb, ETH_HLEN); in i2400m_tx_prep_header() 511 skb->data - ETH_HLEN, in i2400m_net_rx() 513 skb_set_mac_header(skb, -ETH_HLEN); in i2400m_net_rx() 564 skb->data - ETH_HLEN, in i2400m_net_erx() 566 skb_set_mac_header(skb, -ETH_HLEN); in i2400m_net_erx()
|
/linux-3.4.99/drivers/staging/vt6655/ |
D | wroute.c | 94 memcpy(pDevice->sTxEthHeader.abyDstAddr, (unsigned char *)pbySkbData, ETH_HLEN); in ROUTEbRelay() 96 cbFrameBodySize = uDataLen - ETH_HLEN; in ROUTEbRelay()
|
/linux-3.4.99/net/openvswitch/ |
D | actions.c | 60 + ETH_HLEN, VLAN_HLEN, 0)); in __pop_vlan_tci() 62 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in __pop_vlan_tci() 117 + ETH_HLEN, VLAN_HLEN, 0)); in push_vlan() 128 err = make_writable(skb, ETH_HLEN); in set_eth_addr()
|
D | vport-netdev.c | 51 skb_push(skb, ETH_HLEN); in netdev_port_receive() 145 unsigned length = skb->len - ETH_HLEN; in packet_length()
|
/linux-3.4.99/net/bridge/netfilter/ |
D | ebt_ulog.c | 133 (uloginfo->cprange > skb->len + ETH_HLEN)) in ebt_ulog_packet() 134 copy_len = skb->len + ETH_HLEN; in ebt_ulog_packet() 195 if (skb_copy_bits(skb, -ETH_HLEN, pm->data, copy_len) < 0) in ebt_ulog_packet()
|
/linux-3.4.99/drivers/net/wireless/ |
D | ray_cs.c | 969 sizeof(struct snaphdr_t), data + ETH_HLEN, in translate_frame() 970 len - ETH_HLEN); in translate_frame() 971 return (int)sizeof(struct snaphdr_t) - ETH_HLEN; in translate_frame() 976 memcpy_toio(&ptx->var, data + ETH_HLEN, len - ETH_HLEN); in translate_frame() 977 return 0 - ETH_HLEN; in translate_frame() 979 memcpy_toio(&ptx->var, data + ETH_HLEN, len - ETH_HLEN); in translate_frame() 980 return 0 - ETH_HLEN; in translate_frame() 2120 if (rx_len < (ETH_HLEN + RX_MAC_HEADER_LENGTH) || in rx_data() 2122 (dev->mtu + RX_MAC_HEADER_LENGTH + ETH_HLEN + in rx_data() 2131 if (rx_len < (ETH_HLEN + RX_MAC_HEADER_LENGTH) || in rx_data() [all …]
|
/linux-3.4.99/net/netfilter/ |
D | xt_mac.c | 37 if (skb_mac_header(skb) + ETH_HLEN > skb->data) in mac_mt()
|
/linux-3.4.99/drivers/staging/rtl8712/ |
D | if_ether.h | 55 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
/linux-3.4.99/net/caif/ |
D | caif_usb.c | 33 u8 tx_eth_hdr[ETH_HLEN]; 64 if (skb_headroom(skb) < ETH_HLEN + CFUSB_PAD_DESCR_SZ + hpad) { in cfusbl_transmit()
|
/linux-3.4.99/drivers/net/wireless/libertas/ |
D | rx.c | 86 if (skb->len < (ETH_HLEN + 8 + sizeof(struct rxpd))) { in lbs_process_rxed_packet() 229 if (skb->len < (ETH_HLEN + 8 + sizeof(struct rxpd))) { in process_rxed_802_11_packet()
|
/linux-3.4.99/net/ipv6/netfilter/ |
D | ip6t_eui64.c | 28 skb_mac_header(skb) + ETH_HLEN <= skb->data) && in eui64_mt6()
|
/linux-3.4.99/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet.h | 111 #define PKT_MAXBUF_SIZE (MAX_MTU+ETH_HLEN+CRC_LEN) 112 #define PKT_MINBUF_SIZE (MIN_MTU+ETH_HLEN+CRC_LEN)
|
/linux-3.4.99/drivers/net/wireless/orinoco/ |
D | mic.c | 52 u8 hdr[ETH_HLEN + 2]; /* size of header + padding */ in orinoco_mic()
|
/linux-3.4.99/net/bridge/ |
D | br_forward.c | 49 skb_push(skb, ETH_HLEN); in br_dev_queue_push_xmit() 72 skb_push(skb, ETH_HLEN); in __br_deliver()
|
/linux-3.4.99/net/batman-adv/ |
D | translation-table.c | 1049 skb = dev_alloc_skb(tt_query_size + tt_len + ETH_HLEN); in tt_response_fill_table() 1053 skb_reserve(skb, ETH_HLEN); in tt_response_fill_table() 1112 skb = dev_alloc_skb(sizeof(struct tt_query_packet) + ETH_HLEN); in send_tt_request() 1116 skb_reserve(skb, ETH_HLEN); in send_tt_request() 1220 tt_len + ETH_HLEN); in send_other_tt_response() 1224 skb_reserve(skb, ETH_HLEN); in send_other_tt_response() 1338 tt_len + ETH_HLEN); in send_my_tt_response() 1342 skb_reserve(skb, ETH_HLEN); in send_my_tt_response() 1644 skb = dev_alloc_skb(sizeof(struct roam_adv_packet) + ETH_HLEN); in send_roam_adv() 1648 skb_reserve(skb, ETH_HLEN); in send_roam_adv()
|
/linux-3.4.99/net/bluetooth/bnep/ |
D | core.c | 302 ETH_HLEN, /* BNEP_GENERAL */ 351 nskb = alloc_skb(2 + ETH_HLEN + skb->len, GFP_KERNEL); in bnep_rx_frame() 362 memcpy(__skb_put(nskb, ETH_HLEN), &s->eh, ETH_HLEN); in bnep_rx_frame()
|