HomeSort by relevance Sort by last modified time
    Searched refs:naddr (Results 1 - 8 of 8) sorted by null

  /external/ipsec-tools/src/racoon/
sockmisc.h 79 extern char *naddrwop2str __P((const struct netaddr *naddr));
82 extern int naddr_score(const struct netaddr *naddr, const struct sockaddr *saddr);
prsa_par.h 99 struct netaddr *naddr; member in union:YYSTYPE
sockmisc.c 918 naddrwop2str(const struct netaddr *naddr)
923 if (naddr == NULL)
926 if (memcmp(&naddr->sa, &sa_any, sizeof(sa_any)) == 0)
929 snprintf(buf, sizeof(buf), "%s", saddrwop2str(&naddr->sa.sa));
930 snprintf(&buf[strlen(buf)], sizeof(buf) - strlen(buf), "/%ld", naddr->prefix);
1068 naddr_score(const struct netaddr *naddr, const struct sockaddr *saddr)
1075 if (!naddr || !saddr) {
1077 "Call with null args: naddr=%p, saddr=%p\n",
1078 naddr, saddr);
1083 if (memcmp(naddr, &naddr_any, sizeof(naddr_any)) == 0
    [all...]
prsa_par.y 135 struct netaddr *naddr;
151 %type <naddr> addr4 addr6 addr
  /external/iptables/extensions/
libipt_policy.c 136 unsigned int naddr = 0; local
193 parse_hostnetworkmask(argv[optind-1], &addr, &mask, &naddr);
194 if (naddr > 1)
208 parse_hostnetworkmask(argv[optind-1], &addr, &mask, &naddr);
209 if (naddr > 1)
libip6t_policy.c 176 unsigned int naddr = 0; local
233 parse_hostnetworkmask(argv[optind-1], &addr, &mask, &naddr);
234 if (naddr > 1)
248 parse_hostnetworkmask(argv[optind-1], &addr, &mask, &naddr);
249 if (naddr > 1)
  /external/iptables/
iptables.c 607 host_to_addr(const char *name, unsigned int *naddr)
613 *naddr = 0;
619 while (host->h_addr_list[*naddr] != (char *) NULL)
620 (*naddr)++;
621 addr = fw_calloc(*naddr, sizeof(struct in_addr) * *naddr);
622 for (i = 0; i < *naddr; i++)
    [all...]
ip6tables.c 539 host_to_addr(const char *name, unsigned int *naddr)
553 *naddr = 0;
573 *naddr = 1;
    [all...]

Completed in 133 milliseconds