Lines Matching refs:laddr
311 struct sctp_sockaddr_entry *laddr; in sctp_bind_addr_match() local
315 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_bind_addr_match()
316 if (!laddr->valid) in sctp_bind_addr_match()
318 if (opt->pf->cmp_addr(&laddr->a, addr, opt)) { in sctp_bind_addr_match()
333 struct sctp_sockaddr_entry *laddr, *laddr2; in sctp_bind_addrs_check() local
338 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_bind_addrs_check()
340 if (sp->pf->af->cmp_addr(&laddr->a, &laddr2->a) && in sctp_bind_addrs_check()
341 laddr->valid && laddr2->valid) { in sctp_bind_addrs_check()
364 struct sctp_sockaddr_entry *laddr; in sctp_bind_addr_conflict() local
380 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_bind_addr_conflict()
381 if (!laddr->valid) in sctp_bind_addr_conflict()
384 conflict = sp->pf->cmp_addr(&laddr->a, addr, sp); in sctp_bind_addr_conflict()
397 struct sctp_sockaddr_entry *laddr; in sctp_bind_addr_state() local
404 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_bind_addr_state()
405 if (!laddr->valid) in sctp_bind_addr_state()
407 if (af->cmp_addr(&laddr->a, addr)) in sctp_bind_addr_state()
408 return laddr->state; in sctp_bind_addr_state()
422 struct sctp_sockaddr_entry *laddr; in sctp_find_unmatch_addr() local
432 list_for_each_entry(laddr, &bp->address_list, list) { in sctp_find_unmatch_addr()
440 if (opt->pf->cmp_addr(&laddr->a, addr, opt)) in sctp_find_unmatch_addr()
446 return &laddr->a; in sctp_find_unmatch_addr()