Searched refs:CD_LEASE_TIME (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_hostconf.c | 272 if (plp->opts[CD_LEASE_TIME] != NULL && in read_hostconf() 273 plp->opts[CD_LEASE_TIME]->len == in read_hostconf() 277 plp->opts[CD_LEASE_TIME]->value, in read_hostconf() 290 relativize_time(plp->opts[CD_LEASE_TIME], orig_time, in read_hostconf()
|
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | bound.c | 127 (void) memcpy(&new_lease, ack->opts[CD_LEASE_TIME]->value, in dhcp_bound() 132 (void) memcpy(ack->opts[CD_LEASE_TIME]->value, &new_lease, in dhcp_bound() 463 if (ack->opts[CD_LEASE_TIME] == NULL) { in get_pkt_times() 468 if (ack->opts[CD_LEASE_TIME]->len != sizeof (lease_t)) { in get_pkt_times() 472 (void) memcpy(lease, ack->opts[CD_LEASE_TIME]->value, sizeof (lease_t)); in get_pkt_times() 526 (ack->opts[CD_LEASE_TIME] == NULL || in configure_v4_timers() 527 ack->opts[CD_LEASE_TIME]->len != sizeof (lease_t))) { in configure_v4_timers() 531 "ACK on %s", ack->opts[CD_LEASE_TIME] == NULL ? "missing" : in configure_v4_timers()
|
H A D | request.c | 293 (void) memcpy(&lease, offer->opts[CD_LEASE_TIME]->value, in dhcp_requesting() 296 (void) add_pkt_opt32(dpkt, CD_LEASE_TIME, lease); in dhcp_requesting() 469 if (pkt->opts[CD_LEASE_TIME] == NULL) { in compute_points_v4() 475 if (pkt->opts[CD_LEASE_TIME]->len != sizeof (lease_t)) { in compute_points_v4() 614 (plp->opts[CD_LEASE_TIME] == NULL || in accept_v4_acknak() 615 plp->opts[CD_LEASE_TIME]->len != sizeof (lease_t))) { in accept_v4_acknak()
|
H A D | select.c | 196 (void) add_pkt_opt32(dpkt, CD_LEASE_TIME, htonl(DHCP_PERM)); in dhcp_selecting()
|
H A D | init_reboot.c | 74 (void) add_pkt_opt32(dpkt, CD_LEASE_TIME, htonl(DHCP_PERM)); in dhcp_init_reboot_v4()
|
H A D | renew.c | 481 (void) add_pkt_opt32(dpkt, CD_LEASE_TIME, htonl(DHCP_PERM)); in dhcp_extending()
|
/titanic_41/usr/src/stand/lib/inet/ |
H A D | dhcpv4.c | 505 if (!wk->opts[CD_LEASE_TIME]) { in select_best() 510 if (wk->opts[CD_LEASE_TIME]->len != 4) { in select_best() 673 *opt++ = CD_LEASE_TIME; in dhcp_selecting() 782 *opt++ = CD_LEASE_TIME; in dhcp_requesting() 784 bcopy(pl->opts[CD_LEASE_TIME]->value, &t_time, in dhcp_requesting() 863 doptp = state_pl->opts[CD_LEASE_TIME]; in dhcp_requesting()
|
/titanic_41/usr/src/uts/common/netinet/ |
H A D | dhcp.h | 116 #define CD_LEASE_TIME 51 macro
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcp.c | 363 case CD_LEASE_TIME: in show_options()
|