Home
last modified time | relevance | path

Searched refs:hard_header_len (Results 1 – 25 of 121) sorted by relevance

12345

/linux-3.4.99/net/ax25/
Dax25_subr.c155 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/
Dzaurus.c92 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()
Drndis_host.c343 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()
Dgl620a.c90 if (skb->len < dev->net->hard_header_len) in genelink_rx_fixup()
192 dev->net->hard_header_len += 4; in genelink_bind()
Dnet1080.c423 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()
Dint51x1.c206 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()
Dcdc_eem.c95 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/
Dipt_ULOG.c224 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/
Ddev.c17 dev->hard_header_len = LTALK_HLEN; in ltalk_setup()
Daarp.c109 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/
Dvlan.c293 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()
Dvlan_dev.c588 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/
Dsch_teql.c185 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/
Dnetfilter.c65 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/
Dlmc_proto.c59 dev->hard_header_len = 0; in lmc_proto_attach()
/linux-3.4.99/arch/um/drivers/
Dslip_kern.c33 dev->hard_header_len = 0; in slip_init()
Dslirp_kern.c35 dev->hard_header_len = 0; in slirp_init()
/linux-3.4.99/net/802/
Dfc.c107 dev->hard_header_len = FC_HLEN; in fc_setup()
/linux-3.4.99/drivers/firewire/
Dnet.c240 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/
Dvcan.c144 dev->hard_header_len = 0; in vcan_setup()
/linux-3.4.99/drivers/net/ppp/
Dpppoe.c682 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/
Dpkt_sched.h112 return dev->mtu + dev->hard_header_len; in psched_mtu()
/linux-3.4.99/net/decnet/
Ddn_neigh.c230 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/
Dxt_LOG.c417 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/
Drose_dev.c165 dev->hard_header_len = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + ROSE_MIN_LEN; in rose_setup()

12345