Home
last modified time | relevance | path

Searched refs:eth_hlen (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/tools/testing/selftests/net/
Dpsock_snd.sh13 readonly eth_hlen=14
78 (! ./in_netns.sh ./psock_snd -t "$((${vnet_hlen} + ${eth_hlen}))")
81 (! ./in_netns.sh ./psock_snd -t "$((${vnet_hlen} + ${eth_hlen} - 1))")
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c1673 int eth_hlen; in qed_iwarp_parse_rx_pkt() local
1687 eth_hlen = ETH_HLEN + (vlan_valid ? sizeof(u32) : 0); in qed_iwarp_parse_rx_pkt()
1705 eth_hlen, ethh->h_dest); in qed_iwarp_parse_rx_pkt()
1707 iph = (struct iphdr *)((u8 *)(ethh) + eth_hlen); in qed_iwarp_parse_rx_pkt()
1762 *tcp_start_offset = eth_hlen + ip_hlen; in qed_iwarp_parse_rx_pkt()
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_cm.c387 u16 eth_hlen = ETH_HLEN; in i40iw_form_cm_frame() local
408 eth_hlen += 4; in i40iw_form_cm_frame()
416 memset(buf, 0x00, eth_hlen + packetsize); in i40iw_form_cm_frame()
418 sqbuf->totallen = packetsize + eth_hlen; in i40iw_form_cm_frame()
419 sqbuf->maclen = eth_hlen; in i40iw_form_cm_frame()
424 buf += eth_hlen; in i40iw_form_cm_frame()
/Linux-v5.10/net/ipv6/
Dip6_tunnel.c1118 unsigned int eth_hlen = t->dev->type == ARPHRD_ETHER ? ETH_HLEN : 0; in ip6_tnl_xmit() local
1201 mtu = dst_mtu(dst) - eth_hlen - psh_hlen - t->tun_hlen; in ip6_tnl_xmit()
1210 if (skb->len - t->tun_hlen - eth_hlen > mtu && !skb_is_gso(skb)) { in ip6_tnl_xmit()