Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/net/ife/
Dife.c40 int total_push = hdrm + skb->dev->hard_header_len; in ife_encode()
53 memcpy(skb->data, iethh, skb->dev->hard_header_len); in ife_encode()
55 skboff += skb->dev->hard_header_len; in ife_encode()
72 if (!pskb_may_pull(skb, skb->dev->hard_header_len + IFE_METAHDRLEN)) in ife_decode()
75 ifehdr = (struct ifeheadr *) (skb->data + skb->dev->hard_header_len); in ife_decode()
77 total_pull = skb->dev->hard_header_len + ifehdrln; in ife_decode()
/kernel/linux/linux-5.10/drivers/net/usb/
Dzaurus.c78 dev->net->hard_header_len += 6; in zaurus_bind()
79 dev->rx_urb_size = dev->net->hard_header_len + dev->net->mtu; in zaurus_bind()
216 dev->net->hard_header_len += 6; in blan_mdlm_bind()
217 dev->rx_urb_size = dev->net->hard_header_len in blan_mdlm_bind()
Drndis_host.c334 net->hard_header_len += sizeof (struct rndis_data_hdr); in generic_rndis_bind()
335 dev->hard_mtu = net->mtu + net->hard_header_len; in generic_rndis_bind()
359 if (tmp <= net->hard_header_len) { in generic_rndis_bind()
369 dev->hard_mtu, tmp, tmp - net->hard_header_len); in generic_rndis_bind()
371 net->mtu = dev->hard_mtu - net->hard_header_len; in generic_rndis_bind()
490 if (skb->len < dev->net->hard_header_len) in rndis_rx_fixup()
Dint51x1.c149 dev->net->hard_header_len += INT51X1_HEADER_SIZE; in int51x1_bind()
150 dev->hard_mtu = dev->net->mtu + dev->net->hard_header_len; in int51x1_bind()
Dgl620a.c76 if (skb->len < dev->net->hard_header_len) in genelink_rx_fixup()
181 dev->net->hard_header_len += 4; in genelink_bind()
Dnet1080.c346 if (skb->len < dev->net->hard_header_len) in net1080_rx_fixup()
351 skb->len, dev->net->hard_header_len, dev->hard_mtu, in net1080_rx_fixup()
480 dev->net->hard_header_len += extra; in net1080_bind()
481 dev->rx_urb_size = dev->net->hard_header_len + dev->net->mtu; in net1080_bind()
Dcdc_eem.c79 dev->net->hard_header_len += EEM_HEAD + ETH_FCS_LEN + VLAN_HLEN; in eem_bind()
80 dev->hard_mtu = dev->net->mtu + dev->net->hard_header_len; in eem_bind()
/kernel/linux/linux-5.10/net/ax25/
Dax25_subr.c152 if ((skb = alloc_skb(ax25->ax25_dev->dev->hard_header_len + 2, GFP_ATOMIC)) == NULL) in ax25_send_control()
155 skb_reserve(skb, ax25->ax25_dev->dev->hard_header_len); in ax25_send_control()
196 if ((skb = alloc_skb(dev->hard_header_len + 1, GFP_ATOMIC)) == NULL) in ax25_return_dm()
199 skb_reserve(skb, dev->hard_header_len); in ax25_return_dm()
/kernel/linux/linux-5.10/net/appletalk/
Ddev.c18 dev->hard_header_len = LTALK_HLEN; in ltalk_setup()
Daarp.c104 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in __aarp_send_query()
117 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in __aarp_send_query()
157 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_reply()
164 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_reply()
206 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_probe()
215 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_probe()
Dddp.c1367 (rt->dev->hard_header_len + in atalk_route_packet()
1579 int size, hard_header_len; in atalk_sendmsg() local
1643 hard_header_len = dev->hard_header_len; in atalk_sendmsg()
1654 if (rt_lo && rt_lo->dev->hard_header_len > hard_header_len) in atalk_sendmsg()
1655 hard_header_len = rt_lo->dev->hard_header_len; in atalk_sendmsg()
1658 size += hard_header_len; in atalk_sendmsg()
1666 skb_reserve(skb, hard_header_len); in atalk_sendmsg()
/kernel/linux/linux-5.10/net/sched/
Dsch_teql.c175 if (dev->hard_header_len > m->dev->hard_header_len) in teql_qdisc_init()
376 if (slave->hard_header_len > LL_MAX_HEADER) in teql_master_open()
462 dev->hard_header_len = LL_MAX_HEADER; in teql_master_setup()
/kernel/linux/linux-5.10/drivers/net/
Dnet_failover.c403 if (primary_dev->hard_header_len > max_hard_header_len) in net_failover_compute_features()
404 max_hard_header_len = primary_dev->hard_header_len; in net_failover_compute_features()
419 if (standby_dev->hard_header_len > max_hard_header_len) in net_failover_compute_features()
420 max_hard_header_len = standby_dev->hard_header_len; in net_failover_compute_features()
425 dev->hard_header_len = max_hard_header_len; in net_failover_compute_features()
/kernel/linux/linux-5.10/net/8021q/
Dvlan.c323 vlandev->hard_header_len = dev->hard_header_len; in vlan_transfer_features()
325 vlandev->hard_header_len = dev->hard_header_len + VLAN_HLEN; in vlan_transfer_features()
/kernel/linux/linux-5.10/drivers/net/wan/lmc/
Dlmc_proto.c56 dev->hard_header_len = 0; in lmc_proto_attach()
/kernel/linux/linux-5.10/net/802/
Dfc.c82 dev->hard_header_len = FC_HLEN; in fc_setup()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ipv4/
Dip_tunnel.c315 hlen = tdev->hard_header_len + tdev->needed_headroom; in ip_tunnel_bind_dev()
320 mtu -= t_hlen + (dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0); in ip_tunnel_bind_dev()
352 dev->max_mtu -= dev->hard_header_len; in ip_tunnel_create()
495 pkt_size -= dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0; in tnl_update_pmtu()
499 mtu -= dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0; in tnl_update_pmtu()
982 max_mtu -= dev->hard_header_len; in __ip_tunnel_change_mtu()
1162 max -= dev->hard_header_len; in ip_tunnel_newlink()
Dnetfilter.c77 hh_len = skb_dst(skb)->dev->hard_header_len; in ip_route_me_harder()
/kernel/linux/linux-5.10/net/rose/
Drose_dev.c135 dev->hard_header_len = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + ROSE_MIN_LEN; in rose_setup()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_log_ipv6.c312 if (dev->hard_header_len && in dump_ipv6_mac_header()
315 unsigned int len = dev->hard_header_len; in dump_ipv6_mac_header()
/kernel/linux/linux-5.10/drivers/net/wan/
Dlapbether.c328 dev->hard_header_len = 0; in lapbeth_setup()
355 ndev->needed_headroom = -1 + 3 + 2 + dev->hard_header_len in lapbeth_new_device()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_log_ipv4.c299 if (dev->hard_header_len && in dump_ipv4_mac_header()
305 for (i = 1; i < dev->hard_header_len; i++, p++) in dump_ipv4_mac_header()
/kernel/linux/linux-5.10/drivers/net/can/
Dvcan.c152 dev->hard_header_len = 0; in vcan_setup()

123456