Lines Matching refs:myaddrs
64 static struct myaddrs myaddrs[2]; variable
139 myaddrs[0].addr = dupsaddr(source); in set_globals()
140 set_port(myaddrs[0].addr, PORT_ISAKMP); in set_globals()
141 myaddrs[0].sock = -1; in set_globals()
143 myaddrs[0].next = &myaddrs[1]; in set_globals()
144 myaddrs[1].addr = dupsaddr(myaddrs[0].addr); in set_globals()
145 set_port(myaddrs[1].addr, PORT_ISAKMP_NATT); in set_globals()
146 myaddrs[1].sock = -1; in set_globals()
147 myaddrs[1].udp_encap = 1; in set_globals()
150 localconf.myaddrs = &myaddrs[0]; in set_globals()
437 add_isakmp_handler(myaddrs[0].sock, argv[1]); in setup()
440 add_isakmp_handler(myaddrs[1].sock, argv[1]); in setup()
586 if (!cmpsaddrstrict(addr, myaddrs[1].addr)) { in getsockmyaddr()
587 return myaddrs[1].sock; in getsockmyaddr()
590 if (!cmpsaddrwop(addr, myaddrs[0].addr)) { in getsockmyaddr()
591 return myaddrs[0].sock; in getsockmyaddr()