/linux-3.4.99/net/ax25/ |
D | ax25_subr.c | 155 if ((skb = alloc_skb(ax25->ax25_dev->dev->hard_header_len + 2, GFP_ATOMIC)) == NULL) in ax25_send_control() 158 skb_reserve(skb, ax25->ax25_dev->dev->hard_header_len); in ax25_send_control() 199 if ((skb = alloc_skb(dev->hard_header_len + 1, GFP_ATOMIC)) == NULL) in ax25_return_dm() 202 skb_reserve(skb, dev->hard_header_len); in ax25_return_dm()
|
/linux-3.4.99/drivers/net/usb/ |
D | zaurus.c | 92 dev->net->hard_header_len += 6; in zaurus_bind() 93 dev->rx_urb_size = dev->net->hard_header_len + dev->net->mtu; in zaurus_bind() 230 dev->net->hard_header_len += 6; in blan_mdlm_bind() 231 dev->rx_urb_size = dev->net->hard_header_len in blan_mdlm_bind()
|
D | rndis_host.c | 343 net->hard_header_len += sizeof (struct rndis_data_hdr); in generic_rndis_bind() 344 dev->hard_mtu = net->mtu + net->hard_header_len; in generic_rndis_bind() 368 if (tmp <= net->hard_header_len) { in generic_rndis_bind() 378 dev->hard_mtu, tmp, tmp - net->hard_header_len); in generic_rndis_bind() 380 net->mtu = dev->hard_mtu - net->hard_header_len; in generic_rndis_bind() 494 if (skb->len < dev->net->hard_header_len) in rndis_rx_fixup()
|
D | gl620a.c | 90 if (skb->len < dev->net->hard_header_len) in genelink_rx_fixup() 192 dev->net->hard_header_len += 4; in genelink_bind()
|
D | net1080.c | 423 if (skb->len < dev->net->hard_header_len) in net1080_rx_fixup() 430 net->hard_header_len, dev->hard_mtu, net->mtu); in net1080_rx_fixup() 559 dev->net->hard_header_len += extra; in net1080_bind() 560 dev->rx_urb_size = dev->net->hard_header_len + dev->net->mtu; in net1080_bind()
|
D | int51x1.c | 206 dev->net->hard_header_len += INT51X1_HEADER_SIZE; in int51x1_bind() 207 dev->hard_mtu = dev->net->mtu + dev->net->hard_header_len; in int51x1_bind()
|
D | cdc_eem.c | 95 dev->net->hard_header_len += EEM_HEAD + ETH_FCS_LEN; in eem_bind() 96 dev->hard_mtu = dev->net->mtu + dev->net->hard_header_len; in eem_bind()
|
/linux-3.4.99/net/ipv4/netfilter/ |
D | ipt_ULOG.c | 224 if (in && in->hard_header_len > 0 && in ipt_ulog_packet() 226 in->hard_header_len <= ULOG_MAC_LEN) { in ipt_ulog_packet() 227 memcpy(pm->mac, skb_mac_header(skb), in->hard_header_len); in ipt_ulog_packet() 228 pm->mac_len = in->hard_header_len; in ipt_ulog_packet()
|
/linux-3.4.99/net/appletalk/ |
D | dev.c | 17 dev->hard_header_len = LTALK_HLEN; in ltalk_setup()
|
D | aarp.c | 109 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in __aarp_send_query() 122 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in __aarp_send_query() 162 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_reply() 169 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_reply() 211 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_probe() 220 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_probe()
|
/linux-3.4.99/net/8021q/ |
D | vlan.c | 293 vlandev->hard_header_len = dev->hard_header_len; in vlan_transfer_features() 295 vlandev->hard_header_len = dev->hard_header_len + VLAN_HLEN; in vlan_transfer_features()
|
D | vlan_dev.c | 588 dev->hard_header_len = real_dev->hard_header_len; in vlan_dev_init() 591 dev->hard_header_len = real_dev->hard_header_len + VLAN_HLEN; in vlan_dev_init()
|
/linux-3.4.99/net/sched/ |
D | sch_teql.c | 185 if (dev->hard_header_len > m->dev->hard_header_len) in teql_qdisc_init() 387 if (slave->hard_header_len > LL_MAX_HEADER) in teql_master_open() 475 dev->hard_header_len = LL_MAX_HEADER; in teql_master_setup()
|
/linux-3.4.99/net/ipv4/ |
D | netfilter.c | 65 hh_len = skb_dst(skb)->dev->hard_header_len; in ip_route_me_harder() 100 hh_len = skb_dst(skb)->dev->hard_header_len; in ip_xfrm_me_harder()
|
/linux-3.4.99/drivers/net/wan/lmc/ |
D | lmc_proto.c | 59 dev->hard_header_len = 0; in lmc_proto_attach()
|
/linux-3.4.99/arch/um/drivers/ |
D | slip_kern.c | 33 dev->hard_header_len = 0; in slip_init()
|
D | slirp_kern.c | 35 dev->hard_header_len = 0; in slirp_init()
|
/linux-3.4.99/net/802/ |
D | fc.c | 107 dev->hard_header_len = FC_HLEN; in fc_setup()
|
/linux-3.4.99/drivers/firewire/ |
D | net.c | 240 return net->hard_header_len; in fwnet_header_create() 246 return net->hard_header_len; in fwnet_header_create() 249 return -net->hard_header_len; in fwnet_header_create() 401 new->skb = dev_alloc_skb(dg_size + net->hard_header_len + 15); in fwnet_pd_new() 405 skb_reserve(new->skb, (net->hard_header_len + 15) & ~15); in fwnet_pd_new() 693 skb = dev_alloc_skb(len + net->hard_header_len + 15); in fwnet_incoming_packet() 700 skb_reserve(skb, (net->hard_header_len + 15) & ~15); in fwnet_incoming_packet() 1446 net->hard_header_len = FWNET_HLEN; in fwnet_init_dev()
|
/linux-3.4.99/drivers/net/can/ |
D | vcan.c | 144 dev->hard_header_len = 0; in vcan_setup()
|
/linux-3.4.99/drivers/net/ppp/ |
D | pppoe.c | 682 dev->hard_header_len); in pppoe_connect() 855 if (total_len > (dev->mtu + dev->hard_header_len)) in pppoe_sendmsg() 859 skb = sock_wmalloc(sk, total_len + dev->hard_header_len + 32, in pppoe_sendmsg() 867 skb_reserve(skb, dev->hard_header_len); in pppoe_sendmsg() 928 if (skb_cow_head(skb, sizeof(*ph) + dev->hard_header_len)) in __pppoe_xmit()
|
/linux-3.4.99/include/net/ |
D | pkt_sched.h | 112 return dev->mtu + dev->hard_header_len; in psched_mtu()
|
/linux-3.4.99/net/decnet/ |
D | dn_neigh.c | 230 int headroom = dev->hard_header_len + sizeof(struct dn_long_packet) + 3; in dn_long_output() 275 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; in dn_short_output() 317 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; in dn_phase3_output()
|
/linux-3.4.99/net/netfilter/ |
D | xt_LOG.c | 417 if (dev->hard_header_len && in dump_ipv4_mac_header() 423 for (i = 1; i < dev->hard_header_len; i++, p++) in dump_ipv4_mac_header() 759 if (dev->hard_header_len && in dump_ipv6_mac_header() 762 unsigned int len = dev->hard_header_len; in dump_ipv6_mac_header()
|
/linux-3.4.99/net/rose/ |
D | rose_dev.c | 165 dev->hard_header_len = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + ROSE_MIN_LEN; in rose_setup()
|