Home
last modified time | relevance | path

Searched refs:reqhost (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dutil.c776 const char *reqhost; in dhcp_add_hostname_opt() local
786 reqhost = dsmp->dsm_msg_reqhost; in dhcp_add_hostname_opt()
792 reqhost = iffile_to_hostname(hostfile); in dhcp_add_hostname_opt()
797 reqhost = nodename; in dhcp_add_hostname_opt()
800 if (reqhost != NULL) { in dhcp_add_hostname_opt()
1018 char nodename[MAXNAMELEN], *reqhost; in dhcp_assemble_fqdn() local
1030 reqhost = dsmp->dsm_msg_reqhost; in dhcp_assemble_fqdn()
1031 if (ipadm_is_nil_hostname(reqhost) && in dhcp_assemble_fqdn()
1034 reqhost = nodename; in dhcp_assemble_fqdn()
1037 if (ipadm_is_nil_hostname(reqhost)) { in dhcp_assemble_fqdn()
[all …]
H A Ddhcpagent.dfl108 # hostname is defined by using the -h,--reqhost option of ipadm(8) or the
109 # ncu ip-reqhost property of nwamcfg(8) or by flagging the interface as
131 # PQDN specified by the -h,--reqhost option of ipadm(8), by the ncu
132 # ip-reqhost property of nwamcfg(8), or by nodename(5). Set and
140 # from a PQDN specified by the -h,--reqhost option of ipadm(8), by the ncu
141 # ip-reqhost property of nwamcfg(8), or by nodename(5). Set and uncomment
150 # enabled, the agent will attempt to use an -h,--reqhost option saved with
151 # ipadm(8) or an ncu ip-reqhost property set with nwamcfg(8); or else
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_door.c254 char *reqhost; in i_ipmgmt_nvl2aobjnode() local
268 &reqhost)) != 0) in i_ipmgmt_nvl2aobjnode()
271 (void) strlcpy(nodep->ipmgmt_am_reqhost, reqhost, in i_ipmgmt_nvl2aobjnode()
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_addr.c1556 const char *reqhost = ""; in i_ipadm_get_reqhost() local
1564 reqhost = ipaddr->ipadm_reqhost; in i_ipadm_get_reqhost()
1570 nbytes = strlcpy(buf, reqhost, *bufsize); in i_ipadm_get_reqhost()
2115 ipadm_set_reqhost(ipadm_addrobj_t ipaddr, const char *reqhost) in ipadm_set_reqhost() argument
2122 if (ipadm_is_nil_hostname(reqhost)) in ipadm_set_reqhost()
2124 else if (!ipadm_is_valid_hostname(reqhost)) in ipadm_set_reqhost()
2126 else if (strlcpy(ipaddr->ipadm_reqhost, reqhost, HNLEN) >= HNLEN) in ipadm_set_reqhost()
2296 char *aobjname = NULL, *reqhost = NULL; in i_ipadm_enable_dhcp() local
2309 err = nvpair_value_string(nvp, &reqhost); in i_ipadm_enable_dhcp()
2331 ipadm_err = ipadm_set_reqhost(&ipaddr, reqhost); in i_ipadm_enable_dhcp()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c1478 char *reqhost = NULL; in do_create_addr() local
1503 reqhost = optarg; in do_create_addr()
1537 reqhost != NULL || primary_opt) { in do_create_addr()
1581 if (reqhost != NULL) { in do_create_addr()
1582 status = ipadm_set_reqhost(ipaddr, reqhost); in do_create_addr()
1589 if (dhcp_opt || s_opt || reqhost != NULL || primary_opt) { in do_create_addr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg_lex.l187 <TSTATE>ip-reqhost { return IP_REQHOST; }