Lines Matching refs:af
222 struct sctp_af *af; in sctp_bind_addrs_to_raw() local
247 af = sctp_get_af_specific(addr->a.v4.sin_family); in sctp_bind_addrs_to_raw()
248 len = af->to_addr_param(&addr->a, &rawaddr); in sctp_bind_addrs_to_raw()
271 struct sctp_af *af; in sctp_raw_to_bind_addrs() local
278 af = sctp_get_af_specific(param_type2af(param->type)); in sctp_raw_to_bind_addrs()
279 if (unlikely(!af) || in sctp_raw_to_bind_addrs()
280 !af->from_addr_param(&addr, rawaddr, htons(port), 0)) { in sctp_raw_to_bind_addrs()
346 if (sp->pf->af->cmp_addr(&laddr->a, &laddr2->a) && in sctp_bind_addrs_check()
404 struct sctp_af *af; in sctp_bind_addr_state() local
406 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_bind_addr_state()
407 if (unlikely(!af)) in sctp_bind_addr_state()
413 if (af->cmp_addr(&laddr->a, addr)) in sctp_bind_addr_state()
431 struct sctp_af *af; in sctp_find_unmatch_addr() local
442 af = sctp_get_af_specific(addr->v4.sin_family); in sctp_find_unmatch_addr()
443 if (!af) in sctp_find_unmatch_addr()
449 addr_buf += af->sockaddr_len; in sctp_find_unmatch_addr()
489 struct sctp_af *af; in sctp_is_any() local
497 af = sctp_get_af_specific(fam); in sctp_is_any()
498 if (!af) in sctp_is_any()
501 return af->is_any(addr); in sctp_is_any()
568 struct sctp_af *af; in sctp_scope() local
570 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_scope()
571 if (!af) in sctp_scope()
574 return af->scope((union sctp_addr *)addr); in sctp_scope()