Lines Matching refs:af
231 struct sctp_af *af; in sctp_bind_addrs_to_raw() local
256 af = sctp_get_af_specific(addr->a.v4.sin_family); in sctp_bind_addrs_to_raw()
257 len = af->to_addr_param(&addr->a, &rawaddr); in sctp_bind_addrs_to_raw()
280 struct sctp_af *af; in sctp_raw_to_bind_addrs() local
287 af = sctp_get_af_specific(param_type2af(param->type)); in sctp_raw_to_bind_addrs()
288 if (unlikely(!af)) { in sctp_raw_to_bind_addrs()
294 af->from_addr_param(&addr, rawaddr, htons(port), 0); in sctp_raw_to_bind_addrs()
379 struct sctp_af *af; in sctp_bind_addr_state() local
382 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_bind_addr_state()
383 if (unlikely(!af)) in sctp_bind_addr_state()
390 if (af->cmp_addr(&laddr->a, addr)) { in sctp_bind_addr_state()
411 struct sctp_af *af; in sctp_find_unmatch_addr() local
422 af = sctp_get_af_specific(addr->v4.sin_family); in sctp_find_unmatch_addr()
423 if (!af) in sctp_find_unmatch_addr()
429 addr_buf += af->sockaddr_len; in sctp_find_unmatch_addr()
469 struct sctp_af *af; in sctp_is_any() local
477 af = sctp_get_af_specific(fam); in sctp_is_any()
478 if (!af) in sctp_is_any()
481 return af->is_any(addr); in sctp_is_any()
547 struct sctp_af *af; in sctp_scope() local
549 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_scope()
550 if (!af) in sctp_scope()
553 return af->scope((union sctp_addr *)addr); in sctp_scope()