Searched refs:d6in (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | bound.c | 659 dhcpv6_ia_na_t d6in; in configure_v6_leases() local 674 if (olen < sizeof (d6in)) { in configure_v6_leases() 685 (void) memcpy(&d6in, d6o, sizeof (d6in)); in configure_v6_leases() 686 d6in.d6in_iaid = ntohl(d6in.d6in_iaid); in configure_v6_leases() 687 if (d6in.d6in_iaid != dsmp->dsm_lif->lif_iaid) { in configure_v6_leases() 689 "IA_NA for IAID %x (not %x)", d6in.d6in_iaid, in configure_v6_leases() 712 d6in.d6in_t1 = ntohl(d6in.d6in_t1); in configure_v6_leases() 713 d6in.d6in_t2 = ntohl(d6in.d6in_t2); in configure_v6_leases() 716 if (d6in.d6in_t1 > d6in.d6in_t2 && d6in.d6in_t2 != 0) { in configure_v6_leases() 718 "IA_NA with invalid T1 %u > T2 %u", d6in.d6in_t1, in configure_v6_leases() [all …]
|
H A D | init_reboot.c | 104 dhcpv6_ia_na_t d6in; in dhcp_init_reboot_v6() local 130 (void) memcpy(&d6in, d6o, sizeof (d6in)); in dhcp_init_reboot_v6() 131 d6in.d6in_t1 = 0; in dhcp_init_reboot_v6() 132 d6in.d6in_t2 = 0; in dhcp_init_reboot_v6() 134 (char *)&d6in + sizeof (*d6o), in dhcp_init_reboot_v6() 135 sizeof (d6in) - sizeof (*d6o)); in dhcp_init_reboot_v6()
|
H A D | select.c | 155 dhcpv6_ia_na_t d6in; in dhcp_selecting() local 164 d6in.d6in_iaid = htonl(dsmp->dsm_lif->lif_iaid); in dhcp_selecting() 165 d6in.d6in_t1 = htonl(0); in dhcp_selecting() 166 d6in.d6in_t2 = htonl(0); in dhcp_selecting() 168 (dhcpv6_option_t *)&d6in + 1, in dhcp_selecting() 169 sizeof (d6in) - sizeof (dhcpv6_option_t)); in dhcp_selecting()
|
H A D | packet.c | 671 dhcpv6_ia_na_t d6in; in add_pkt_lif() local 696 if (olen < sizeof (d6in)) in add_pkt_lif() 698 (void) memcpy(&d6in, d6o, sizeof (d6in)); in add_pkt_lif() 699 if (d6in.d6in_iaid == iaid) in add_pkt_lif() 703 d6in.d6in_iaid = iaid; in add_pkt_lif() 704 d6in.d6in_t1 = 0; in add_pkt_lif() 705 d6in.d6in_t2 = 0; in add_pkt_lif() 707 (dhcpv6_option_t *)&d6in + 1, in add_pkt_lif() 708 sizeof (d6in) - sizeof (*d6o)); in add_pkt_lif()
|
H A D | request.c | 66 dhcpv6_ia_na_t d6in; in send_v6_request() local 73 d6in.d6in_iaid = htonl(dsmp->dsm_lif->lif_iaid); in send_v6_request() 74 d6in.d6in_t1 = htonl(0); in send_v6_request() 75 d6in.d6in_t2 = htonl(0); in send_v6_request() 77 (dhcpv6_option_t *)&d6in + 1, in send_v6_request() 78 sizeof (d6in) - sizeof (dhcpv6_option_t)); in send_v6_request()
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_hostconf.c | 170 dhcpv6_ia_na_t d6in; in read_hostconf() local 212 if (opts + sizeof (d6in) > subomax) { in read_hostconf() 216 (void) memcpy(&d6in, opts, in read_hostconf() 217 sizeof (d6in)); in read_hostconf() 218 relativize_v6(&d6in.d6in_t1, orig_time, in read_hostconf() 220 relativize_v6(&d6in.d6in_t2, orig_time, in read_hostconf() 222 (void) memcpy(opts, &d6in, in read_hostconf() 223 sizeof (d6in)); in read_hostconf() 224 opts += sizeof (d6in); in read_hostconf()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcpv6.c | 683 dhcpv6_ia_na_t d6in; in show_options() local 685 if (olen < sizeof (d6in) - sizeof (d6o)) in show_options() 687 (void) memcpy(&d6in, data - sizeof (d6o), in show_options() 688 sizeof (d6in)); in show_options() 689 data += sizeof (d6in) - sizeof (d6o); in show_options() 690 olen -= sizeof (d6in) - sizeof (d6o); in show_options() 692 " IAID = %u", ntohl(d6in.d6in_iaid)); in show_options() 694 " T1 (renew) = %u seconds", ntohl(d6in.d6in_t1)); in show_options() 696 " T2 (rebind) = %u seconds", ntohl(d6in.d6in_t2)); in show_options()
|