/freebsd-13-stable/sys/netinet/tcp_stacks/ |
H A D | rack_bbr_common.h | 110 struct tcphdr *th, int32_t thflags, int32_t tlen, 131 struct tcpcb *tp, int32_t tlen, int32_t thflags, int32_t * ret_val); 134 ctf_ts_check_ac(struct tcpcb *tp, int32_t thflags);
|
H A D | rack_bbr_common.c | 617 int32_t thflags; local 620 thflags = *thf; 624 if (thflags & TH_SYN) { 625 thflags &= ~TH_SYN; 630 thflags &= ~TH_URG; 637 || (todrop == tlen && (thflags & TH_FIN) == 0)) { 643 thflags &= ~TH_FIN; 675 thflags &= ~TH_URG; 699 __ctf_do_dropafterack(m, tp, th, thflags, tlen, ret_val, ts, cnt); 706 thflags 720 __ctf_do_dropafterack(struct mbuf *m, struct tcpcb *tp, struct tcphdr *th, int32_t thflags, int32_t tlen, int32_t *ret_val, uint32_t *ts, uint32_t *cnt) argument 860 ctf_ts_check(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, int32_t tlen, int32_t thflags, int32_t * ret_val) argument 892 ctf_ts_check_ac(struct tcpcb *tp, int32_t thflags) argument [all...] |
H A D | bbr.c | 7739 int32_t * ofia, int32_t thflags, int32_t * ret_val) 7754 ctf_do_dropafterack(m, tp, th, thflags, tlen, ret_val); 8158 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt) 8171 if ((thflags & TH_ACK) && 8185 } else if (thflags & TH_ACK) { 8243 if ((tlen || (thflags & TH_FIN) || (tfo_syn && tlen > 0)) && 8252 * queue with control block tp. Set thflags to whether 8298 thflags = th->th_flags & TH_FIN; 8326 thflags = tcp_reass(tp, th, &temp, &tlen, m); 8369 thflags 7736 bbr_process_ack(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, uint32_t tiwin, int32_t tlen, int32_t * ofia, int32_t thflags, int32_t * ret_val) argument 8156 bbr_process_data(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt) argument 8793 bbr_do_syn_sent(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 9003 bbr_do_syn_recv(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 9220 bbr_do_established(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 9355 bbr_do_close_wait(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 9475 bbr_do_fin_wait_1(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 9602 bbr_do_closing(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 9715 bbr_do_lastack(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 9828 bbr_do_fin_wait_2(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 11363 int32_t thflags, retval; local [all...] |
H A D | rack.c | 425 uint32_t tiwin, int32_t tlen, int32_t * ofia, int32_t thflags, int32_t * ret_val); 429 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt); 524 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 528 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 532 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 540 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 544 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 548 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 552 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 556 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_ 9704 rack_process_ack(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, uint32_t tiwin, int32_t tlen, int32_t * ofia, int32_t thflags, int32_t *ret_val) argument 10074 rack_process_data(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt) argument 10732 rack_do_syn_sent(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 10938 rack_do_syn_recv(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 11149 rack_do_established(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 11280 rack_do_close_wait(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 11407 rack_do_fin_wait_1(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 11534 rack_do_closing(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 11647 rack_do_lastack(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 11760 rack_do_fin_wait_2(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, struct tcpopt *to, int32_t drop_hdrlen, int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) argument 13443 int32_t thflags, retval, did_out = 0; local [all...] |
/freebsd-13-stable/sys/netinet/ |
H A D | tcp_timewait.c | 387 int thflags; local 403 thflags = th->th_flags; 404 KASSERT(to != NULL || (thflags & (TH_SYN | TH_ACK)) == TH_SYN, 417 if (thflags & TH_RST) 428 if ((thflags & TH_ACK) == 0) 444 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tw->rcv_nxt)) { 471 if ((thflags & TH_ACK) == 0) 488 if (thflags & TH_FIN) { 489 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); 497 if (thflags ! [all...] |
H A D | tcp_input.c | 642 int thflags; local 819 thflags = th->th_flags; 923 if ((V_tcp_log_in_vain == 1 && (thflags & TH_SYN)) || 933 if ((V_blackhole == 1 && (thflags & TH_SYN)) || 1007 (thflags & TH_SYN) ? TO_SYN : 0); 1091 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) { 1181 if (thflags & TH_RST) { 1188 if ((thflags & TH_SYN) == 0) { 1199 if (thflags & TH_ACK) { 1220 if ((thflags 1525 int thflags, acked, ourfinisacked, needoutput = 0, sack_changed; local [all...] |