Home
last modified time | relevance | path

Searched refs:parse_addr (Results 1 – 5 of 5) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_flow_dissector.c593 static void parse_addr(int family, void *addr, const char *optarg) in parse_addr() function
606 parse_addr(AF_INET, &addr->sin_addr, optarg); in parse_addr4()
611 parse_addr(AF_INET6, &addr->sin6_addr, optarg); in parse_addr6()
/external/dnsmasq/src/
Dnetwork.c958 if (parse_addr(AF_INET, saddr, &addr) == 0) { in set_servers()
965 else if (parse_addr(AF_INET6, saddr, &addr) == 0) { in set_servers()
1051 if (parse_addr(AF_INET, token, &addr) == 0) { in reload_servers()
1058 else if (parse_addr(AF_INET6, token, &addr) == 0) { in reload_servers()
Doption.c1233 if (arg && parse_addr(AF_INET, arg, &new->addr) != 0 && in one_opt()
1234 parse_addr(AF_INET6, arg, &new->addr) != 0) { in one_opt()
1300 if (parse_addr(AF_INET, arg, &newlist->addr) == 0) { in one_opt()
1304 if (parse_addr(AF_INET, source, &newlist->addr) != 0) { in one_opt()
1319 else if (parse_addr(AF_INET6, arg, &newlist->addr) == 0) { in one_opt()
1323 if (parse_addr(AF_INET6, source, &newlist->source_addr) != 0) { in one_opt()
Dutil.c284 int parse_addr(int family, const char* addrstr, union mysockaddr* addr) { in parse_addr() function
Ddnsmasq.h697 int parse_addr(int family, const char* addrstr, union mysockaddr* addr);