Lines Matching refs:clientid
812 free(iface->clientid); in configure_interface1()
813 iface->clientid = NULL; in configure_interface1()
814 if (*ifo->clientid) { in configure_interface1()
815 iface->clientid = xmalloc(ifo->clientid[0] + 1); in configure_interface1()
816 memcpy(iface->clientid, ifo->clientid, ifo->clientid[0] + 1); in configure_interface1()
824 iface->clientid = xmalloc(len + 6); in configure_interface1()
825 iface->clientid[0] = len + 5; in configure_interface1()
826 iface->clientid[1] = 255; /* RFC 4361 */ in configure_interface1()
829 memcpy(iface->clientid + 2, iface->name, ifl); in configure_interface1()
831 memset(iface->clientid + 2 + ifl, in configure_interface1()
835 memcpy(iface->clientid + 2, &ifl, 4); in configure_interface1()
839 iface->clientid = xmalloc(len + 1); in configure_interface1()
840 iface->clientid[0] = len; in configure_interface1()
841 iface->clientid[1] = iface->family; in configure_interface1()
842 memcpy(iface->clientid + 2, iface->hwaddr, in configure_interface1()
848 hwaddr_ntoa(iface->clientid + 1, *iface->clientid)); in configure_interface1()
1202 if (iface->hwlen == 0 && ifo->clientid[0] == '\0') { in start_interface()