Searched defs:mac_type (Results 1 - 2 of 2) sorted by relevance
/external/dnsmasq/contrib/wrt/ |
H A D | dhcp_release.c | 142 static int parse_hex(char *in, unsigned char *out, int maxlen, int *mac_type) argument 147 if (mac_type) 148 *mac_type = 0; 158 if (*r == '-' && i == 0 && mac_type) 161 *mac_type = strtol(in, NULL, 16); 162 mac_type = NULL; 251 int mac_type; local 290 packet.hlen = parse_hex(argv[3], packet.chaddr, DHCP_CHADDR_MAX, &mac_type); 291 if (mac_type == 0) 294 packet.htype = mac_type; [all...] |
/external/dnsmasq/src/ |
H A D | util.c | 399 unsigned int *wildcard_mask, int *mac_type) 404 if (mac_type) 405 *mac_type = 0; 415 if (*r == '-' && i == 0 && mac_type) 418 *mac_type = strtol(in, NULL, 16); 419 mac_type = NULL; 398 parse_hex(char *in, unsigned char *out, int maxlen, unsigned int *wildcard_mask, int *mac_type) argument
|
Completed in 66 milliseconds