Lines Matching refs:ehlen
1240 int ehlen, iphlen, tcphlen; in nxge_do_softlso() local
1273 ehlen = sizeof (struct ether_vlan_header); in nxge_do_softlso()
1275 ehlen = sizeof (struct ether_header); in nxge_do_softlso()
1276 oiph = (struct ip *)(mp->b_rptr + ehlen); in nxge_do_softlso()
1278 otcph = (struct tcphdr *)(mp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1281 l4_len = pktlen - ehlen - iphlen; in nxge_do_softlso()
1294 ehlen, in nxge_do_softlso()
1304 ntohs(oiph->ip_len), pktlen, ehlen, in nxge_do_softlso()
1314 ntohs(oiph->ip_len), pktlen, ehlen, in nxge_do_softlso()
1320 if (!(ntohs(oiph->ip_len) == pktlen - ehlen)) { in nxge_do_softlso()
1324 ntohs(oiph->ip_len), pktlen, ehlen, in nxge_do_softlso()
1330 otcph = (struct tcphdr *)(mp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1336 hdrlen = ehlen + iphlen + tcphlen; in nxge_do_softlso()
1353 pktlen, hdrlen, ehlen, iphlen, tcphlen, in nxge_do_softlso()
1567 niph = (struct ip *)(nmp->b_rptr + ehlen); in nxge_do_softlso()
1570 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1617 niph = (struct ip *)(nmp->b_rptr + ehlen); in nxge_do_softlso()
1620 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1658 niph = (struct ip *)(nmp->b_rptr + ehlen); in nxge_do_softlso()
1661 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen); in nxge_do_softlso()