Searched refs:thoff (Results 1 - 4 of 4) sorted by path

/freebsd-11-stable/sys/dev/hyperv/netvsc/
H A Dndis.h394 #define NDIS_LSO2_INFO_MAKE(thoff, mss) \
396 ((((uint32_t)(thoff)) & 0x3ff) << 20) | \
399 #define NDIS_LSO2_INFO_MAKEIPV4(thoff, mss) \
400 NDIS_LSO2_INFO_MAKE((thoff), (mss))
402 #define NDIS_LSO2_INFO_MAKEIPV6(thoff, mss) \
403 (NDIS_LSO2_INFO_MAKE((thoff), (mss)) | NDIS_LSO2_INFO_ISIPV6)
414 #define NDIS_TXCSUM_INFO_MKL4CS(thoff, flag) \
415 ((((uint32_t)(thoff)) << 16) | (flag))
417 #define NDIS_TXCSUM_INFO_MKTCPCS(thoff) \
418 NDIS_TXCSUM_INFO_MKL4CS((thoff), NDIS_TXCSUM_INFO_TCPC
[all...]
H A Dif_hn.c4800 int thoff; /* TCP data offset */ local
4849 thoff = th->th_off << 2;
4850 if (thoff < sizeof(struct tcphdr) || thoff + iphlen > iplen)
4852 if (m->m_len < hoff + iphlen + thoff)
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_scan.c528 int i, j, rv, dlen, off, thoff; local
547 thoff = TCP_OFF(tcp) << 2;
548 dlen = fin->fin_dlen - thoff;
559 COPYDATA(*(mb_t **)fin->fin_mp, fin->fin_plen - fin->fin_dlen + thoff,
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf_norm.c1750 int thoff; local
1756 thoff = th->th_off << 2;
1757 cnt = thoff - sizeof(struct tcphdr);
1792 m_copyback(m, off + sizeof(*th), thoff - sizeof(*th), opts);

Completed in 161 milliseconds