/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | llib-ldhcputil | 34 #include <dhcpmsg.h>
|
H A D | dhcpmsg.h | 37 * dhcpmsg.[ch] comprise the interface used to log messages, either to 39 * dhcpmsg.c for documentation on how to use the exported functions. 66 extern void dhcpmsg(int, const char *, ...);
|
H A D | dhcpmsg.c | 36 #include "dhcpmsg.h" 47 * dhcpmsg(): logs a message to the console or to syslog 56 dhcpmsg(int errlevel, const char *fmt, ...) function 143 * err_to_syslog(): converts a dhcpmsg log level into a syslog log level 145 * input: int: the dhcpmsg log level
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | adopt.c | 40 #include <dhcpmsg.h> 81 dhcpmsg(MSG_CRIT, "dhcp_adopt: cannot fetch kernel cache"); 85 dhcpmsg(MSG_DEBUG, "dhcp_adopt: fetched %s kcache", kcache->dk_if_name); 95 dhcpmsg(MSG_DEBUG, "dhcp_adopt: allocated ACK of %d bytes", plp->len); 99 dhcpmsg(MSG_CRIT, "dhcp_adopt: cannot convert kernel ACK"); 104 dhcpmsg(MSG_CRIT, "dhcp_adopt: cannot parse kernel ACK"); 125 dhcpmsg(MSG_ERROR, "dhcp_adopt: unable to attach %s: %d", 131 dhcpmsg(MSG_ERROR, "dhcp_adopt: unable to create state " 141 dhcpmsg(MSG_DEBUG, "dhcp_adopt: getting /chosen:clientid property"); 150 dhcpmsg(MSG_DEBU [all...] |
H A D | async.c | 29 #include <dhcpmsg.h> 97 dhcpmsg(MSG_DEBUG, 103 dhcpmsg(MSG_DEBUG, "async_cancel: command %d aborted",
|
H A D | renew.c | 33 #include <dhcpmsg.h> 86 dhcpmsg(MSG_VERBOSE, "dhcp_renew: T1 timer expired on %s", 92 dhcpmsg(MSG_DEBUG, "dhcp_renew: already renewing"); 104 dhcpmsg(MSG_DEBUG, "dhcp_renew: %spast T2 on %s", 126 dhcpmsg(MSG_INFO, "dhcp_renew: unable to " 132 dhcpmsg(MSG_DEBUG, "dhcp_renew: user busy on %s; will " 163 dhcpmsg(MSG_VERBOSE, "dhcp_rebind: T2 timer expired on %s", 169 dhcpmsg(MSG_DEBUG, "dhcp_renew: already rebinding"); 194 dhcpmsg(MSG_DEBUG, "dhcp_rebind: all leases expired on %s", 231 dhcpmsg(MSG_INF [all...] |
H A D | ipc_action.c | 30 #include <dhcpmsg.h> 73 dhcpmsg(MSG_CRIT, "ipc_action_start: attempted restart on %s", 79 dhcpmsg(MSG_WARNING, "ipc_action_start: unable to cancel " 94 dhcpmsg(MSG_ERROR, "ipc_action_start: failed to set " 109 dhcpmsg(MSG_DEBUG, "ipc_action_start: started %s (command %d) on %s", 136 dhcpmsg(MSG_ERROR, 142 dhcpmsg(MSG_DEBUG, 187 dhcpmsg(MSG_VERBOSE, "ipc timeout waiting for agent to complete " 255 dhcpmsg(MSG_ERR, "send_data_reply: cannot allocate reply"); 258 dhcpmsg(MSG_ERRO [all...] |
H A D | interface.c | 40 #include <dhcpmsg.h> 83 dhcpmsg(MSG_ERR, "insert_pif: cannot allocate pif entry for " 94 dhcpmsg(MSG_ERROR, "insert_pif: interface name %s is too long", 109 dhcpmsg(MSG_ERR, "insert_pif: SIOCGLIFINDEX for %s", pname); 120 dhcpmsg(MSG_ERR, "insert_pif: SIOCGLIFFLAGS for %s", pname); 126 dhcpmsg(MSG_ERROR, "insert_pif: VRRP virtual addresses over %s " 133 dhcpmsg(MSG_ERR, "insert_pif: SIOCGLIFMTU for %s", pname); 139 dhcpmsg(MSG_ERROR, "insert_pif: MTU of %s is too small to " 153 dhcpmsg(MSG_ERR, "insert_pif: SIOCGLIFGROUPNAME for %s", pname); 162 dhcpmsg(MSG_ER [all...] |
H A D | select.c | 40 #include <dhcpmsg.h> 69 dhcpmsg(MSG_VERBOSE, "starting DHCP on %s", dsmp->dsm_name); 130 dhcpmsg(MSG_ERROR, 143 dhcpmsg(MSG_ERROR, "dhcp_selecting: cannot schedule to read " 160 dhcpmsg(MSG_ERROR, "dhcp_selecting: unable to set up " 185 dhcpmsg(MSG_ERROR, "dhcp_selecting: unable to set up " 206 dhcpmsg(MSG_DEBUG, 212 dhcpmsg(MSG_DEBUG, "dhcp_selecting: host %s", 220 dhcpmsg(MSG_WARNING,
|
H A D | bound.c | 40 #include <dhcpmsg.h> 183 dhcpmsg(MSG_WARNING, 196 dhcpmsg(MSG_ERROR, 266 dhcpmsg(MSG_DEBUG, "dhcp_bound: lease not updated; " 300 dhcpmsg(MSG_DEBUG, 332 dhcpmsg(MSG_DEBUG, "dhcp_bound_complete: bound %s", 364 dhcpmsg(MSG_ERR, "dhcp_bound_complete: cannot allocate " 377 dhcpmsg(MSG_ERR, "dhcp_bound_complete: cannot " 384 dhcpmsg(MSG_INFO, "added default router %s on %s", 391 dhcpmsg(MSG_ER [all...] |
H A D | request.c | 40 #include <dhcpmsg.h> 111 dhcpmsg(MSG_WARNING, "server_unicast_option: %s has Server " 119 dhcpmsg(MSG_WARNING, "server_unicast_option: unicast " 122 dhcpmsg(MSG_WARNING, "server_unicast_option: unicast " 126 dhcpmsg(MSG_WARNING, "server_unicast_option: unicast " 162 dhcpmsg(MSG_VERBOSE, 179 dhcpmsg(MSG_VERBOSE, 197 dhcpmsg(MSG_WARNING, "dhcp_requesting: cannot " 239 dhcpmsg(MSG_WARNING, "dhcp_requesting: dhcp_bound " 328 dhcpmsg(MSG_ERRO [all...] |
H A D | defaults.c | 30 #include <dhcpmsg.h> 86 dhcpmsg(MSG_WARNING, "cannot build default value cache; " 123 dhcpmsg(MSG_WARNING, "parameter %s is " 134 dhcpmsg(MSG_WARNING, "cannot build default value cache;" 175 dhcpmsg(MSG_WARNING, "cannot access %s; using " 246 dhcpmsg(MSG_WARNING, "df_get_int: parameter `%s' is not between %d and " 282 dhcpmsg(MSG_WARNING, "df_get_bool: parameter `%s' has invalid value "
|
H A D | init_reboot.c | 37 #include <dhcpmsg.h> 91 dhcpmsg(MSG_DEBUG, "dhcp_selecting: host %s", reqhost); 97 dhcpmsg(MSG_WARNING, "dhcp_selecting: cannot" 100 dhcpmsg(MSG_DEBUG, 206 dhcpmsg(MSG_VERBOSE, "%s has cached configuration - entering " 210 dhcpmsg(MSG_ERROR, "dhcp_init_reboot: cannot register to " 255 dhcpmsg(MSG_INFO, 263 dhcpmsg(MSG_INFO, "no Reply to Confirm, using remainder of " 266 dhcpmsg(MSG_INFO, "no ACK/NAK to INIT_REBOOT REQUEST, " 284 dhcpmsg(MSG_INF [all...] |
H A D | states.c | 38 #include <dhcpmsg.h> 70 dhcpmsg(MSG_ERR, 115 dhcpmsg(MSG_WARNING, 142 dhcpmsg(MSG_INFO, "ignored unknown %s list " 179 dhcpmsg(MSG_ERR, "cannot allocate state machine entry for %s", 208 dhcpmsg(MSG_INFO, 232 dhcpmsg(MSG_ERR, "unable to open socket for %s", 270 dhcpmsg(MSG_DEBUG, 288 dhcpmsg(MSG_DEBUG2, "insert_smach: inserted %s", dsmp->dsm_name); 305 dhcpmsg(MSG_DEBUG [all...] |
H A D | packet.c | 29 #include <dhcpmsg.h> 193 dhcpmsg(MSG_ERR, "init_pkt: cannot allocate v6 pkt: %u", 209 dhcpmsg(MSG_WARNING, 228 dhcpmsg(MSG_ERR, "init_pkt: cannot allocate v4 pkt: %u", 263 dhcpmsg(MSG_WARNING, 271 dhcpmsg(MSG_WARNING, 427 dhcpmsg(MSG_WARNING, 449 dhcpmsg(MSG_ERROR, "add_pkt_opt: option type %d is " 455 dhcpmsg(MSG_WARNING, 510 dhcpmsg(MSG_WARNIN [all...] |
H A D | agent.c | 38 #include <dhcpmsg.h> 181 dhcpmsg(MSG_ERROR, "must be super-user"); 188 dhcpmsg(MSG_ERR, "cannot become daemon, exiting"); 207 dhcpmsg(MSG_ERR, "cannot create timer queue or event handler"); 234 dhcpmsg(MSG_WARNING, "get_class_id failed, continuing " 254 dhcpmsg(MSG_ERR, "setrlimit failed"); 278 dhcpmsg(MSG_ERROR, "dhcp_ipc_init: cannot bind to port " 283 dhcpmsg(MSG_ERROR, "dhcp_ipc_init failed"); 288 dhcpmsg(MSG_ERR, "cannot register ipc fd for messages"); 301 dhcpmsg(MSG_ER [all...] |
H A D | inform.c | 34 #include <dhcpmsg.h> 99 dhcpmsg(MSG_ERROR, "dhcp_inform: send_pkt failed");
|
H A D | release.c | 34 #include <dhcpmsg.h> 152 dhcpmsg(MSG_INFO, "releasing leases for state machine %s", 229 dhcpmsg(MSG_INFO, "dropping leases for state machine %s", 235 dhcpmsg(MSG_INFO, 242 dhcpmsg(MSG_DEBUG, "%s in state %s; not saving lease", 265 dhcpmsg(MSG_INFO, "no Reply to Release, finishing " 274 dhcpmsg(MSG_INFO, "no Reply to Decline on %s", 278 dhcpmsg(MSG_VERBOSE, "stop_release_decline: "
|
H A D | script_handler.c | 36 #include <dhcpmsg.h> 258 dhcpmsg(MSG_DEBUG, "script ok"); 260 dhcpmsg(MSG_DEBUG, "script killed"); 262 dhcpmsg(MSG_DEBUG, "script failed"); 294 dhcpmsg(MSG_DEBUG, "script_start: stopping ongoing script"); 309 dhcpmsg(MSG_ERROR, "script_start: can't create pipe"); 314 dhcpmsg(MSG_ERROR, "script_start: can't fork");
|
H A D | util.c | 36 #include <dhcpmsg.h> 183 dhcpmsg(MSG_INFO, "%s: message from server: %.*s", 396 dhcpmsg(MSG_VERBOSE, "inactivity_shutdown: timed out"); 554 dhcpmsg(MSG_WARNING, 562 dhcpmsg(MSG_WARNING, 699 dhcpmsg(MSG_DEBUG, "wrote lease to %s", hcfile); 701 dhcpmsg(MSG_DEBUG, "%s is on a read-only file " 704 dhcpmsg(MSG_ERR, "cannot write %s (reboot will "
|
/illumos-gate/usr/src/lib/libdhcputil/ |
H A D | Makefile | 29 LOCHDRS = dhcp_inittab.h dhcp_symbol.h dhcpmsg.h 38 MSGFILES = common/dhcpmsg.c
|
H A D | Makefile.com | 28 LOCOBJS = dhcp_inittab.o dhcp_symbol.o dhcpmsg.o
|