Searched refs:thoff (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13.1/sys/dev/hyperv/netvsc/ |
| H A D | 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 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) 420 #define NDIS_TXCSUM_INFO_MKUDPCS(thoff) \ argument [all …]
|
| H A D | if_hn.c | 4849 int thoff; /* TCP data offset */ in hn_check_iplen() local 4898 thoff = th->th_off << 2; in hn_check_iplen() 4899 if (thoff < sizeof(struct tcphdr) || thoff + iphlen > iplen) in hn_check_iplen() 4901 if (m->m_len < hoff + iphlen + thoff) in hn_check_iplen()
|
| /freebsd-13.1/sys/netpfil/ipfilter/netinet/ |
| H A D | 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-13.1/sys/netpfil/pf/ |
| H A D | pf_norm.c | 1936 int thoff; in pf_normalize_tcpopt() local 1943 thoff = th->th_off << 2; in pf_normalize_tcpopt() 1944 cnt = thoff - sizeof(struct tcphdr); in pf_normalize_tcpopt() 1982 m_copyback(m, off + sizeof(*th), thoff - sizeof(*th), opts); in pf_normalize_tcpopt()
|