Home
last modified time | relevance | path

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

/freebsd/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.c4829 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/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()
/freebsd/sys/netpfil/pf/
H A Dpf_norm.c1939 int thoff; in pf_normalize_mss() local
1945 thoff = th->th_off << 2; in pf_normalize_mss()
1946 cnt = thoff - sizeof(struct tcphdr); in pf_normalize_mss()
1976 thoff - sizeof(*th), opts); in pf_normalize_mss()