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