Searched refs:aifp (Results 1 – 2 of 2) sorted by relevance
47 struct interface *aifp; in read_rip() local89 LIST_FOREACH(aifp, &remote_if, remote_list) { in read_rip()90 if (aifp->int_addr == from.sin_addr.s_addr) in read_rip()93 if (aifp == NULL) { in read_rip()94 aifp = ifwithname(inbuf.ifname, 0); in read_rip()95 if (aifp == NULL) { in read_rip()99 } else if (((aifp->int_if_flags & IFF_POINTOPOINT) in read_rip()100 && aifp->int_dstaddr!=from.sin_addr.s_addr) in read_rip()101 || (!(aifp->int_if_flags & IFF_POINTOPOINT) in read_rip()103 aifp->int_net, in read_rip()[all …]
128 struct ifnet *aifp = NULL; in get_aifp() local139 aifp = ifnet_byindex(nh->gwl_sa.sdl_index); in get_aifp()140 if (aifp == NULL) { in get_aifp()146 if (aifp == NULL) in get_aifp()147 aifp = nh->nh_ifp; in get_aifp()149 return (aifp); in get_aifp()