Home
last modified time | relevance | path

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

/netbsd-src/usr.sbin/npf/npftest/
H A Dnpfstream.c43 unsigned hlen, tcpdlen; in process_tcpip() local
59 tcpdlen = ntohs(ip->ip_len) - hlen - (th->th_off << 2); in process_tcpip()
61 tcpdlen++; in process_tcpip()
64 tcpdlen++; in process_tcpip()
84 tcpdlen, ntohs(th->th_win), (uintptr_t)result[0]); in process_tcpip()
/netbsd-src/sys/net/npf/
H A Dnpf_sendpkt.c100 int tcpdlen, len; in npf_return_tcp() local
106 tcpdlen = npf_tcpsaw(npc, &seq, &ack, &win); in npf_return_tcp()
172 tcpdlen++; in npf_return_tcp()
174 th->th_ack = htonl(seq + tcpdlen); in npf_return_tcp()
H A Dnpf_state_tcp.c298 int tcpdlen, ackskew; in npf_tcp_inwindow() local
323 tcpdlen = npf_tcpsaw(__UNCONST(npc), &seq, &ack, &win); in npf_tcp_inwindow()
324 end = seq + tcpdlen; in npf_tcp_inwindow()