Home
last modified time | relevance | path

Searched refs:parse_hex (Results 1 – 8 of 8) sorted by relevance

/external/vboot_reference/futility/
Dcmd_pcr.c41 static int parse_hex(uint8_t *val, const char *str) in parse_hex() function
78 if (!parse_hex(buf, s)) in parse_digest_or_die()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c142 static int parse_hex(char *in, unsigned char *out, int maxlen, int *mac_type) in parse_hex() function
290 packet.hlen = parse_hex(argv[3], packet.chaddr, DHCP_CHADDR_MAX, &mac_type); in main()
311 unsigned int clid_len = parse_hex(argv[4], p+2, 255, NULL); in main()
/external/iproute2/ip/
Dipmaddr.c46 static int parse_hex(char *str, unsigned char *addr, size_t size) in parse_hex() function
107 len = parse_hex(hexa, (unsigned char*)&m.addr.data, sizeof (m.addr.data)); in read_dev_mcast()
182 len = parse_hex(hexa, (unsigned char*)&m.addr.data, sizeof (m.addr.data)); in read_igmp6()
/external/dnsmasq/src/
Dlease.c79 …hw_len = parse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, DHCP_CHADDR_MAX, NULL,… in lease_init()
89 clid_len = parse_hex(daemon->packet, (unsigned char *)daemon->packet, 255, NULL, NULL); in lease_init()
Dutil.c369 int parse_hex(char *in, unsigned char *out, int maxlen, in parse_hex() function
Doption.c799 parse_hex(comma, new->val, digs, (flags & DHOPT_MATCH) ? &new->u.wildcard_mask : NULL, NULL); in parse_dhcp_opt()
1829 len = parse_hex(arg, (unsigned char *)arg, -1, NULL, NULL); in one_opt()
1859 newhw->hwaddr_len = parse_hex(a[j], newhw->hwaddr, DHCP_CHADDR_MAX, in one_opt()
2125 … new->hwaddr_len = parse_hex(comma, new->hwaddr, DHCP_CHADDR_MAX, &new->mask, &new->hwaddr_type); in one_opt()
2165 new->len = parse_hex(comma, (unsigned char *)comma, strlen(comma), NULL, NULL); in one_opt()
Ddnsmasq.h747 int parse_hex(char *in, unsigned char *out, int maxlen,
Ddhcp.c770 if (!*ip || parse_hex(buff, hwaddr, ETHER_ADDR_LEN, NULL, NULL) != ETHER_ADDR_LEN) in dhcp_read_ethers()