Home
last modified time | relevance | path

Searched refs:clid (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dwbcli.c979 char clid[WB_MAX_CID_LEN]; in generate_default_clientid() local
980 size_t len = sizeof (clid); in generate_default_clientid()
982 if (bootinfo_get(BI_CLIENT_ID, clid, &len, NULL) != BI_E_SUCCESS) { in generate_default_clientid()
985 if (len > sizeof (clid)) { in generate_default_clientid()
989 clid[0] = mac_arp_type(mac_get_type()); in generate_default_clientid()
990 bcopy(mac_get_addr_buf(), &clid[1], len - 1); in generate_default_clientid()
992 (void) bootinfo_put(BI_CLIENT_ID, clid, len, 0); in generate_default_clientid()
H A Dwanboot.c264 char clid[WB_MAX_CID_LEN]; in build_request_url() local
291 clen = sizeof (clid); in build_request_url()
292 if (bootinfo_get(BI_CLIENT_ID, clid, &clen, NULL) != BI_E_SUCCESS) { in build_request_url()
298 (void) octet_to_hexascii(clid, clen, wid, &wlen); in build_request_url()