Home
last modified time | relevance | path

Searched refs:thoff (Results 1 – 3 of 3) sorted by relevance

/src/sys/dev/hyperv/netvsc/
H A Dndis.h392 #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 …]
H A Dif_hn.c4818 int thoff; /* TCP data offset */ in hn_check_iplen() local
4867 thoff = th->th_off << 2; in hn_check_iplen()
4868 if (thoff < sizeof(struct tcphdr) || thoff + iphlen > iplen) in hn_check_iplen()
4870 if (m->m_len < hoff + iphlen + thoff) in hn_check_iplen()
/src/sys/netpfil/ipfilter/netinet/
H A Dip_scan.c509 int i, j, rv, dlen, off, thoff; in ipf_scan_packet() local
528 thoff = TCP_OFF(tcp) << 2; in ipf_scan_packet()
529 dlen = fin->fin_dlen - thoff; in ipf_scan_packet()
540 COPYDATA(*(mb_t **)fin->fin_mp, fin->fin_plen - fin->fin_dlen + thoff, in ipf_scan_packet()