Lines Matching refs:rm_list
309 mp_opt->rm_list.nr = opsize - TCPOLEN_MPTCP_RM_ADDR_BASE; in mptcp_parse_option()
310 for (i = 0; i < mp_opt->rm_list.nr; i++) in mptcp_parse_option()
311 mp_opt->rm_list.ids[i] = *ptr++; in mptcp_parse_option()
312 pr_debug("RM_ADDR: rm_list_nr=%d\n", mp_opt->rm_list.nr); in mptcp_parse_option()
711 struct mptcp_rm_list rm_list; in mptcp_established_options_rm_addr() local
715 !(mptcp_pm_rm_addr_signal(msk, remaining, &rm_list))) in mptcp_established_options_rm_addr()
718 len = mptcp_rm_addr_len(&rm_list); in mptcp_established_options_rm_addr()
726 opts->rm_list = rm_list; in mptcp_established_options_rm_addr()
728 for (i = 0; i < opts->rm_list.nr; i++) in mptcp_established_options_rm_addr()
729 pr_debug("rm_list_ids[%d]=%d\n", i, opts->rm_list.ids[i]); in mptcp_established_options_rm_addr()
730 MPTCP_ADD_STATS(sock_net(sk), MPTCP_MIB_RMADDRTX, opts->rm_list.nr); in mptcp_established_options_rm_addr()
1175 mptcp_pm_rm_addr_received(msk, &mp_opt.rm_list); in mptcp_incoming_options()
1621 TCPOLEN_MPTCP_RM_ADDR_BASE + opts->rm_list.nr, in mptcp_write_options()
1622 0, opts->rm_list.ids[0]); in mptcp_write_options()
1624 while (i < opts->rm_list.nr) { in mptcp_write_options()
1627 id1 = opts->rm_list.ids[i]; in mptcp_write_options()
1628 id2 = i + 1 < opts->rm_list.nr ? opts->rm_list.ids[i + 1] : TCPOPT_NOP; in mptcp_write_options()
1629 id3 = i + 2 < opts->rm_list.nr ? opts->rm_list.ids[i + 2] : TCPOPT_NOP; in mptcp_write_options()
1630 id4 = i + 3 < opts->rm_list.nr ? opts->rm_list.ids[i + 3] : TCPOPT_NOP; in mptcp_write_options()