Home
last modified time | relevance | path

Searched refs:userclass (Results 1 – 9 of 9) sorted by relevance

/external/dhcpcd/
Dif-options.c453 s = USERCLASS_MAX_LEN - ifo->userclass[0] - 1; in parse_option()
454 s = parse_string((char *)ifo->userclass + in parse_option()
455 ifo->userclass[0] + 2, in parse_option()
462 ifo->userclass[ifo->userclass[0] + 1] = s; in parse_option()
463 ifo->userclass[0] += s + 1; in parse_option()
Dif-options.h108 uint8_t userclass[USERCLASS_MAX_LEN + 2]; member
Ddhcp.c1016 if (ifo->userclass[0]) { in make_message()
1018 memcpy(p, ifo->userclass, ifo->userclass[0] + 1); in make_message()
1019 p += ifo->userclass[0] + 1; in make_message()
/external/dnsmasq/src/
Dlease.c568 free(lease->userclass); in do_script_run()
606 free(lease->userclass); in do_script_run()
607 lease->userclass = NULL; in do_script_run()
Dhelper.c311 if (lease->userclass) in queue_script()
383 memcpy(p, lease->userclass, uclass_len); in queue_script()
Drfc2131.c1152 free(lease->userclass); in dhcp_reply()
1153 if ((lease->userclass = whine_malloc(len+1))) in dhcp_reply()
1155 memcpy(lease->userclass, ucp, len); in dhcp_reply()
1156 lease->userclass[len] = 0; in dhcp_reply()
Ddnsmasq.h420 unsigned char *vendorclass, *userclass, *supplied_hostname; member
/external/dnsmasq/
Ddnsmasq.conf.example220 # of whose DHCP userclass strings includes the substring "accounts"
221 #dhcp-userclass=red,accounts
DCHANGELOG.archive1272 Tweak --dhcp-userclass matching code to work with the
1366 vendorclass or userclass. Thanks to Mark Wiater for
1687 way as vendorclass and userclass matching. A good