Home
last modified time | relevance | path

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

/netbsd-src/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
416 (NDIS_LSO2_INFO_MAKE((thoff), (mss)) | NDIS_LSO2_INFO_ISIPV6)
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)
[all …]
/netbsd-src/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-src/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-src/sys/netinet/
H A Dtcp_input.c3012 tcp_signature(struct mbuf *m, struct tcphdr *th, int thoff, in tcp_signature()
3041 ippseudo.ippseudo_len = htons(m->m_pkthdr.len - thoff); in tcp_signature()
3053 ip6pseudo.ip6ph_len = htons(m->m_pkthdr.len - thoff); in tcp_signature()
3066 l = m->m_pkthdr.len - thoff - tcphdrlen; in tcp_signature()
3068 m_apply(m, thoff + tcphdrlen,
3069 m->m_pkthdr.len - thoff - tcphdrlen,
3003 tcp_signature(struct mbuf * m,struct tcphdr * th,int thoff,struct secasvar * sav,char * sig) tcp_signature() argument
/netbsd-src/sys/dist/pf/net/
H A Dpf_norm.c1882 int thoff; local
1887 thoff = th->th_off << 2;
1888 cnt = thoff - sizeof(struct tcphdr);