Lines Matching defs:afp
535 const struct afswtch *afp;
563 afp = lookup_af_bynum(ifa->ifa_addr->sa_family);
564 if (afp &&
565 ((afp->af_addr_tentative_or_detached &&
569 afp->af_addr_tentative_or_detached(ifa)) ||
570 (afp->af_addr_tentative &&
571 afp->af_addr_tentative(ifa))))
627 const struct afswtch *afp;
807 if ((afp = lookup_af_bynum(af)) == NULL)
810 assert(afp->af_addr_commit != NULL);
811 (*afp->af_addr_commit)(env, oenv);
824 const struct afswtch *afp;
827 SIMPLEQ_FOREACH(afp, &aflist, af_next) {
828 kw.k_word = afp->af_name;
829 kw.k_int = afp->af_af;
842 const struct afswtch *afp;
844 SIMPLEQ_FOREACH(afp, &aflist, af_next) {
845 if (afp->af_af == afnum)
848 return afp;
1284 const struct afswtch *afp;
1288 afp = NULL;
1291 afp = lookup_af_bynum(af);
1403 if (afp != NULL)
1404 (*afp->af_status)(env, oenv, true);
1405 else SIMPLEQ_FOREACH(afp, &aflist, af_next)
1406 (*afp->af_status)(env, oenv, false);