Lines Matching refs:ip_hlen
2283 uint32_t ehdrlen, hdrlen, ip_hlen, tcp_hlen, tcp_opt_off;
2315 ip_hlen = ip->ip_hl << 2;
2320 (ip_hlen != sizeof (struct ip))){
2325 th = (struct tcphdr *)((caddr_t)ip + ip_hlen);
2341 ip_hlen = sizeof(struct ip6_hdr);
2348 th = (struct tcphdr *)((caddr_t)ip6 + ip_hlen);
2361 hdrlen = ehdrlen + ip_hlen + tcp_hlen;
2378 tx_cmd->tcp_hdr_off = ip_hlen + ehdrlen;
2407 uint32_t ehdrlen, ip_hlen;
2435 ip_hlen = sizeof (struct ip);
2437 if (mp->m_len < (ehdrlen + ip_hlen)) {
2455 ip_hlen = sizeof(struct ip6_hdr);
2457 if (mp->m_len < (ehdrlen + ip_hlen)) {
2481 *tcp_hdr_off = (ip_hlen + ehdrlen);