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