Searched refs:thoff (Results 1 – 4 of 4) sorted by relevance
| /freebsd-11-stable/sys/dev/hyperv/netvsc/ |
| HD | ndis.h | 394 #define NDIS_LSO2_INFO_MAKE(thoff, mss) \ argument 396 ((((uint32_t)(thoff)) & 0x3ff) << 20) | \ 399 #define NDIS_LSO2_INFO_MAKEIPV4(thoff, mss) \ argument 400 NDIS_LSO2_INFO_MAKE((thoff), (mss)) 402 #define NDIS_LSO2_INFO_MAKEIPV6(thoff, mss) \ argument 403 (NDIS_LSO2_INFO_MAKE((thoff), (mss)) | NDIS_LSO2_INFO_ISIPV6) 414 #define NDIS_TXCSUM_INFO_MKL4CS(thoff, flag) \ argument 415 ((((uint32_t)(thoff)) << 16) | (flag)) 417 #define NDIS_TXCSUM_INFO_MKTCPCS(thoff) \ argument 418 NDIS_TXCSUM_INFO_MKL4CS((thoff), NDIS_TXCSUM_INFO_TCPCS) [all …]
|
| HD | if_hn.c | 4800 int thoff; /* TCP data offset */ in hn_check_iplen() local 4849 thoff = th->th_off << 2; in hn_check_iplen() 4850 if (thoff < sizeof(struct tcphdr) || thoff + iphlen > iplen) in hn_check_iplen() 4852 if (m->m_len < hoff + iphlen + thoff) in hn_check_iplen()
|
| /freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
| HD | ip_scan.c | 528 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/ |
| HD | pf_norm.c | 1750 int thoff; in pf_normalize_tcpopt() local 1756 thoff = th->th_off << 2; in pf_normalize_tcpopt() 1757 cnt = thoff - sizeof(struct tcphdr); in pf_normalize_tcpopt() 1792 m_copyback(m, off + sizeof(*th), thoff - sizeof(*th), opts); in pf_normalize_tcpopt()
|