Lines Matching defs:dhcp_classid
64 static uint8_t dhcp_classid[DHCP_MAX_OPT_SIZE + 3];
157 if (dhcp_classid[0] == '\0') {
162 dhcp_classid[0] = CD_CLASS_ID;
176 dp = &dhcp_classid[2];
188 dhcp_classid[1] = (uint8_t)len;
192 printf("%s: Classid: %s\n", s_n, &dhcp_classid[2]);
195 bcopy(dhcp_classid, *opt, dhcp_classid[1] + 2);
196 *opt += dhcp_classid[1] + 2;
900 if (dhcp_classid[0] != 0) {
903 bcopy(&dhcp_classid[2], scratch, dhcp_classid[1]);
904 scratch[dhcp_classid[1]] = '\0';