Home
last modified time | relevance | path

Searched refs:extract_port (Results 1 – 9 of 9) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp.c362 if (extract_port((struct sockaddr *)&remote) == 0) {
1182 if(extract_port(local) == lcconf->port_isakmp_natt) in isakmp_ph1begin_r()
2184 if (!extract_port(iph2->src) && !extract_port(iph2->dst)) {
2186 set_port(iph2->src, extract_port(iph1->local));
2187 set_port(iph2->dst, extract_port(iph1->remote));
2318 if (!extract_port(iph2->src) && !extract_port(iph2->dst)) {
2345 set_port(iph2->src, extract_port(iph1->local));
2346 set_port(iph2->dst, extract_port(iph1->remote));
2881 if (extract_port(iph1->remote) == 0) {
2882 port = extract_port(rmconf->remote);
[all …]
Dsockmisc.h85 extern u_int16_t extract_port __P((const struct sockaddr *addr));
Dsockmisc.c1106 naddr_port = extract_port(&naddr->sa.sa); in naddr_score()
1107 saddr_port = extract_port(saddr); in naddr_score()
1140 extract_port (const struct sockaddr *addr) in extract_port() function
Dpfkey.c1112 sa_args.l_natt_sport = extract_port (iph2->ph1->remote);
1113 sa_args.l_natt_dport = extract_port (iph2->ph1->local);
1291 set_port(iph2->src, extract_port(iph2->ph1->local));
1292 set_port(iph2->dst, extract_port(iph2->ph1->remote));
1403 sa_args.l_natt_sport = extract_port(iph2->ph1->local);
1404 sa_args.l_natt_dport = extract_port(iph2->ph1->remote);
Dadmin.c427 port = extract_port(rmconf->remote);
Dremoteconf.c120 extract_port(remote) != IPSEC_PORT_ANY)
Disakmp_inf.c1203 if (extract_port(src) == 0 && natt_port != NULL)
1207 if (extract_port(dst) == 0 && natt_port != NULL)
Dgrabmyaddr.c772 if (extract_port(p->addr) == PORT_ISAKMP) {
Dipsec_doi.c3666 port = extract_port(iph1->remote);