Lines Matching refs:unicast
513 const struct dhcp6_option *si, *unicast; in dhcp6_makemessage() local
687 unicast = NULL; in dhcp6_makemessage()
697 unicast = dhcp6_getmoption(D6_OPTION_UNICAST, m, ml); in dhcp6_makemessage()
707 unicast = dhcp6_getmoption(D6_OPTION_UNICAST, m, ml); in dhcp6_makemessage()
714 unicast = dhcp6_getmoption(D6_OPTION_UNICAST, m, ml); in dhcp6_makemessage()
746 if (unicast && ntohs(unicast->len) == sizeof(state->unicast)) in dhcp6_makemessage()
747 memcpy(&state->unicast, D6_COPTION_DATA(unicast), in dhcp6_makemessage()
748 sizeof(state->unicast)); in dhcp6_makemessage()
750 state->unicast = in6addr_any; in dhcp6_makemessage()
1035 if (IN6_IS_ADDR_UNSPECIFIED(&state->unicast) || in dhcp6_sendmessage()
1037 (!IN6_IS_ADDR_LINKLOCAL(&state->unicast) || !ipv6_linklocal(ifp)))) in dhcp6_sendmessage()
1042 dst.sin6_addr = state->unicast; in dhcp6_sendmessage()