Home
last modified time | relevance | path

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

/external/ipsec-tools/
Dsetup.c115 set_port(targets[0], 0); in set_globals()
116 set_port(source, 0); in set_globals()
119 set_port(myaddrs[0].addr, PORT_ISAKMP); in set_globals()
124 set_port(myaddrs[1].addr, PORT_ISAKMP_NATT); in set_globals()
449 set_port(targets[0], atoi(argv[6])); in setup()
455 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);
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()
Dadmin.c428 if (set_port(remote, port) == NULL)
436 if (set_port(local, port) == NULL)
Disakmp.c1342 if (set_port(iph2->dst, 0) == NULL ||
1343 set_port(iph2->src, 0) == NULL) {
2179 set_port(iph2->src, extract_port(iph1->local));
2180 set_port(iph2->dst, extract_port(iph1->remote));
2338 set_port(iph2->src, extract_port(iph1->local));
2339 set_port(iph2->dst, extract_port(iph1->remote));
2878 set_port(iph1->remote, port);
2889 set_port(iph1->local, PORT_ISAKMP);
Dgrabmyaddr.c719 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.c1172 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
/external/curl/lib/
Durldata.h1558 bool set_port; /* custom port number used */ member