/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | renew.c | 88 dsmp->dsm_name); in dhcp_renew() 106 monosec() > t2 ? "" : "almost ", dsmp->dsm_name); in dhcp_renew() 130 dsmp->dsm_name); in dhcp_renew() 134 "wait for rebind", dsmp->dsm_name); in dhcp_renew() 165 dsmp->dsm_name); in dhcp_rebind() 196 dsmp->dsm_name); in dhcp_rebind() 234 "%s; lease may expire", dsmp->dsm_name); in dhcp_rebind() 238 "will expire", dsmp->dsm_name); in dhcp_rebind() 273 dsmp->dsm_name); in dhcp_finish_expire() 277 (void) remove_hostconf(dsmp->dsm_name, dsmp->dsm_isv6); in dhcp_finish_expire() [all …]
|
H A D | request.c | 165 isv6 ? 6 : 4, dsmp->dsm_name); in dhcp_requesting() 182 dsmp->dsm_name); in dhcp_requesting() 200 "%s", dsmp->dsm_name); in dhcp_requesting() 241 "failed for %s", dsmp->dsm_name); in dhcp_requesting() 334 dsmp->dsm_name); in dhcp_requesting() 396 abuf, sizeof (abuf)), dsmp->dsm_name); in compute_points_v6() 622 dsmp->dsm_name); in accept_v4_acknak() 649 dsmp->dsm_name); in accept_v4_acknak() 660 (void) remove_hostconf(dsmp->dsm_name, dsmp->dsm_isv6); in accept_v4_acknak() 667 "server id on %s", dsmp->dsm_name); in accept_v4_acknak() [all …]
|
H A D | states.c | 118 param_name, dsmp->dsm_name); in parse_param_list() 145 dsmp->dsm_name); in parse_param_list() 187 dsmp->dsm_name = lif->lif_name; in insert_smach() 253 plist = df_get_string(dsmp->dsm_name, isv6, DF_PARAM_REQUEST_LIST); in insert_smach() 256 plist = df_get_string(dsmp->dsm_name, isv6, DF_PARAM_IGNORE_LIST); in insert_smach() 260 dsmp->dsm_offer_wait = df_get_int(dsmp->dsm_name, isv6, in insert_smach() 273 dsmp->dsm_name, isv6 ? 6 : 4); in insert_smach() 289 dhcpmsg(MSG_DEBUG2, "insert_smach: inserted %s", dsmp->dsm_name); in insert_smach() 307 dsmp->dsm_name, dsmp->dsm_hold_count); in hold_smach() 321 dsmp->dsm_name); in free_smach() [all …]
|
H A D | release.c | 153 dsmp->dsm_name); in dhcp_release() 156 (void) remove_hostconf(dsmp->dsm_name, dsmp->dsm_isv6); in dhcp_release() 230 dsmp->dsm_name); in dhcp_drop() 237 dsmp->dsm_name); in dhcp_drop() 243 dsmp->dsm_name, dhcp_state_to_string(dsmp->dsm_state)); in dhcp_drop() 266 "transaction on %s", dsmp->dsm_name); in stop_release_decline() 275 dsmp->dsm_name); in stop_release_decline() 279 "%s has no leases left", dsmp->dsm_name); in stop_release_decline()
|
H A D | ipc_action.c | 73 dsmp->dsm_name); in ipc_action_start() 79 "action on %s", dsmp->dsm_name); in ipc_action_start() 96 dsmp->dsm_name); in ipc_action_start() 110 dhcp_ipc_type_to_string(ia->ia_cmd), ia->ia_cmd, dsmp->dsm_name, in ipc_action_start() 139 "on %s", dsmp->dsm_name); in ipc_action_finish() 146 dsmp->dsm_name, reason); in ipc_action_finish() 190 ia->ia_cmd, dsmp->dsm_name); in ipc_action_timeout()
|
H A D | util.c | 201 dsmp->dsm_name, msglen, msg); in print_server_msg() 681 hcfile = ifname_to_hostconf(dsmp->dsm_name, dsmp->dsm_isv6); in write_lease_to_hostconf() 684 if (write_hostconf(dsmp->dsm_name, plp, 2, in write_lease_to_hostconf() 779 if (!df_get_bool(dsmp->dsm_name, dsmp->dsm_isv6, DF_REQUEST_HOSTNAME)) in dhcp_add_hostname_opt() 791 "/etc/hostname.%s", dsmp->dsm_name); in dhcp_add_hostname_opt() 809 dsmp->dsm_reqhost, dsmp->dsm_name); in dhcp_add_hostname_opt() 815 dsmp->dsm_name); in dhcp_add_hostname_opt() 896 " for %s", fqdnbuf, dsmp->dsm_name); in dhcp_add_fqdn_opt() 954 " name %s for %s", domainname, dsmp->dsm_name); in dhcp_adopt_domainname() 982 domainname = df_get_string(dsmp->dsm_name, dsmp->dsm_isv6, in dhcp_pick_domainname() [all …]
|
H A D | init_reboot.c | 184 "INIT_REBOOT", dsmp->dsm_name); in dhcp_init_reboot() 189 dsmp->dsm_name); in dhcp_init_reboot() 230 if (df_get_bool(dsmp->dsm_name, dsmp->dsm_isv6, in stop_init_reboot() 234 dsmp->dsm_name); in stop_init_reboot() 241 "existing lease on %s", dsmp->dsm_name); in stop_init_reboot() 244 "using remainder of existing lease on %s", dsmp->dsm_name); in stop_init_reboot() 262 dsmp->dsm_name); in stop_init_reboot()
|
H A D | bound.c | 201 dsmp->dsm_name); in dhcp_bound() 336 dsmp->dsm_name); in dhcp_bound_complete() 382 dsmp->dsm_routers[i]), dsmp->dsm_name); in dhcp_bound_complete() 388 inet_ntoa(dsmp->dsm_routers[i]), dsmp->dsm_name); in dhcp_bound_complete() 396 dsmp->dsm_name); in dhcp_bound_complete() 400 dhcpmsg(MSG_DEBUG, "dhcp_bound_complete: bound %s", dsmp->dsm_name); in dhcp_bound_complete() 535 "corrupt", dsmp->dsm_name); in configure_v4_timers() 597 dsmp->dsm_name); in configure_v4_timers() 602 dsmp->dsm_name, in configure_v4_timers() 606 dsmp->dsm_name, monosec_to_string(dsmp->dsm_newstart_monosec + in configure_v4_timers() [all …]
|
H A D | select.c | 69 dhcpmsg(MSG_VERBOSE, "starting DHCP on %s", dsmp->dsm_name); in dhcp_start() 130 "reverting to INIT on %s", dsmp->dsm_name); in dhcp_selecting() 136 (void) remove_hostconf(dsmp->dsm_name, dsmp->dsm_isv6); in dhcp_selecting()
|
H A D | agent.c | 590 dhcp_ipc_type_to_string(ia.ia_cmd), dsmp->dsm_name); in ipc_event() 605 dhcp_ipc_type_to_string(ia.ia_cmd), dsmp->dsm_name); in ipc_event() 614 dhcp_ipc_type_to_string(ia.ia_cmd), dsmp->dsm_name); in ipc_event() 735 "failed for %s", dsmp->dsm_name); in ipc_event() 986 error = read_hostconf(dsmp->dsm_name, plp, 2, dsmp->dsm_isv6); in ipc_event() 1055 (void) strlcpy(status.if_name, dsmp->dsm_name, LIFNAMSIZ); in ipc_event() 1607 "LIFs waiting on DAD", dsmp->dsm_name, in rtsock_event() 1631 "LIFs left", dsmp->dsm_name); in rtsock_event() 1641 "on %s in %s state", dsmp->dsm_name, in rtsock_event()
|
H A D | adopt.c | 152 dsmp->dsm_name); in dhcp_adopt() 162 dsmp->dsm_name); in dhcp_adopt()
|
H A D | packet.c | 849 "timer on %s", dsmp->dsm_name); in send_pkt_internal() 1037 pkt_get_xid(dpkt->pkt, dpkt->pkt_isv6), dsmp->dsm_name); in send_pkt_internal() 1191 dsmp->dsm_name); in retransmit() 1194 dsmp->dsm_name); in retransmit() 1213 dsmp->dsm_name); in stop_pkt_retransmission() 1450 dsmp->dsm_isv6 ? "v6" : "v4", dsmp->dsm_name); in pkt_smach_enqueue()
|
H A D | states.h | 66 const char *dsm_name; member
|
H A D | script_handler.c | 145 (void) execl(path, name, dsmp->dsm_name, event, NULL); in run_script()
|
H A D | README.v6 | 826 if_name dhcp_smach_t.dsm_name (see text) 887 - The dsm_name field currently just points to the lif_name on the
|