Lines Matching refs:th
1048 mptcp_do_mpcapable_opt(struct tcpcb *tp, u_char *cp, struct tcphdr *th,
1078 if ((th->th_flags & (TH_SYN | TH_ACK)) == TH_SYN) {
1081 } else if ((th->th_flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) {
1112 optlen, tp->t_state, th->th_sport, th->th_dport,
1116 } else if ((th->th_flags & TH_ACK) &&
1211 mptcp_do_mpjoin_opt(struct tcpcb *tp, u_char *cp, struct tcphdr *th, int optlen)
1224 if ((th->th_flags & (TH_SYN | TH_ACK)) == TH_SYN) {
1268 } else if ((th->th_flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) {
1310 } else if ((th->th_flags & TH_ACK) &&
1712 mptcp_do_dss_opt(struct tcpcb *tp, u_char *cp, struct tcphdr *th, int optlen)
1714 #pragma unused(th, optlen)
1742 mptcp_do_fastclose_opt(struct tcpcb *tp, u_char *cp, struct tcphdr *th)
1747 if (th->th_flags != TH_ACK)
1771 if (th->th_seq != tp->rcv_nxt) {
1796 mptcp_do_mpfail_opt(struct tcpcb *tp, u_char *cp, struct tcphdr *th)
1807 if (th->th_seq != tp->rcv_nxt) {
1813 if ((th->th_flags != TH_ACK) && (th->th_flags != TH_RST))
1836 tcp_do_mptcp_options(struct tcpcb *tp, u_char *cp, struct tcphdr *th,
1849 mptcp_do_mpcapable_opt(tp, cp, th, optlen);
1852 mptcp_do_mpjoin_opt(tp, cp, th, optlen);
1855 mptcp_do_dss_opt(tp, cp, th, optlen);
1858 mptcp_do_fastclose_opt(tp, cp, th);
1861 mptcp_do_mpfail_opt(tp, cp, th);
1941 mptcp_do_mpprio_opt(struct tcpcb *tp, u_char *cp, struct tcphdr *th,