Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/netvsc/
H A Dndis.h349 #define NDIS_LSO2_INFO_MAKE(thoff, mss) \ argument
351 ((((uint32_t)(thoff)) & 0x3ff) << 20) | \
354 #define NDIS_LSO2_INFO_MAKEIPV4(thoff, mss) \ argument
355 NDIS_LSO2_INFO_MAKE((thoff), (mss))
357 #define NDIS_LSO2_INFO_MAKEIPV6(thoff, mss) \ argument
369 #define NDIS_TXCSUM_INFO_MKL4CS(thoff, flag) \ argument
370 ((((uint32_t)(thoff)) << 16) | (flag))
372 #define NDIS_TXCSUM_INFO_MKTCPCS(thoff) \ argument
373 NDIS_TXCSUM_INFO_MKL4CS((thoff), NDIS_TXCSUM_INFO_TCPCS)
375 #define NDIS_TXCSUM_INFO_MKUDPCS(thoff) \ argument
[all …]
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_scan.c528 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,
/f-stack/freebsd/netpfil/pf/
H A Dpf_norm.c1931 int thoff; in pf_normalize_tcpopt() local
1938 thoff = th->th_off << 2; in pf_normalize_tcpopt()
1939 cnt = thoff - sizeof(struct tcphdr); in pf_normalize_tcpopt()
1977 m_copyback(m, off + sizeof(*th), thoff - sizeof(*th), opts); in pf_normalize_tcpopt()