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

Lines Matching refs:targets

61 static struct sockaddr *targets[2];
107 targets[0] = dupsaddr(info->ai_addr);
110 source = getlocaladdr(targets[0]);
115 set_port(targets[0], 0);
165 return !cmpsaddrwop(addr, targets[0]) || !cmpsaddrwop(addr, targets[1]);
258 targets[1] = dupsaddr(src);
441 remoteconf->remote = dupsaddr(targets[0]);
449 set_port(targets[0], atoi(argv[6]));
450 spdadd(source, targets[0], IPPROTO_UDP, NULL, NULL);
455 set_port(targets[0], atoi(argv[8]));
456 spdadd(source, targets[0], IPPROTO_UDP, NULL, NULL);