/linux-2.4.37.9/net/ethernet/ |
D | eth.c | 78 struct ethhdr *eth = (struct ethhdr *)skb_push(skb,ETH_HLEN); in eth_header() 231 hh->hh_len = ETH_HLEN; in eth_header_cache()
|
/linux-2.4.37.9/net/atm/ |
D | br2684.c | 284 hh->hh_len = PADLEN + ETH_HLEN; in br2684_header_cache() 411 int plen = sizeof(llc_oui_pid_pad) + ETH_HLEN; in br2684_push() 444 plen = PADLEN + ETH_HLEN; /* pad, dstmac,srcmac, ethtype */ in br2684_push() 462 skb->mac.raw = ((char *) (skb->data)) - ETH_HLEN; in br2684_push() 470 skb_pull(skb, plen - ETH_HLEN); in br2684_push() 623 brdev->net_dev.hard_header_len = sizeof(llc_oui_pid_pad) + ETH_HLEN; /* 10 + 14 */ in br2684_create()
|
D | mpc.c | 516 skb_pull(skb, ETH_HLEN); /* get rid of Eth header */ in send_via_shortcut() 520 skb_pull(skb, ETH_HLEN); /* get rid of Eth header */ in send_via_shortcut()
|
/linux-2.4.37.9/drivers/net/pcmcia/ |
D | ray_cs.c | 1189 data + ETH_HLEN, len - ETH_HLEN); in translate_frame() 1190 return (int) sizeof(struct snaphdr_t) - ETH_HLEN; in translate_frame() 1196 memcpy_toio((UCHAR *)&ptx->var, data + ETH_HLEN, len - ETH_HLEN); in translate_frame() 1197 return 0 - ETH_HLEN; in translate_frame() 1199 memcpy_toio((UCHAR *)&ptx->var, data + ETH_HLEN, len - ETH_HLEN); in translate_frame() 1200 return 0 - ETH_HLEN; in translate_frame() 2325 if (rx_len < (ETH_HLEN + RX_MAC_HEADER_LENGTH) || in rx_data() 2326 rx_len > (dev->mtu + RX_MAC_HEADER_LENGTH + ETH_HLEN + FCS_LEN)) in rx_data() 2333 if (rx_len < (ETH_HLEN + RX_MAC_HEADER_LENGTH) || in rx_data() 2334 rx_len > (dev->mtu + RX_MAC_HEADER_LENGTH + ETH_HLEN + FCS_LEN)) in rx_data() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | if_ether.h | 30 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
D | if_tr.h | 30 #define ETH_HLEN 14 /* Total octets in header. */
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ipt_mac.c | 23 && (skb->mac.raw + ETH_HLEN) <= skb->data in match()
|
/linux-2.4.37.9/net/ipv6/netfilter/ |
D | ip6t_mac.c | 23 && (skb->mac.raw + ETH_HLEN) <= skb->data in match()
|
D | ip6t_eui64.c | 24 && (skb->mac.raw + ETH_HLEN) <= skb->data) in match()
|
D | ip6t_LOG.c | 386 (p -= ETH_HLEN) < (*pskb)->head) in ip6t_log_target()
|
/linux-2.4.37.9/net/bluetooth/bnep/ |
D | core.c | 301 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()
|
/linux-2.4.37.9/drivers/net/ |
D | loopback.c | 113 dev->hard_header_len = ETH_HLEN; /* 14 */ in loopback_init()
|
D | myri_sbus.c | 448 if (len < (ETH_HLEN + MYRI_PAD_LEN) || (skb->data[0] != MYRI_PAD_LEN)) { in myri_rx() 451 if (len < (ETH_HLEN + MYRI_PAD_LEN)) { in myri_rx() 684 struct ethhdr *eth = (struct ethhdr *) skb_push(skb, ETH_HLEN); in myri_header() 799 if ((new_mtu < (ETH_HLEN + MYRI_PAD_LEN)) || (new_mtu > MYRINET_MTU)) in myri_change_mtu() 1079 dev->hard_header_len = (ETH_HLEN + MYRI_PAD_LEN); in myri_ether_init()
|
D | acenic.c | 537 #define ACE_STD_BUFSIZE (ACE_STD_MTU + ETH_HLEN + 2+4+16) 538 #define ACE_JUMBO_BUFSIZE (ACE_JUMBO_MTU + ETH_HLEN + 2+4+16) 1507 info->rx_std_ctrl.max_len = ACE_STD_MTU + ETH_HLEN + 4; in ace_init() 1967 rd->size = ACE_STD_MTU + ETH_HLEN + 4; in ace_load_std_rx_ring() 2094 rd->size = ACE_JUMBO_MTU + ETH_HLEN + 4; in ace_load_jumbo_rx_ring() 2599 writel(dev->mtu + ETH_HLEN + 4, ®s->IfMtu); in ace_open() 2929 writel(new_mtu + ETH_HLEN + 4, ®s->IfMtu); in ace_change_mtu()
|
D | mv64340_eth.c | 70 #define WRAP ETH_HLEN + 2 + 4 + 16 190 pkt_info.byte_cnt = dev->mtu + ETH_HLEN + 4 + 2 + EXTRA_BYTES; in mv64340_eth_rx_task() 198 dev->mtu + ETH_HLEN + 4 + 2 + EXTRA_BYTES, in mv64340_eth_rx_task() 515 ip_h = (struct iphdr *) (skb->data + ETH_HLEN);
|
D | net_init.c | 420 dev->hard_header_len = ETH_HLEN; in ether_setup()
|
D | titan_ge.c | 1462 iph = (struct iphdr*)(skb->data + ETH_HLEN); 1498 skb->nh.raw = skb->data + ETH_HLEN;
|
/linux-2.4.37.9/net/bridge/ |
D | br_device.c | 57 skb_pull(skb, ETH_HLEN); in __br_dev_xmit()
|
D | br_forward.c | 35 skb_push(skb, ETH_HLEN); in __dev_queue_push_xmit()
|
D | br_input.c | 42 skb_push(skb, ETH_HLEN); in br_pass_frame_up()
|
/linux-2.4.37.9/drivers/net/wireless/ |
D | orinoco.c | 1741 skb = dev_alloc_skb(length+ETH_HLEN+2+1); in __orinoco_ev_rx() 1772 eh = (struct ethhdr *)skb_put(skb, ETH_HLEN); in __orinoco_ev_rx() 2042 priv->nicbuf_size = IEEE802_11_FRAME_LEN + ETH_HLEN; in orinoco_init() 2368 len = max_t(int,skb->len - ETH_HLEN, ETH_ZLEN - ETH_HLEN); in orinoco_xmit() 2393 p = skb->data + ETH_HLEN; in orinoco_xmit() 2414 if (len < ETH_ZLEN - ETH_HLEN) in orinoco_xmit() 2415 len = ETH_ZLEN - ETH_HLEN; in orinoco_xmit() 2417 data_len = len + ETH_HLEN; in orinoco_xmit() 2489 (priv->nicbuf_size - ETH_HLEN) ) in orinoco_change_mtu()
|
/linux-2.4.37.9/drivers/isdn/ |
D | isdn_net.c | 1155 int pullsize = (ulong)skb->nh.raw - (ulong)skb->data - ETH_HLEN; in isdn_net_adjust_hdr() 1403 skb_pull(skb, ETH_HLEN); in isdn_net_type_trans() 1914 struct ethhdr *eth = (struct ethhdr *) skb_push(skb, ETH_HLEN); in my_eth_header() 1941 return ETH_HLEN /*(dev->hard_header_len)*/; in my_eth_header() 1945 return ETH_HLEN /*dev->hard_header_len*/; in my_eth_header() 1947 return -ETH_HLEN /*dev->hard_header_len*/; in my_eth_header() 2086 ndev->hard_header_len = ETH_HLEN + max_hlhdr_len; in isdn_net_init()
|
/linux-2.4.37.9/drivers/s390/net/ |
D | qeth.h | 332 return QETH_HEADER_SIZE+ETH_HLEN; in qeth_get_hlen() 549 #define QETH_FAKE_LL_LEN ETH_HLEN /* 14 */
|
/linux-2.4.37.9/drivers/net/bonding/ |
D | bond_alb.c | 112 u8 padding[ETH_ZLEN - ETH_HLEN]; 916 skb->nh.raw = data + ETH_HLEN; in alb_send_learning_packets()
|
/linux-2.4.37.9/net/8021q/ |
D | vlan_dev.c | 85 memmove(skb->data - ETH_HLEN, in vlan_check_reorder_header()
|