Home
last modified time | relevance | path

Searched refs:ETH_HLEN (Results 1 – 25 of 166) sorted by relevance

1234567

/linux-3.4.99/include/linux/
Dptp_classify.h72 #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 }, /* */ \
Dnetfilter_bridge.h84 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()
Dif_ether.h32 #define ETH_HLEN 14 /* Total octets in header. */ macro
/linux-3.4.99/net/ethernet/
Deth.c82 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/
Dtag_edsa.c177 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()
Dtag_dsa.c166 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/
Dtimestamping.c109 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/
DInterfaceRx.c147 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()
DTransmit.c145 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/
Dnetdev.c223 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/
Dwroute.c94 memcpy(pDevice->sTxEthHeader.abyDstAddr, (unsigned char *)pbySkbData, ETH_HLEN); in ROUTEbRelay()
96 cbFrameBodySize = uDataLen - ETH_HLEN; in ROUTEbRelay()
/linux-3.4.99/net/openvswitch/
Dactions.c60 + 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()
Dvport-netdev.c51 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/
Debt_ulog.c133 (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/
Dray_cs.c969 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/
Dxt_mac.c37 if (skb_mac_header(skb) + ETH_HLEN > skb->data) in mac_mt()
/linux-3.4.99/drivers/staging/rtl8712/
Dif_ether.h55 #define ETH_HLEN 14 /* Total octets in header. */ macro
/linux-3.4.99/net/caif/
Dcaif_usb.c33 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/
Drx.c86 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/
Dip6t_eui64.c28 skb_mac_header(skb) + ETH_HLEN <= skb->data) && in eui64_mt6()
/linux-3.4.99/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h111 #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/
Dmic.c52 u8 hdr[ETH_HLEN + 2]; /* size of header + padding */ in orinoco_mic()
/linux-3.4.99/net/bridge/
Dbr_forward.c49 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/
Dtranslation-table.c1049 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/
Dcore.c302 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()

1234567