Home
last modified time | relevance | path

Searched refs:mac_type (Results 1 – 3 of 3) sorted by relevance

/external/dnsmasq/contrib/wrt/
Ddhcp_release.c142 static int parse_hex(char *in, unsigned char *out, int maxlen, int *mac_type) in parse_hex() argument
147 if (mac_type) in parse_hex()
148 *mac_type = 0; in parse_hex()
158 if (*r == '-' && i == 0 && mac_type) in parse_hex()
161 *mac_type = strtol(in, NULL, 16); in parse_hex()
162 mac_type = NULL; in parse_hex()
251 int mac_type; in main() local
290 packet.hlen = parse_hex(argv[3], packet.chaddr, DHCP_CHADDR_MAX, &mac_type); in main()
291 if (mac_type == 0) in main()
294 packet.htype = mac_type; in main()
/external/dnsmasq/src/
Dutil.c370 unsigned int *wildcard_mask, int *mac_type) in parse_hex() argument
375 if (mac_type) in parse_hex()
376 *mac_type = 0; in parse_hex()
386 if (*r == '-' && i == 0 && mac_type) in parse_hex()
389 *mac_type = strtol(in, NULL, 16); in parse_hex()
390 mac_type = NULL; in parse_hex()
Ddnsmasq.h748 unsigned int *wildcard_mask, int *mac_type);