Lines Matching refs:af
107 struct sctp_af *af; in sctp_rcv() local
146 af = sctp_get_af_specific(family); in sctp_rcv()
147 if (unlikely(!af)) in sctp_rcv()
149 SCTP_INPUT_CB(skb)->af = af; in sctp_rcv()
152 af->from_skb(&src, skb, 1); in sctp_rcv()
153 af->from_skb(&dest, skb, 0); in sctp_rcv()
166 if (!af->addr_valid(&src, NULL, skb) || in sctp_rcv()
167 !af->addr_valid(&dest, NULL, skb)) in sctp_rcv()
183 if (sk->sk_bound_dev_if && (sk->sk_bound_dev_if != af->skb_iif(skb))) { in sctp_rcv()
479 struct sctp_af *af; in sctp_err_lookup() local
487 af = sctp_get_af_specific(family); in sctp_err_lookup()
488 if (unlikely(!af)) { in sctp_err_lookup()
493 af->from_skb(&saddr, skb, 1); in sctp_err_lookup()
494 af->from_skb(&daddr, skb, 0); in sctp_err_lookup()
1026 struct sctp_af *af; in __sctp_rcv_init_lookup() local
1050 af = sctp_get_af_specific(param_type2af(params.p->type)); in __sctp_rcv_init_lookup()
1051 if (!af) in __sctp_rcv_init_lookup()
1054 af->from_addr_param(paddr, params.addr, sh->source, 0); in __sctp_rcv_init_lookup()
1086 struct sctp_af *af; in __sctp_rcv_asconf_lookup() local
1093 af = sctp_get_af_specific(param_type2af(param->p.type)); in __sctp_rcv_asconf_lookup()
1094 if (unlikely(!af)) in __sctp_rcv_asconf_lookup()
1097 af->from_addr_param(&paddr, param, peer_port, 0); in __sctp_rcv_asconf_lookup()