Lines Matching refs:sauth_entry
1768 struct mptcp_subf_auth_entry *sauth_entry; in mptcp_attach_to_subf() local
1780 sauth_entry = zalloc(mpt_subauth_zone); in mptcp_attach_to_subf()
1781 sauth_entry->msae_laddr_id = tp->t_local_aid; in mptcp_attach_to_subf()
1782 sauth_entry->msae_raddr_id = 0; in mptcp_attach_to_subf()
1783 sauth_entry->msae_raddr_rand = 0; in mptcp_attach_to_subf()
1785 sauth_entry->msae_laddr_rand = RandomULong(); in mptcp_attach_to_subf()
1786 if (sauth_entry->msae_laddr_rand == 0) { in mptcp_attach_to_subf()
1789 LIST_INSERT_HEAD(&mp_tp->mpt_subauth_list, sauth_entry, msae_next); in mptcp_attach_to_subf()
1795 struct mptcp_subf_auth_entry *sauth_entry; in mptcp_detach_mptcb_from_subf() local
1804 LIST_FOREACH(sauth_entry, &mp_tp->mpt_subauth_list, msae_next) { in mptcp_detach_mptcb_from_subf()
1805 if (sauth_entry->msae_laddr_id == tp->t_local_aid) { in mptcp_detach_mptcb_from_subf()
1811 LIST_REMOVE(sauth_entry, msae_next); in mptcp_detach_mptcb_from_subf()
1815 zfree(mpt_subauth_zone, sauth_entry); in mptcp_detach_mptcb_from_subf()
5040 struct mptcp_subf_auth_entry *sauth_entry; in mptcp_get_rands() local
5042 LIST_FOREACH(sauth_entry, &mp_tp->mpt_subauth_list, msae_next) { in mptcp_get_rands()
5043 if (sauth_entry->msae_laddr_id == addr_id) { in mptcp_get_rands()
5045 *lrand = sauth_entry->msae_laddr_rand; in mptcp_get_rands()
5048 *rrand = sauth_entry->msae_raddr_rand; in mptcp_get_rands()
5059 struct mptcp_subf_auth_entry *sauth_entry; in mptcp_set_raddr_rand() local
5061 LIST_FOREACH(sauth_entry, &mp_tp->mpt_subauth_list, msae_next) { in mptcp_set_raddr_rand()
5062 if (sauth_entry->msae_laddr_id == laddr_id) { in mptcp_set_raddr_rand()
5063 if ((sauth_entry->msae_raddr_id != 0) && in mptcp_set_raddr_rand()
5064 (sauth_entry->msae_raddr_id != raddr_id)) { in mptcp_set_raddr_rand()
5067 raddr_id, sauth_entry->msae_raddr_id); in mptcp_set_raddr_rand()
5070 sauth_entry->msae_raddr_id = raddr_id; in mptcp_set_raddr_rand()
5071 if ((sauth_entry->msae_raddr_rand != 0) && in mptcp_set_raddr_rand()
5072 (sauth_entry->msae_raddr_rand != raddr_rand)) { in mptcp_set_raddr_rand()
5076 raddr_rand, sauth_entry->msae_raddr_rand); in mptcp_set_raddr_rand()
5079 sauth_entry->msae_raddr_rand = raddr_rand; in mptcp_set_raddr_rand()