Home
last modified time | relevance | path

Searched refs:set_port (Results 1 – 10 of 10) sorted by relevance

/external/ipsec-tools/
Dsetup.c250 set_port(myaddrs[0].addr, localconf.port_isakmp); in setup()
251 set_port(remoteconf.remote, localconf.port_isakmp); in setup()
255 set_port(myaddrs[1].addr, localconf.port_isakmp_natt); in setup()
/external/ipsec-tools/src/racoon/
Disakmp_inf.c919 if (set_port(iph2->dst, 0) == NULL ||
920 set_port(iph2->src, 0) == NULL) {
1208 set_port(src, ntohs(natt_port->sadb_x_nat_t_port_port));
1212 set_port(dst, ntohs(natt_port->sadb_x_nat_t_port_port));
1216 set_port(src, PORT_ISAKMP);
1217 set_port(dst, PORT_ISAKMP);
1237 set_port(src, 0);
1238 set_port(dst, 0);
Dsockmisc.h86 extern u_int16_t *set_port __P((struct sockaddr *addr, u_int16_t new_port));
Dpfkey.c898 set_port(src, 0);
899 set_port(dst, 0);
1120 set_port(sa_args.src, 0);
1121 set_port(sa_args.dst, 0);
1291 set_port(iph2->src, extract_port(iph2->ph1->local));
1292 set_port(iph2->dst, extract_port(iph2->ph1->remote));
1411 set_port(sa_args.src, 0);
1412 set_port(sa_args.dst, 0);
1417 set_port(sa_args.src, 0);
1418 set_port(sa_args.dst, 0);
Dadmin.c428 if (set_port(remote, port) == NULL)
436 if (set_port(local, port) == NULL)
Dnattraversal.c298 set_port (iph1->local, iph1->natt_options->float_port); in natt_float_ports()
299 set_port (iph1->remote, iph1->natt_options->float_port); in natt_float_ports()
Disakmp.c1344 if (set_port(iph2->dst, 0) == NULL ||
1345 set_port(iph2->src, 0) == NULL) {
2181 set_port(iph2->src, extract_port(iph1->local));
2182 set_port(iph2->dst, extract_port(iph1->remote));
2340 set_port(iph2->src, extract_port(iph1->local));
2341 set_port(iph2->dst, extract_port(iph1->remote));
2880 set_port(iph1->remote, port);
2891 set_port(iph1->local, PORT_ISAKMP);
Dsockmisc.c269 set_port((struct sockaddr *)&local, 0); in getlocaladdr()
1172 set_port (struct sockaddr *addr, u_int16_t new_port) in set_port() function
Dgrabmyaddr.c719 set_port (p->addr, p->udp_encap ? lcconf->port_isakmp_natt : lcconf->port_isakmp); in autoconf_myaddrsport()
Disakmp_cfg.c1155 if (set_port(iph2->dst, 0) == NULL ||
1156 set_port(iph2->src, 0) == NULL) {