/linux-2.4.37.9/net/ethernet/ |
D | eth.c | 102 return dev->hard_header_len; in eth_header() 112 return(dev->hard_header_len); in eth_header() 115 return -dev->hard_header_len; in eth_header() 164 skb_pull(skb,dev->hard_header_len); in eth_type_trans()
|
/linux-2.4.37.9/drivers/net/ |
D | net_init.c | 420 dev->hard_header_len = ETH_HLEN; in ether_setup() 446 dev->hard_header_len = FDDI_K_SNAP_HLEN+3; /* Assume 802.2 SNAP hdr len + 3 pad bytes */ in fddi_setup() 479 dev->hard_header_len = HIPPI_HLEN; in hippi_setup() 520 dev->hard_header_len = LTALK_HLEN; in ltalk_setup() 591 dev->hard_header_len = TR_HLEN; in tr_setup() 668 dev->hard_header_len = FC_HLEN; in fc_setup()
|
D | pppoe.c | 646 dev->hard_header_len); in pppoe_connect() 821 if (total_len > (dev->mtu + dev->hard_header_len)) in pppoe_sendmsg() 825 skb = sock_wmalloc(sk, total_len + dev->hard_header_len + 32, in pppoe_sendmsg() 833 skb_reserve(skb, dev->hard_header_len); in pppoe_sendmsg() 895 if (headroom < (sizeof(struct pppoe_hdr) + dev->hard_header_len)) { in __pppoe_xmit() 898 dev->hard_header_len); in __pppoe_xmit() 903 skb_reserve(skb2, dev->hard_header_len + sizeof(struct pppoe_hdr)); in __pppoe_xmit()
|
D | loopback.c | 113 dev->hard_header_len = ETH_HLEN; /* 14 */ in loopback_init()
|
D | shaper.c | 573 shdev->hard_header_len=dev->hard_header_len; in shaper_attach() 666 dev->hard_header_len = 0; in shaper_probe()
|
D | ppp_generic.c | 831 ns = alloc_skb(skb->len + dev->hard_header_len, GFP_ATOMIC); in ppp_start_xmit() 834 skb_reserve(ns, dev->hard_header_len); in ppp_start_xmit() 909 dev->hard_header_len = PPP_HDRLEN; in ppp_net_init() 995 new_skb = alloc_skb(skb->len + ppp->dev->hard_header_len - 2, in ppp_send_frame() 1001 skb_reserve(new_skb, ppp->dev->hard_header_len - 2); in ppp_send_frame() 1034 new_skb = alloc_skb(ppp->dev->mtu + ppp->dev->hard_header_len, in ppp_send_frame() 1040 if (ppp->dev->hard_header_len > PPP_HDRLEN) in ppp_send_frame() 1042 ppp->dev->hard_header_len - PPP_HDRLEN); in ppp_send_frame() 2449 if (ppp->dev && hdrlen > ppp->dev->hard_header_len) in ppp_connect_channel() 2450 ppp->dev->hard_header_len = hdrlen; in ppp_connect_channel()
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ipt_ULOG.c | 224 if (in && in->hard_header_len > 0 in ipt_ulog_target() 226 && in->hard_header_len <= ULOG_MAC_LEN) { in ipt_ulog_target() 227 memcpy(pm->mac, (*pskb)->mac.raw, in->hard_header_len); in ipt_ulog_target() 228 pm->mac_len = in->hard_header_len; in ipt_ulog_target()
|
D | ipt_LOG.c | 323 if ((*pskb)->dev && (*pskb)->dev->hard_header_len && (*pskb)->mac.raw != (void*)iph) { in ipt_log_target() 326 for (i = 0; i < (*pskb)->dev->hard_header_len; i++,p++) in ipt_log_target() 328 i==(*pskb)->dev->hard_header_len - 1 in ipt_log_target()
|
/linux-2.4.37.9/net/sched/ |
D | sch_teql.c | 190 if (dev->hard_header_len > m->dev.hard_header_len) in teql_qdisc_init() 371 if (slave->hard_header_len > LL_MAX_HEADER) in teql_master_open() 437 dev->hard_header_len = LL_MAX_HEADER; in teql_master_init()
|
/linux-2.4.37.9/net/ipv6/ |
D | ip6_output.c | 206 head_room += sizeof(struct ipv6hdr) + ((dst->dev->hard_header_len + 15)&~15); in ip6_xmit() 416 dst->dev->hard_header_len + 15, in ip6_frag_xmit() 424 skb_reserve(last_skb, (dst->dev->hard_header_len + 15) & ~15); in ip6_frag_xmit() 636 dev->hard_header_len, in ip6_build_xmit() 646 skb_reserve(skb, (dev->hard_header_len + 15) & ~15); in ip6_build_xmit() 811 if (skb_cow(skb, dst->dev->hard_header_len)) in ip6_forward()
|
D | sit.c | 553 max_headroom = (((tdev->hard_header_len+15)&~15)+sizeof(struct iphdr)); in ipip6_tunnel_xmit() 747 dev->hard_header_len = LL_MAX_HEADER + sizeof(struct iphdr); in ipip6_tunnel_init_gen() 780 dev->hard_header_len = tdev->hard_header_len + sizeof(struct iphdr); in ipip6_tunnel_init()
|
/linux-2.4.37.9/net/appletalk/ |
D | aarp.c | 116 int len = dev->hard_header_len + sizeof(struct elapaarp) + in __aarp_send_query() 131 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in __aarp_send_query() 171 int len = dev->hard_header_len + sizeof(struct elapaarp) + in aarp_send_reply() 180 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_reply() 222 int len = dev->hard_header_len + sizeof(struct elapaarp) + in aarp_send_probe() 233 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_probe()
|
/linux-2.4.37.9/net/802/ |
D | llc_sendpdu.c | 251 fr = (frameptr) (skb->data + lp->dev->hard_header_len); in llc_resend_ipdu() 344 fr = (frameptr) (pp->data + lp->dev->hard_header_len); in llc_free_acknowledged_skbs()
|
/linux-2.4.37.9/drivers/net/wan/ |
D | comx-proto-fr.c | 90 skb=alloc_skb(dev->hard_header_len + 13, GFP_ATOMIC); in fr_keepalive_send() 95 skb_reserve(skb, dev->hard_header_len); in fr_keepalive_send() 549 skb_push(skb, dev->hard_header_len); in fr_header() 556 return dev->hard_header_len; in fr_header() 740 dev->hard_header_len = 0; in fr_exit() 791 dev->hard_header_len = 4; in fr_master_init() 850 dev->hard_header_len = 4; in fr_slave_init()
|
D | hdlc_ppp.c | 64 dev->hard_header_len = 16; in ppp_close()
|
D | comx-proto-lapb.c | 61 return dev->hard_header_len; in comxlapb_header() 400 dev->hard_header_len = 0; in comxlapb_exit() 432 dev->hard_header_len = 4; in comxlapb_init()
|
D | hdlc_generic.c | 140 dev->hard_header_len = 16; in register_hdlc_device()
|
/linux-2.4.37.9/net/ipv4/ |
D | ip_output.c | 303 if (skb_headroom(skb) < dev->hard_header_len && dev->hard_header) { in ip_queue_xmit2() 306 skb2 = skb_realloc_headroom(skb, (dev->hard_header_len + 15) & ~15); in ip_queue_xmit2() 455 int hh_len = (rt->u.dst.dev->hard_header_len + 15)&~15; in ip_build_xmit_slow() 697 int hh_len = (rt->u.dst.dev->hard_header_len + 15)&~15; in ip_build_xmit() 815 if ((skb2 = alloc_skb(len+hlen+dev->hard_header_len+15,GFP_ATOMIC)) == NULL) { in ip_fragment() 827 skb_reserve(skb2, (dev->hard_header_len+15)&~15); in ip_fragment()
|
D | ip_forward.c | 121 if (skb_cow(skb, dev2->hard_header_len)) in ip_forward()
|
D | ipip.c | 603 max_headroom = (((tdev->hard_header_len+15)&~15)+sizeof(struct iphdr)); in ipip_tunnel_xmit() 794 dev->hard_header_len = LL_MAX_HEADER + sizeof(struct iphdr); in ipip_tunnel_init_gen() 827 dev->hard_header_len = tdev->hard_header_len + sizeof(struct iphdr); in ipip_tunnel_init()
|
/linux-2.4.37.9/net/packet/ |
D | af_packet.c | 347 if(len>dev->mtu+dev->hard_header_len) in packet_sendmsg_spkt() 351 skb = sock_wmalloc(sk, len+dev->hard_header_len+15, 0, GFP_KERNEL); in packet_sendmsg_spkt() 370 skb_reserve(skb,(dev->hard_header_len+15)&~15); in packet_sendmsg_spkt() 375 skb->data -= dev->hard_header_len; in packet_sendmsg_spkt() 376 skb->tail -= dev->hard_header_len; in packet_sendmsg_spkt() 377 if (len < dev->hard_header_len) in packet_sendmsg_spkt() 718 reserve = dev->hard_header_len; in packet_sendmsg() 724 skb = sock_alloc_send_skb(sk, len+dev->hard_header_len+15, in packet_sendmsg() 729 skb_reserve(skb, (dev->hard_header_len+15)&~15); in packet_sendmsg()
|
/linux-2.4.37.9/drivers/ieee1394/ |
D | eth1394.c | 416 dev->hard_header_len = ETH1394_HLEN; in ether1394_init_dev() 564 return(dev->hard_header_len); in ether1394_header() 570 return dev->hard_header_len; in ether1394_header() 573 return -dev->hard_header_len; in ether1394_header() 864 new->skb = dev_alloc_skb(dg_size + dev->hard_header_len + 15); in new_partial_datagram() 874 skb_reserve(new->skb, (dev->hard_header_len + 15) & ~15); in new_partial_datagram() 936 skb = dev_alloc_skb(len + dev->hard_header_len + 15); in ether1394_data_handler() 942 skb_reserve(skb, (dev->hard_header_len + 15) & ~15); in ether1394_data_handler()
|
/linux-2.4.37.9/net/8021q/ |
D | vlan.c | 460 new_dev->hard_header_len = real_dev->hard_header_len; in register_vlan_device() 463 new_dev->hard_header_len += VLAN_HLEN; in register_vlan_device()
|
/linux-2.4.37.9/net/decnet/ |
D | dn_neigh.c | 200 int headroom = dev->hard_header_len + sizeof(struct dn_long_packet) + 3; in dn_long_output() 246 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; in dn_short_output() 289 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; in dn_phase3_output()
|
/linux-2.4.37.9/net/ipv4/ipvs/ |
D | ip_vs_conn.c | 665 if (unlikely(skb_headroom(skb) < rt->u.dst.dev->hard_header_len)) { in ip_vs_bypass_xmit() 666 if (skb_cow(skb, rt->u.dst.dev->hard_header_len)) { in ip_vs_bypass_xmit() 793 if (ip_vs_skb_cow(skb, rt->u.dst.dev->hard_header_len, &iph, &h.raw)) in ip_vs_nat_xmit() 933 max_headroom = (((tdev->hard_header_len+15)&~15)+sizeof(struct iphdr)); in ip_vs_tunnel_xmit() 1018 if (unlikely(skb_headroom(skb) < rt->u.dst.dev->hard_header_len)) { in ip_vs_dr_xmit() 1019 if (skb_cow(skb, rt->u.dst.dev->hard_header_len)) { in ip_vs_dr_xmit()
|