Lines Matching defs:from

35  *    may be used to endorse or promote products derived from this software
140 struct sockaddr_in6 from;
169 struct sockaddr_in6 from;
207 struct sockaddr_in6 from;
737 memcpy(&cei_ra.from, &ra->from, sizeof(cei_ra.from));
851 memcpy(&cei_rdns_proposal.from, &rdns_proposal->from, sizeof(
852 cei_rdns_proposal.from));
1386 hbuf = sin6_to_str(&ra->from);
1388 log_warnx("received too short message (%ld) from %s", len,
1398 if (!IN6_IS_ADDR_LINKLOCAL(&ra->from.sin6_addr)) {
1399 log_debug("RA from non link local address %s", hbuf);
1404 log_warnx("received too short message (%ld) from %s", len,
1421 log_debug("ICMPv6 type(%d), code(%d) from %s of length %ld",
1425 log_warnx("invalid ICMPv6 code (%d) from %s", nd_ra->nd_ra_code,
1430 memcpy(&radv->from, &ra->from, sizeof(ra->from));
1586 /* from in6_ifadd() in nd6_rtr.c */
1587 /* XXX from in6.h, guarded by #ifdef _KERNEL XXX nonstandard */
1632 /* from sys/netinet6/in6.c */
1653 /* from kame via ifconfig, where it's called prefix() */
1687 hbuf = sin6_to_str(&ra->from);
1689 if (!IN6_IS_ADDR_LINKLOCAL(&ra->from.sin6_addr)) {
1690 log_warnx("RA from non link local address %s", hbuf);
1695 log_warnx("received too short message (%ld) from %s", len,
1705 log_debug("ICMPv6 type(%d), code(%d) from %s of length %ld",
1709 log_warnx("invalid ICMPv6 type (%d) from %s", nd_ra->nd_ra_type,
1715 log_warnx("invalid ICMPv6 code (%d) from %s", nd_ra->nd_ra_code,
1721 log_debug("RA from %s", hbuf);
1857 if ((old_ra = find_ra(iface, &ra->from)) == NULL)
1883 dfr_proposal = find_dfr_proposal_by_gw(iface, &ra->from);
1998 addr_proposal->from = ra->from;
2045 log_warnx("%s: pltime from %s is too small: %d < %d; "
2047 sin6_to_str(&ra->from), prefix->pltime,
2061 rdns_proposal = find_rdns_proposal_by_gw(iface, &ra->from);
2117 sin6_to_str(&rdns_proposal->from));
2133 memcpy(&address.gw, &addr_proposal->from, sizeof(address.gw));
2168 memcpy(&addr_proposal->from, &ra->from,
2169 sizeof(addr_proposal->from));
2260 memcpy(&dfr_proposal->addr, &ra->from,
2343 memcpy(&rdns_proposal->from, &ra->from,
2344 sizeof(rdns_proposal->from));
2356 hbuf = sin6_to_str(&rdns_proposal->from);
2458 ra = find_ra(iface, &addr_proposal->from);
2537 hbuf = sin6_to_str(&rdns_proposal->from);
2594 find_ra(struct slaacd_iface *iface, struct sockaddr_in6 *from)
2599 if (memcmp(&ra->from.sin6_addr, &from->sin6_addr,
2600 sizeof(from->sin6_addr)) == 0)
2637 *from)
2642 if (memcmp(&rdns_proposal->from, from, sizeof(*from)) == 0)