Lines Matching refs:ifp

50 	struct interface *ifp;  in supplyall()  local
52 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in supplyall()
53 if ((ifp->int_flags & RIP6_IFF_UP) == 0) in supplyall()
55 if (ifp->int_flags & RIP6_IFF_NORTEXCH) { in supplyall()
60 ifp->int_name); in supplyall()
65 if (ifp->int_sock == -1) in supplyall()
67 if (ifp == skipif) in supplyall()
69 if (!IN6_IS_ADDR_LINKLOCAL(&ifp->int_addr)) in supplyall()
71 supply(sin6, ifp, rtstate, splith); in supplyall()
76 solicit(struct sockaddr_in6 *sin6, struct interface *ifp) in solicit() argument
83 sendpacket(sin6, ifp, sizeof (struct rip6), 0); in solicit()
89 struct interface *ifp; in solicitall() local
91 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in solicitall()
92 if ((ifp->int_flags & RIP6_IFF_UP) == 0) in solicitall()
94 if (ifp->int_flags & RIP6_IFF_NORTEXCH) { in solicitall()
99 ifp->int_name); in solicitall()
104 if (ifp->int_sock == -1) in solicitall()
106 solicit(sin6, ifp); in solicitall()
116 sendpacket(struct sockaddr_in6 *sin6, struct interface *ifp, int size, in sendpacket() argument
119 if (sendto(ifp->int_sock, packet, size, flags, in sendpacket()
124 TRACE_OUTPUT(ifp, sin6, sizeof (struct rip6)); in sendpacket()
125 ifp->int_opackets++; in sendpacket()
133 supply(struct sockaddr_in6 *sin6, struct interface *ifp, int rtstate, in supply() argument
149 maxsize = ifp->int_mtu - sizeof (ip6_t) - sizeof (struct udphdr); in supply()
174 strcmp(ifp->int_ifbase, in supply()
199 sendpacket(sin6, ifp, size, 0); in supply()
200 TRACE_OUTPUT(ifp, sin6, size); in supply()
213 sendpacket(sin6, ifp, size, 0); in supply()
214 TRACE_OUTPUT(ifp, sin6, size); in supply()