Lines Matching refs:th
519 struct tcphdr th; in ipsec4_get_ulp() local
529 m_copydata(m, off, sizeof (th), (caddr_t) &th); in ipsec4_get_ulp()
530 spidx->src.sin.sin_port = th.th_sport; in ipsec4_get_ulp()
531 spidx->dst.sin.sin_port = th.th_dport; in ipsec4_get_ulp()
680 struct tcphdr th; in ipsec6_get_ulp() local
705 m_copydata(m, off, sizeof(th), (caddr_t)&th); in ipsec6_get_ulp()
706 spidx->src.sin6.sin6_port = th.th_sport; in ipsec6_get_ulp()
707 spidx->dst.sin6.sin6_port = th.th_dport; in ipsec6_get_ulp()
1253 uint32_t tl, th, bl; in ipsec_chkreplay() local
1271 th = (uint32_t)(replay->last >> 32); /* Top of window, high part */ in ipsec_chkreplay()
1282 *seqhigh = th; in ipsec_chkreplay()
1321 if (th == 0) in ipsec_chkreplay()
1323 *seqhigh = th - 1; in ipsec_chkreplay()
1324 seqh = th - 1; in ipsec_chkreplay()
1334 *seqhigh = th + 1; in ipsec_chkreplay()
1335 seqh = th + 1; in ipsec_chkreplay()
1368 uint32_t tl, th, bl; in ipsec_updatereplay() local
1386 th = (uint32_t)(replay->last >> 32); /* Top of window, high part */ in ipsec_updatereplay()
1397 seqh = th; in ipsec_updatereplay()
1424 if (th == 0) in ipsec_updatereplay()
1438 seqh = th + 1; in ipsec_updatereplay()