Searched refs:set_port (Results 1 – 13 of 13) sorted by relevance
/external/ipsec-tools/ |
D | setup.c | 136 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/ |
D | isakmp_inf.c | 915 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);
|
D | sockmisc.h | 86 extern u_int16_t *set_port __P((struct sockaddr *addr, u_int16_t new_port));
|
D | pfkey.c | 898 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);
|
D | admin.c | 428 if (set_port(remote, port) == NULL) 436 if (set_port(local, port) == NULL)
|
D | nattraversal.c | 298 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()
|
D | isakmp.c | 1346 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);
|
D | grabmyaddr.c | 740 set_port (p->addr, p->udp_encap ? lcconf->port_isakmp_natt : lcconf->port_isakmp); in autoconf_myaddrsport()
|
D | isakmp_cfg.c | 1157 if (set_port(iph2->dst, 0) == NULL || 1158 set_port(iph2->src, 0) == NULL) {
|
D | sockmisc.c | 1187 set_port (struct sockaddr *addr, u_int16_t new_port) in set_port() function
|
/external/webrtc/webrtc/base/ |
D | httprequest.h | 50 void set_port(int port) { port_ = port; } in set_port() function
|
D | httpcommon_unittest.cc | 59 url.set_port(80); in TEST()
|
D | httpcommon.h | 247 void set_port(uint16_t val) { port_ = val; } in set_port() function
|