Lines Matching defs:from
31 * Portions of this source code were derived from Berkeley 4.3 BSD
32 * under license from the Regents of the University of California.
45 static void rip_input(struct sockaddr_in6 *from, int size, uint_t hopcount,
73 struct sockaddr_in6 from;
81 rmsg.msg_name = &from;
82 rmsg.msg_namelen = (socklen_t)sizeof (from);
100 (void) inet_ntop(from.sin6_family, &from.sin6_addr, buf1,
108 "Truncated message: msg_flags 0x%x from %s\n",
116 (void) fprintf(stderr, "Unknown hop limit from %s\n",
121 rip_input(&from, len, *(uint_t *)hopcntopt, ifp);
128 rip_input(struct sockaddr_in6 *from, int size, uint_t hopcount,
143 TRACE_INPUT(ifp, from, size);
145 (void) inet_ntop(from->sin6_family, (void *)&from->sin6_addr,
166 "Bad version number %d in packet from %s\n",
175 "Non-zero reserved octets found in packet from "
210 supply(from, ifp, 0,
211 from->sin6_port == rip6_port);
221 "from %s\n",
231 "Bad prefix %s in request from "
254 "request from %s\n",
268 sendpacket(from, ifp, newsize, 0);
276 "Bad hop count %d in response from %s\n",
283 if (from->sin6_port != rip6_port) {
286 "Bad source port %d in response from %s\n",
287 from->sin6_port, buf1);
293 if (!IN6_IS_ADDR_LINKLOCAL(&from->sin6_addr)) {
297 "response from %s\n", buf1);
344 "response from %s\n",
371 "in response from %s\n",
386 gate = &from->sin6_addr;
392 "Bad metric %d in response from "
403 "from %s\n",
415 "Bad prefix %s in response from "
487 "Bad command %d in packet from %s\n",