Home | History | Annotate | Download | only in dhcpcd-6.8.2

Lines Matching defs:unicast

513 	const struct dhcp6_option *si, *unicast;
687 unicast = NULL;
688 /* Depending on state, get the unicast address */
697 unicast = dhcp6_getmoption(D6_OPTION_UNICAST, m, ml);
707 unicast = dhcp6_getmoption(D6_OPTION_UNICAST, m, ml);
714 unicast = dhcp6_getmoption(D6_OPTION_UNICAST, m, ml);
745 /* If we found a unicast option, copy it to our state for sending */
746 if (unicast && ntohs(unicast->len) == sizeof(state->unicast))
747 memcpy(&state->unicast, D6_COPTION_DATA(unicast),
748 sizeof(state->unicast));
750 state->unicast = in6addr_any;
1032 /* We need to ensure we have sufficient scope to unicast the address */
1035 if (IN6_IS_ADDR_UNSPECIFIED(&state->unicast) ||
1037 (!IN6_IS_ADDR_LINKLOCAL(&state->unicast) || !ipv6_linklocal(ifp))))
1042 dst.sin6_addr = state->unicast;