Lines Matching refs:ip_hlen
719 uint32_t ehdrlen, hdrlen = 0, ip_hlen, tcp_hlen, tcp_opt_off;
749 ip_hlen = ip->ip_hl << 2;
753 (ip_hlen != sizeof (struct ip))) {
756 th = (struct tcphdr *)((caddr_t)ip + ip_hlen);
772 hdrlen = ehdrlen + ip_hlen + tcp_hlen;
812 tx_cmd->tcp_hdr_off = ip_hlen + ehdrlen;
841 uint32_t ehdrlen, ip_hlen;
865 ip_hlen = sizeof (struct ip);
867 if (mp->m_len < (ehdrlen + ip_hlen)) {
886 ip_hlen = sizeof(struct ip6_hdr);
888 if (mp->m_len < (ehdrlen + ip_hlen)) {
913 tx_cmd->tcp_hdr_off = ip_hlen + ehdrlen;