Home
last modified time | relevance | path

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

/netbsd/sys/dev/ic/
H A Dndisreg.h407 #define NDIS_LSO2_INFO_MAKE(thoff, mss) \ argument
409 ((((uint32_t)(thoff)) & 0x3ff) << 20) | \
412 #define NDIS_LSO2_INFO_MAKEIPV4(thoff, mss) \ argument
413 NDIS_LSO2_INFO_MAKE((thoff), (mss))
415 #define NDIS_LSO2_INFO_MAKEIPV6(thoff, mss) \ argument
427 #define NDIS_TXCSUM_INFO_MKL4CS(thoff, flag) \ argument
428 ((((uint32_t)(thoff)) << 16) | (flag))
430 #define NDIS_TXCSUM_INFO_MKTCPCS(thoff) \ argument
431 NDIS_TXCSUM_INFO_MKL4CS((thoff), NDIS_TXCSUM_INFO_TCPCS)
433 #define NDIS_TXCSUM_INFO_MKUDPCS(thoff) \ argument
[all …]
/netbsd/sys/external/bsd/ipf/netinet/
H A Dip_scan.c543 int i, j, rv, dlen, off, thoff; local
562 thoff = TCP_OFF(tcp) << 2;
563 dlen = fin->fin_dlen - thoff;
574 COPYDATA(*(mb_t **)fin->fin_mp, fin->fin_plen - fin->fin_dlen + thoff,
/netbsd/external/bsd/ipf/dist/
H A Dip_scan.c538 int i, j, rv, dlen, off, thoff; local
557 thoff = TCP_OFF(tcp) << 2;
558 dlen = fin->fin_dlen - thoff;
569 COPYDATA(*(mb_t **)fin->fin_mp, fin->fin_plen - fin->fin_dlen + thoff,
/netbsd/sys/netinet/
H A Dtcp_input.c3007 tcp_signature(struct mbuf *m, struct tcphdr *th, int thoff, in tcp_signature() argument
3036 ippseudo.ippseudo_len = htons(m->m_pkthdr.len - thoff); in tcp_signature()
3048 ip6pseudo.ip6ph_len = htons(m->m_pkthdr.len - thoff); in tcp_signature()
3061 l = m->m_pkthdr.len - thoff - tcphdrlen; in tcp_signature()
3063 m_apply(m, thoff + tcphdrlen, in tcp_signature()
3064 m->m_pkthdr.len - thoff - tcphdrlen, in tcp_signature()
/netbsd/sys/dist/pf/net/
H A Dpf_norm.c1880 int thoff; local
1885 thoff = th->th_off << 2;
1886 cnt = thoff - sizeof(struct tcphdr);