Home
last modified time | relevance | path

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

/external/ipsec-tools/
Dsetup.c136 set_port(targets[0], 0); in set_globals()
137 set_port(source, 0); in set_globals()
140 set_port(myaddrs[0].addr, PORT_ISAKMP); in set_globals()
145 set_port(myaddrs[1].addr, PORT_ISAKMP_NATT); in set_globals()
466 set_port(targets[0], atoi(argv[6])); in setup()
472 set_port(targets[0], atoi(argv[8])); in setup()
/external/ipsec-tools/src/racoon/
Disakmp_inf.c915 if (set_port(iph2->dst, 0) == NULL ||
916 set_port(iph2->src, 0) == NULL) {
1204 set_port(src, ntohs(natt_port->sadb_x_nat_t_port_port));
1208 set_port(dst, ntohs(natt_port->sadb_x_nat_t_port_port));
1212 set_port(src, PORT_ISAKMP);
1213 set_port(dst, PORT_ISAKMP);
1233 set_port(src, 0);
1234 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.c1346 if (set_port(iph2->dst, 0) == NULL ||
1347 set_port(iph2->src, 0) == NULL) {
2186 set_port(iph2->src, extract_port(iph1->local));
2187 set_port(iph2->dst, extract_port(iph1->remote));
2345 set_port(iph2->src, extract_port(iph1->local));
2346 set_port(iph2->dst, extract_port(iph1->remote));
2885 set_port(iph1->remote, port);
2896 set_port(iph1->local, PORT_ISAKMP);
Dgrabmyaddr.c740 set_port (p->addr, p->udp_encap ? lcconf->port_isakmp_natt : lcconf->port_isakmp); in autoconf_myaddrsport()
Disakmp_cfg.c1157 if (set_port(iph2->dst, 0) == NULL ||
1158 set_port(iph2->src, 0) == NULL) {
Dsockmisc.c1187 set_port (struct sockaddr *addr, u_int16_t new_port) in set_port() function
/external/webrtc/webrtc/base/
Dhttprequest.h50 void set_port(int port) { port_ = port; } in set_port() function
Dhttpcommon_unittest.cc59 url.set_port(80); in TEST()
Dhttpcommon.h247 void set_port(uint16_t val) { port_ = val; } in set_port() function