Home
last modified time | relevance | path

Searched refs:aifp (Results 1 – 2 of 2) sorted by relevance

/freebsd/sbin/routed/
H A Dinput.c47 struct interface *aifp; in read_rip() local
89 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 …]
/freebsd/sys/net/route/
H A Dnhop_ctl.c128 struct ifnet *aifp = NULL; in get_aifp() local
139 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()