Home
last modified time | relevance | path

Searched refs:parse_hex (Results 1 – 8 of 8) 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() 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/oprofile/libop/
Dop_events.c68 static int parse_hex(char const * str) in parse_hex() function
163 um->default_mask = parse_hex(tagend); in parse_um()
186 entry->value = parse_hex(c); in parse_um_entry()
474 event->val = parse_hex(value); in read_events()
767 evt = parse_hex(value); in get_mapping()
775 mmcr0 = parse_hex(value); in get_mapping()
787 mmcra = parse_hex(value); in get_mapping()
/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()