Searched refs:userclass (Results 1 – 9 of 9) sorted by relevance
/external/dnsmasq/src/ |
D | lease.c | 558 free(lease->userclass); in do_script_run() 592 free(lease->userclass); in do_script_run() 593 lease->userclass = NULL; in do_script_run()
|
D | helper.c | 311 if (lease->userclass) in queue_script() 383 memcpy(p, lease->userclass, uclass_len); in queue_script()
|
D | rfc2131.c | 1152 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()
|
D | dnsmasq.h | 416 unsigned char *vendorclass, *userclass, *supplied_hostname; member
|
/external/dhcpcd-6.8.2/ |
D | if-options.h | 181 uint8_t userclass[USERCLASS_MAX_LEN + 2]; member
|
D | if-options.c | 847 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()
|
D | dhcp.c | 853 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/ |
D | dnsmasq.conf.example | 220 # of whose DHCP userclass strings includes the substring "accounts" 221 #dhcp-userclass=red,accounts
|
D | CHANGELOG.archive | 1272 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
|