Home
last modified time | relevance | path

Searched refs:cmpsaddrwop (Results 1 – 10 of 10) sorted by relevance

/external/ipsec-tools/src/racoon/
Dsockmisc.h48 extern int cmpsaddrwop __P((const struct sockaddr *, const struct sockaddr *));
55 #define CMPSADDR(saddr1, saddr2) cmpsaddrwop((saddr1), (saddr2))
Dthrottle.c117 if (cmpsaddrwop(addr, (struct sockaddr *)&te->host) == 0) {
Dpolicy.c140 if (cmpsaddrwop(iph2->src, (struct sockaddr *)&spidx->src)
148 if (cmpsaddrwop(iph2->dst, (struct sockaddr *)&spidx->dst)
Disakmp_inf.c1427 if (cmpsaddrwop(iph1->local, src) == 0 &&
1428 cmpsaddrwop(iph1->remote, dst) == 0)
1430 else if (cmpsaddrwop(iph1->remote, src) == 0 &&
1431 cmpsaddrwop(iph1->local, dst) == 0)
Dhandler.c186 if (cmpsaddrwop(local, p->local) == 0
187 && cmpsaddrwop(remote, p->remote) == 0)
208 if (cmpsaddrwop(remote, p->remote) == 0)
Dsockmisc.c87 cmpsaddrwop(addr1, addr2) in cmpsaddrwop() function
1132 if (cmpsaddrwop(&sa, &naddr->sa.sa) == 0) in naddr_score()
Dremoteconf.c137 || (!withport && cmpsaddrwop(remote, p->remote) == 0)
Dgrabmyaddr.c762 if (cmpsaddrwop(local, p->addr))
Dpfkey.c1725 if (!cmpsaddrwop(p->addr, sa)) {
/external/ipsec-tools/
Dsetup.c179 return !cmpsaddrwop(addr, targets[0]) || !cmpsaddrwop(addr, targets[1]); in policy_match()
590 if (!cmpsaddrwop(addr, myaddrs[0].addr)) { in getsockmyaddr()