Lines Matching refs:myaddrs
63 static struct myaddrs myaddrs[2];
118 myaddrs[0].addr = dupsaddr(source);
119 set_port(myaddrs[0].addr, PORT_ISAKMP);
120 myaddrs[0].sock = -1;
122 myaddrs[0].next = &myaddrs[1];
123 myaddrs[1].addr = dupsaddr(myaddrs[0].addr);
124 set_port(myaddrs[1].addr, PORT_ISAKMP_NATT);
125 myaddrs[1].sock = -1;
126 myaddrs[1].udp_encap = 1;
129 localconf.myaddrs = &myaddrs[0];
421 add_isakmp_handler(myaddrs[0].sock, argv[1]);
423 add_isakmp_handler(myaddrs[1].sock, argv[1]);
558 if (!cmpsaddrstrict(addr, myaddrs[1].addr)) {
559 return myaddrs[1].sock;
562 if (!cmpsaddrwop(addr, myaddrs[0].addr)) {
563 return myaddrs[0].sock;