Lines Matching refs:af
99 struct sctp_af *af; in sctp_rcv() local
139 af = sctp_get_af_specific(family); in sctp_rcv()
140 if (unlikely(!af)) in sctp_rcv()
142 SCTP_INPUT_CB(skb)->af = af; in sctp_rcv()
145 af->from_skb(&src, skb, 1); in sctp_rcv()
146 af->from_skb(&dest, skb, 0); in sctp_rcv()
147 dif = af->skb_iif(skb); in sctp_rcv()
148 sdif = af->skb_sdif(skb); in sctp_rcv()
161 if (!af->addr_valid(&src, NULL, skb) || in sctp_rcv()
162 !af->addr_valid(&dest, NULL, skb)) in sctp_rcv()
468 struct sctp_af *af; in sctp_err_lookup() local
478 af = sctp_get_af_specific(family); in sctp_err_lookup()
479 if (unlikely(!af)) { in sctp_err_lookup()
484 af->from_skb(&saddr, skb, 1); in sctp_err_lookup()
485 af->from_skb(&daddr, skb, 0); in sctp_err_lookup()
1135 struct sctp_af *af; in __sctp_rcv_init_lookup() local
1159 af = sctp_get_af_specific(param_type2af(params.p->type)); in __sctp_rcv_init_lookup()
1160 if (!af) in __sctp_rcv_init_lookup()
1163 if (!af->from_addr_param(paddr, params.addr, sh->source, 0)) in __sctp_rcv_init_lookup()
1197 struct sctp_af *af; in __sctp_rcv_asconf_lookup() local
1207 af = sctp_get_af_specific(param_type2af(param->p.type)); in __sctp_rcv_asconf_lookup()
1208 if (unlikely(!af)) in __sctp_rcv_asconf_lookup()
1211 if (!af->from_addr_param(&paddr, param, peer_port, 0)) in __sctp_rcv_asconf_lookup()