Home
last modified time | relevance | path

Searched refs:d6in (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dbound.c656 dhcpv6_ia_na_t d6in; in configure_v6_leases() local
671 if (olen < sizeof (d6in)) { in configure_v6_leases()
682 (void) memcpy(&d6in, d6o, sizeof (d6in)); in configure_v6_leases()
683 d6in.d6in_iaid = ntohl(d6in.d6in_iaid); in configure_v6_leases()
684 if (d6in.d6in_iaid != dsmp->dsm_lif->lif_iaid) { in configure_v6_leases()
686 "IA_NA for IAID %x (not %x)", d6in.d6in_iaid, in configure_v6_leases()
709 d6in.d6in_t1 = ntohl(d6in.d6in_t1); in configure_v6_leases()
710 d6in.d6in_t2 = ntohl(d6in.d6in_t2); in configure_v6_leases()
713 if (d6in.d6in_t1 > d6in.d6in_t2 && d6in.d6in_t2 != 0) { in configure_v6_leases()
715 "IA_NA with invalid T1 %u > T2 %u", d6in.d6in_t1, in configure_v6_leases()
[all …]
H A Dinit_reboot.c127 dhcpv6_ia_na_t d6in; in dhcp_init_reboot_v6() local
153 (void) memcpy(&d6in, d6o, sizeof (d6in)); in dhcp_init_reboot_v6()
154 d6in.d6in_t1 = 0; in dhcp_init_reboot_v6()
155 d6in.d6in_t2 = 0; in dhcp_init_reboot_v6()
157 (char *)&d6in + sizeof (*d6o), in dhcp_init_reboot_v6()
158 sizeof (d6in) - sizeof (*d6o)); in dhcp_init_reboot_v6()
H A Dselect.c157 dhcpv6_ia_na_t d6in; in dhcp_selecting() local
166 d6in.d6in_iaid = htonl(dsmp->dsm_lif->lif_iaid); in dhcp_selecting()
167 d6in.d6in_t1 = htonl(0); in dhcp_selecting()
168 d6in.d6in_t2 = htonl(0); in dhcp_selecting()
170 (dhcpv6_option_t *)&d6in + 1, in dhcp_selecting()
171 sizeof (d6in) - sizeof (dhcpv6_option_t)); in dhcp_selecting()
H A Dpacket.c638 dhcpv6_ia_na_t d6in; in add_pkt_lif() local
663 if (olen < sizeof (d6in)) in add_pkt_lif()
665 (void) memcpy(&d6in, d6o, sizeof (d6in)); in add_pkt_lif()
666 if (d6in.d6in_iaid == iaid) in add_pkt_lif()
670 d6in.d6in_iaid = iaid; in add_pkt_lif()
671 d6in.d6in_t1 = 0; in add_pkt_lif()
672 d6in.d6in_t2 = 0; in add_pkt_lif()
674 (dhcpv6_option_t *)&d6in + 1, in add_pkt_lif()
675 sizeof (d6in) - sizeof (*d6o)); in add_pkt_lif()
H A Drequest.c65 dhcpv6_ia_na_t d6in; in send_v6_request() local
72 d6in.d6in_iaid = htonl(dsmp->dsm_lif->lif_iaid); in send_v6_request()
73 d6in.d6in_t1 = htonl(0); in send_v6_request()
74 d6in.d6in_t2 = htonl(0); in send_v6_request()
76 (dhcpv6_option_t *)&d6in + 1, in send_v6_request()
77 sizeof (d6in) - sizeof (dhcpv6_option_t)); in send_v6_request()
/titanic_44/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c172 dhcpv6_ia_na_t d6in; in read_hostconf() local
214 if (opts + sizeof (d6in) > subomax) { in read_hostconf()
218 (void) memcpy(&d6in, opts, in read_hostconf()
219 sizeof (d6in)); in read_hostconf()
220 relativize_v6(&d6in.d6in_t1, orig_time, in read_hostconf()
222 relativize_v6(&d6in.d6in_t2, orig_time, in read_hostconf()
224 (void) memcpy(opts, &d6in, in read_hostconf()
225 sizeof (d6in)); in read_hostconf()
226 opts += sizeof (d6in); in read_hostconf()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcpv6.c682 dhcpv6_ia_na_t d6in; in show_options() local
684 if (olen < sizeof (d6in) - sizeof (d6o)) in show_options()
686 (void) memcpy(&d6in, data - sizeof (d6o), in show_options()
687 sizeof (d6in)); in show_options()
688 data += sizeof (d6in) - sizeof (d6o); in show_options()
689 olen -= sizeof (d6in) - sizeof (d6o); in show_options()
691 " IAID = %u", ntohl(d6in.d6in_iaid)); in show_options()
693 " T1 (renew) = %u seconds", ntohl(d6in.d6in_t1)); in show_options()
695 " T2 (rebind) = %u seconds", ntohl(d6in.d6in_t2)); in show_options()