• Home
  • Raw
  • Download

Lines Matching refs:in_addr

1202 const char *xtables_ipaddr_to_numeric(const struct in_addr *addrp)  in xtables_ipaddr_to_numeric()
1211 static const char *ipaddr_to_host(const struct in_addr *addr) in ipaddr_to_host()
1229 static const char *ipaddr_to_network(const struct in_addr *addr) in ipaddr_to_network()
1239 const char *xtables_ipaddr_to_anyname(const struct in_addr *addr) in xtables_ipaddr_to_anyname()
1250 int xtables_ipmask_to_cidr(const struct in_addr *mask) in xtables_ipmask_to_cidr()
1271 const char *xtables_ipmask_to_numeric(const struct in_addr *mask) in xtables_ipmask_to_numeric()
1290 static struct in_addr *__numeric_to_ipaddr(const char *dotted, bool is_mask) in __numeric_to_ipaddr()
1292 static struct in_addr addr; in __numeric_to_ipaddr()
1336 struct in_addr *xtables_numeric_to_ipaddr(const char *dotted) in xtables_numeric_to_ipaddr()
1341 struct in_addr *xtables_numeric_to_ipmask(const char *dotted) in xtables_numeric_to_ipmask()
1346 static struct in_addr *network_to_ipaddr(const char *name) in network_to_ipaddr()
1348 static struct in_addr addr; in network_to_ipaddr()
1361 static struct in_addr *host_to_ipaddr(const char *name, unsigned int *naddr) in host_to_ipaddr()
1363 struct in_addr *addr; in host_to_ipaddr()
1380 addr = xtables_calloc(*naddr, sizeof(struct in_addr)); in host_to_ipaddr()
1384 sizeof(struct in_addr)); in host_to_ipaddr()
1392 static struct in_addr *
1395 struct in_addr *addrptmp, *addrp; in ipparse_hostnetwork()
1399 addrp = xtables_malloc(sizeof(struct in_addr)); in ipparse_hostnetwork()
1410 static struct in_addr *parse_ipmask(const char *mask) in parse_ipmask()
1412 static struct in_addr maskaddr; in parse_ipmask()
1413 struct in_addr *addrp; in parse_ipmask()
1436 void xtables_ipparse_multiple(const char *name, struct in_addr **addrpp, in xtables_ipparse_multiple()
1437 struct in_addr **maskpp, unsigned int *naddrs) in xtables_ipparse_multiple()
1439 struct in_addr *addrp; in xtables_ipparse_multiple()
1449 *addrpp = xtables_malloc(sizeof(struct in_addr) * count); in xtables_ipparse_multiple()
1450 *maskpp = xtables_malloc(sizeof(struct in_addr) * count); in xtables_ipparse_multiple()
1488 sizeof(struct in_addr) * count); in xtables_ipparse_multiple()
1490 sizeof(struct in_addr) * count); in xtables_ipparse_multiple()
1522 void xtables_ipparse_any(const char *name, struct in_addr **addrpp, in xtables_ipparse_any()
1523 struct in_addr *maskp, unsigned int *naddrs) in xtables_ipparse_any()
1526 struct in_addr *addrp; in xtables_ipparse_any()
1555 sizeof(struct in_addr)); in xtables_ipparse_any()
1852 sizeof(struct in_addr)); in xtables_ip6parse_any()