Lines Matching refs:clientid
162 "\t\t[-h, --hostname hostname] [-I, --clientid clientid]\n"
797 /* If we haven't specified a ClientID and our hardware address
798 * length is greater than DHCP_CHADDR_LEN then we enforce a ClientID
803 /* Firewire and InfiniBand interfaces require ClientID and
812 free(iface->clientid);
813 iface->clientid = NULL;
814 if (*ifo->clientid) {
815 iface->clientid = xmalloc(ifo->clientid[0] + 1);
816 memcpy(iface->clientid, ifo->clientid, ifo->clientid[0] + 1);
824 iface->clientid = xmalloc(len + 6);
825 iface->clientid[0] = len + 5;
826 iface->clientid[1] = 255; /* RFC 4361 */
829 memcpy(iface->clientid + 2, iface->name, ifl);
831 memset(iface->clientid + 2 + ifl,
835 memcpy(iface->clientid + 2, &ifl, 4);
839 iface->clientid = xmalloc(len + 1);
840 iface->clientid[0] = len;
841 iface->clientid[1] = iface->family;
842 memcpy(iface->clientid + 2, iface->hwaddr,
847 syslog(LOG_DEBUG, "%s: using ClientID %s", iface->name,
848 hwaddr_ntoa(iface->clientid + 1, *iface->clientid));
1202 if (iface->hwlen == 0 && ifo->clientid[0] == '\0') {
1203 syslog(LOG_WARNING, "%s: needs a clientid to configure",