Lines Matching refs:t_mpflags

187 		if (tp->t_mpflags & TMPF_BACKUP_PATH)
204 tp->t_mpflags |= TMPF_BACKUP_PATH;
247 tp->t_mpflags |= TMPF_FASTJOINBY2_SEND;
287 tp->t_mpflags &= ~TMPF_SND_MPFAIL;
293 tp->t_mpflags &= ~TMPF_SND_MPFAIL;
308 tp->t_mpflags &= ~TMPF_SND_MPFAIL;
381 tp->t_mpflags |= TMPF_INFIN_SENT;
446 u_int32_t old_mpt_flags = tp->t_mpflags &
470 "tp->t_mpflags %x"
471 "len %d\n", __func__, optlen, flags, tp->t_mpflags,
477 if (tp->t_mpflags & TMPF_FASTCLOSE) {
483 if (tp->t_mpflags & TMPF_TCP_FALLBACK) {
484 if (tp->t_mpflags & TMPF_SND_MPFAIL)
486 else if (!(tp->t_mpflags & TMPF_INFIN_SENT))
491 if (tp->t_mpflags & TMPF_SND_MPPRIO) {
496 if (((tp->t_mpflags & TMPF_FASTJOINBY2_SEND) ||
497 (tp->t_mpflags & TMPF_FASTJOIN_SEND )) &&
499 tp->t_mpflags &= ~TMPF_FASTJOINBY2_SEND;
500 tp->t_mpflags &= ~TMPF_FASTJOIN_SEND;
504 if ((tp->t_mpflags & TMPF_PREESTABLISHED) &&
505 (!(tp->t_mpflags & TMPF_SENT_KEYS)) &&
506 (!(tp->t_mpflags & TMPF_JOINED_FLOW))) {
527 tp->t_mpflags |= TMPF_SENT_KEYS;
529 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
530 tp->t_mpflags |= TMPF_MPTCP_TRUE;
541 } else if (tp->t_mpflags & TMPF_MPTCP_TRUE) {
542 if (tp->t_mpflags & TMPF_SND_REM_ADDR) {
550 tp->t_mpflags &= ~TMPF_SND_REM_ADDR;
555 if ((tp->t_mpflags & TMPF_JOINED_FLOW) &&
556 (tp->t_mpflags & TMPF_PREESTABLISHED) &&
557 (!(tp->t_mpflags & TMPF_RECVD_JOIN)) &&
558 (tp->t_mpflags & TMPF_SENT_JOIN) &&
559 (!(tp->t_mpflags & TMPF_MPTCP_TRUE))) {
577 if (!(tp->t_mpflags & TMPF_MPTCP_TRUE))
628 if ((tp->t_mpflags & TMPF_SEND_DSN) &&
669 if (tp->t_mpflags & TMPF_SEND_DFIN) {
700 tp->t_mpflags &= ~TMPF_MPTCP_ACKNOW;
704 if ((tp->t_mpflags & TMPF_SEND_DSN) &&
706 !(tp->t_mpflags & TMPF_MPTCP_ACKNOW)) {
734 if (tp->t_mpflags & TMPF_SEND_DFIN) {
756 tp->t_mpflags &= ~TMPF_MPTCP_ACKNOW;
761 if ((tp->t_mpflags & TMPF_MPTCP_ACKNOW) &&
763 !(tp->t_mpflags & TMPF_SEND_DSN) &&
764 !(tp->t_mpflags & TMPF_SEND_DFIN)) {
785 tp->t_mpflags &= ~TMPF_MPTCP_ACKNOW;
790 if ((tp->t_mpflags & TMPF_MPTCP_ACKNOW) &&
792 !(tp->t_mpflags & TMPF_SEND_DSN) &&
793 !(tp->t_mpflags & TMPF_SEND_DFIN)) {
817 tp->t_mpflags &= ~TMPF_MPTCP_ACKNOW;
822 if ((tp->t_mpflags & TMPF_SEND_DSN) &&
825 (tp->t_mpflags & TMPF_MPTCP_ACKNOW)) {
857 if (tp->t_mpflags & TMPF_SEND_DFIN) {
878 tp->t_mpflags &= ~TMPF_MPTCP_ACKNOW;
883 if ((tp->t_mpflags & TMPF_SEND_DSN) &&
886 (tp->t_mpflags & TMPF_MPTCP_ACKNOW)) {
916 if (tp->t_mpflags & TMPF_SEND_DFIN) {
937 tp->t_mpflags &= ~TMPF_MPTCP_ACKNOW;
941 if (tp->t_mpflags & TMPF_SEND_DFIN) {
992 u_int32_t new_mpt_flags = tp->t_mpflags &
1010 tp->t_mpflags &= ~(TMPF_SND_MPPRIO
1056 tp->t_mpflags |= TMPF_RESET; \
1107 tp->t_mpflags |= TMPF_PREESTABLISHED;
1117 (tp->t_mpflags & TMPF_PREESTABLISHED)) {
1172 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1183 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1187 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1188 tp->t_mpflags |= TMPF_MPTCP_RCVD_KEY;
1189 tp->t_mpflags |= TMPF_MPTCP_TRUE;
1214 tp->t_mpflags |= TMPF_RESET; \
1256 if (tp->t_mpflags & TMPF_PREESTABLISHED) {
1261 tp->t_mpflags |= TMPF_PREESTABLISHED | TMPF_JOINED_FLOW;
1262 tp->t_mpflags |= TMPF_RECVD_JOIN;
1265 tp->t_mpflags |= TMPF_BACKUP_PATH;
1278 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1288 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1304 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1309 tp->t_mpflags |= TMPF_SENT_JOIN;
1311 (tp->t_mpflags & TMPF_PREESTABLISHED)) {
1321 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1328 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1340 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1344 tp->t_mpflags |= TMPF_MPTCP_TRUE;
1345 tp->t_mpflags &= ~TMPF_PREESTABLISHED;
1347 tp->t_mpflags |= TMPF_MPTCP_ACKNOW;
1687 if (!(tp->t_mpflags & TMPF_RECV_DFIN)) {
1700 tp->t_mpflags |= TMPF_RECV_DFIN;
1703 tp->t_mpflags |= TMPF_MPTCP_ACKNOW;
1721 if ((tp->t_mpflags & TMPF_MPTCP_TRUE) ||
1722 (tp->t_mpflags & TMPF_TCP_FALLBACK)) {
1786 tp->t_mpflags |= TMPF_RESET;
1926 tp->t_mpflags &= ~TMPF_SND_REM_ADDR;
1947 if ((tp == NULL) || !(tp->t_mpflags & TMPF_MPTCP_TRUE))
1963 tp->t_mpflags &= ~TMPF_SND_MPPRIO;
1968 tp->t_mpflags &= ~TMPF_SND_MPPRIO;
1980 if (tp->t_mpflags & TMPF_BACKUP_PATH)
1985 tp->t_mpflags &= ~TMPF_SND_MPPRIO;