Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dlease.c558 free(lease->userclass); in do_script_run()
592 free(lease->userclass); in do_script_run()
593 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.h416 unsigned char *vendorclass, *userclass, *supplied_hostname; member
/external/dhcpcd-6.8.2/
Dif-options.h181 uint8_t userclass[USERCLASS_MAX_LEN + 2]; member
Dif-options.c847 s = USERCLASS_MAX_LEN - ifo->userclass[0] - 1; in parse_option()
848 s = parse_string((char *)ifo->userclass + in parse_option()
849 ifo->userclass[0] + 2, (size_t)s, arg); in parse_option()
855 ifo->userclass[ifo->userclass[0] + 1] = (uint8_t)s; in parse_option()
856 ifo->userclass[0] = (uint8_t)(ifo->userclass[0] + s +1); in parse_option()
Ddhcp.c853 if (ifo->userclass[0]) { in make_message()
855 memcpy(p, ifo->userclass, in make_message()
856 (size_t)ifo->userclass[0] + 1); in make_message()
857 p += ifo->userclass[0] + 1; in make_message()
/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