Home | History | Annotate | Download | only in ipsec-tools

Lines Matching full:targets

62 static struct sockaddr *targets[2];
111 targets[0] = dupsaddr(info->ai_addr);
115 sources[0].addr = getlocaladdr(targets[0]);
120 set_port(targets[0], 0);
158 return cmpsaddr(addr, targets[0]) < CMPSADDR_MISMATCH ||
159 cmpsaddr(addr, targets[1]) < CMPSADDR_MISMATCH;
252 targets[1] = dupsaddr(src);
426 remoteconf->remote = dupsaddr(targets[0]);
435 set_port(targets[0], atoi(argv[6]));
436 spdadd(sources[0].addr, targets[0], IPPROTO_UDP, NULL, NULL);
441 set_port(targets[0], atoi(argv[7]));
442 spdadd(sources[0].addr, targets[0], IPPROTO_UDP, NULL, NULL);