Searched refs:option_uint (Results 1 – 2 of 2) sorted by relevance
/external/dnsmasq/contrib/wrt/ |
D | dhcp_lease_time.c | 121 static unsigned int option_uint(unsigned char *opt, int size) in option_uint() function 195 unsigned int t = option_uint(p, 4); in main()
|
/external/dnsmasq/src/ |
D | rfc2131.c | 92 static unsigned int option_uint(unsigned char *opt, int i, int size); 167 mess_type = option_uint(opt, 0, 1); in dhcp_reply() 178 size_t size = (size_t)option_uint(opt, 0, 2) - 28; in dhcp_reply() 727 int type = option_uint(opt, 0, 2); in dhcp_reply() 728 int layer = option_uint(opt, 2, 2); in dhcp_reply() 779 pxearch = option_uint(opt, 0, 2); in dhcp_reply() 1343 unsigned int req_time = option_uint(opt, 0, 4); in calc_time() 1514 static unsigned int option_uint(unsigned char *opt, int offset, int size) in option_uint() function 1589 if (overload && (option_uint(overload, 0, 1) & 1)) in dhcp_packet_size() 1598 if (overload && (option_uint(overload, 0, 1) & 2)) in dhcp_packet_size()
|