Lines Matching defs:v6
183 dhcpv6_message_t *v6;
186 (v6 = realloc(dpkt->pkt, mtu)) != NULL) {
188 dpkt->pkt = (PKT *)v6;
192 if (sizeof (*v6) > dpkt->pkt_max_len) {
193 dhcpmsg(MSG_ERR, "init_pkt: cannot allocate v6 pkt: %u",
198 v6 = (dhcpv6_message_t *)dpkt->pkt;
199 dpkt->pkt_cur_len = sizeof (*v6);
201 (void) memset(v6, 0, dpkt->pkt_max_len);
203 v6->d6m_msg_type = type;
204 DHCPV6_SET_TRANSID(v6, xid);
214 /* For v6, time starts with the creation of a transaction */
428 "add_pkt_opt: not enough room for v6 option %u in "
511 "add_pkt_subopt: not enough room for v6 suboption %u in "
915 msg.msg_name = &dsmp->dsm_send_dest.v6;
924 if (IN6_IS_ADDR_MULTICAST(&dsmp->dsm_send_dest.v6.sin6_addr)) {
932 dinfo.dir_daddr = dsmp->dsm_send_dest.v6.sin6_addr;
947 sin6 = dsmp->dsm_send_dest.v6;
1085 (void) memset(&dsmp->dsm_send_dest.v6, 0,
1086 sizeof (dsmp->dsm_send_dest.v6));
1087 dsmp->dsm_send_dest.v6.sin6_addr = dest;
1088 dsmp->dsm_send_dest.v6.sin6_family = AF_INET6;
1089 dsmp->dsm_send_dest.v6.sin6_port = htons(IPPORT_DHCPV6S);
1417 dsmp->dsm_isv6 ? "v6" : "v4", dsmp->dsm_name);