Searched refs:extract_port (Results 1 – 9 of 9) sorted by relevance
362 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 …]
85 extern u_int16_t extract_port __P((const struct sockaddr *addr));
1106 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
1112 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);
427 port = extract_port(rmconf->remote);
120 extract_port(remote) != IPSEC_PORT_ANY)
1203 if (extract_port(src) == 0 && natt_port != NULL)1207 if (extract_port(dst) == 0 && natt_port != NULL)
772 if (extract_port(p->addr) == PORT_ISAKMP) {
3666 port = extract_port(iph1->remote);