Searched refs:thoff (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14-stable/sys/dev/hyperv/netvsc/ |
| HD | ndis.h | 392 #define NDIS_LSO2_INFO_MAKE(thoff, mss) \ argument 394 ((((uint32_t)(thoff)) & 0x3ff) << 20) | \ 397 #define NDIS_LSO2_INFO_MAKEIPV4(thoff, mss) \ argument 398 NDIS_LSO2_INFO_MAKE((thoff), (mss)) 400 #define NDIS_LSO2_INFO_MAKEIPV6(thoff, mss) \ argument 401 (NDIS_LSO2_INFO_MAKE((thoff), (mss)) | NDIS_LSO2_INFO_ISIPV6) 412 #define NDIS_TXCSUM_INFO_MKL4CS(thoff, flag) \ argument 413 ((((uint32_t)(thoff)) << 16) | (flag)) 415 #define NDIS_TXCSUM_INFO_MKTCPCS(thoff) \ argument 416 NDIS_TXCSUM_INFO_MKL4CS((thoff), NDIS_TXCSUM_INFO_TCPCS) [all …]
|
| HD | if_hn.c | 4829 int thoff; /* TCP data offset */ in hn_check_iplen() local 4878 thoff = th->th_off << 2; in hn_check_iplen() 4879 if (thoff < sizeof(struct tcphdr) || thoff + iphlen > iplen) in hn_check_iplen() 4881 if (m->m_len < hoff + iphlen + thoff) in hn_check_iplen()
|
| /freebsd-14-stable/sys/netpfil/ipfilter/netinet/ |
| HD | ip_scan.c | 513 int i, j, rv, dlen, off, thoff; in ipf_scan_packet() local 532 thoff = TCP_OFF(tcp) << 2; in ipf_scan_packet() 533 dlen = fin->fin_dlen - thoff; in ipf_scan_packet() 544 COPYDATA(*(mb_t **)fin->fin_mp, fin->fin_plen - fin->fin_dlen + thoff, in ipf_scan_packet()
|
| /freebsd-14-stable/sys/netpfil/pf/ |
| HD | pf_norm.c | 2007 int thoff; in pf_normalize_mss() local 2013 thoff = th->th_off << 2; in pf_normalize_mss() 2014 cnt = thoff - sizeof(struct tcphdr); in pf_normalize_mss() 2044 thoff - sizeof(*th), opts); in pf_normalize_mss()
|