/kernel/linux/linux-5.10/net/ife/ |
D | ife.c | 40 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/ |
D | zaurus.c | 78 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()
|
D | rndis_host.c | 334 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()
|
D | int51x1.c | 149 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()
|
D | gl620a.c | 76 if (skb->len < dev->net->hard_header_len) in genelink_rx_fixup() 181 dev->net->hard_header_len += 4; in genelink_bind()
|
D | net1080.c | 346 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()
|
D | cdc_eem.c | 79 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/ |
D | ax25_subr.c | 152 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/ |
D | dev.c | 18 dev->hard_header_len = LTALK_HLEN; in ltalk_setup()
|
D | aarp.c | 104 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()
|
D | ddp.c | 1367 (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/ |
D | sch_teql.c | 175 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/ |
D | net_failover.c | 403 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/ |
D | vlan.c | 323 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/ |
D | lmc_proto.c | 56 dev->hard_header_len = 0; in lmc_proto_attach()
|
/kernel/linux/linux-5.10/net/802/ |
D | fc.c | 82 dev->hard_header_len = FC_HLEN; in fc_setup()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_tunnel.c | 315 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()
|
D | netfilter.c | 77 hh_len = skb_dst(skb)->dev->hard_header_len; in ip_route_me_harder()
|
/kernel/linux/linux-5.10/net/rose/ |
D | rose_dev.c | 135 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/ |
D | nf_log_ipv6.c | 312 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/ |
D | lapbether.c | 328 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/ |
D | nf_log_ipv4.c | 299 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/ |
D | vcan.c | 152 dev->hard_header_len = 0; in vcan_setup()
|