Lines Matching refs:poff
1757 int ehdrlen, iphlen, poff, proto;
1781 poff = proto = -1;
1791 poff = ip6_lasthdr(mbuf, ehdrlen, IPPROTO_IPV6, &proto);
1792 if (poff < 0)
1794 poff += ehdrlen;
1810 poff = ehdrlen + iphlen;
1817 if (poff > 0 && mbuf->m_pkthdr.csum_flags != 0) {
1823 if (mbuf->m_len < (poff + sizeof(struct tcphdr))) {
1824 mbuf = m_pullup(mbuf, poff + sizeof(struct tcphdr));
1835 if (mbuf->m_len < (poff + sizeof(struct udphdr))) {
1836 mbuf = m_pullup(mbuf, poff + sizeof(struct udphdr));
1847 if (mbuf->m_len < (poff + sizeof(struct sctphdr))) {
1848 mbuf = m_pullup(mbuf, poff + sizeof(struct sctphdr));
1859 hdr->l4_offset = poff;
1863 th = (struct tcphdr *)((caddr_t)(mbuf->m_data + poff));
1866 hdr->tso_start = poff + (th->th_off * 4);