Searched refs:eth_hlen (Results 1 – 4 of 4) sorted by relevance
13 readonly eth_hlen=1478 (! ./in_netns.sh ./psock_snd -t "$((${vnet_hlen} + ${eth_hlen}))")81 (! ./in_netns.sh ./psock_snd -t "$((${vnet_hlen} + ${eth_hlen} - 1))")
1673 int eth_hlen; in qed_iwarp_parse_rx_pkt() local1687 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()
387 u16 eth_hlen = ETH_HLEN; in i40iw_form_cm_frame() local408 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()
1118 unsigned int eth_hlen = t->dev->type == ARPHRD_ETHER ? ETH_HLEN : 0; in ip6_tnl_xmit() local1201 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()