Home
last modified time | relevance | path

Searched refs:port2 (Results 1 – 25 of 32) sorted by relevance

12

/external/selinux/libsepol/src/
Dport_record.c111 int sepol_port_compare2(const sepol_port_t * port, const sepol_port_t * port2) in sepol_port_compare2() argument
114 if ((port->low == port2->low) && in sepol_port_compare2()
115 (port->high == port2->high) && (port->proto == port2->proto)) in sepol_port_compare2()
118 if (port->low < port2->low) in sepol_port_compare2()
121 else if (port2->low < port->low) in sepol_port_compare2()
124 else if (port->high < port2->high) in sepol_port_compare2()
127 else if (port2->high < port->high) in sepol_port_compare2()
130 else if (port->proto < port2->proto) in sepol_port_compare2()
/external/webrtc/webrtc/p2p/base/
Dport_unittest.cc387 Port* port2 = CreateUdpPort(kLocalAddr2); in TestLocalToLocal() local
388 port2->SetIceRole(cricket::ICEROLE_CONTROLLED); in TestLocalToLocal()
389 TestConnectivity("udp", port1, "udp", port2, true, true, true, true); in TestLocalToLocal()
395 Port* port2 = CreateStunPort(kLocalAddr2, &nat_socket_factory2_); in TestLocalToStun() local
396 port2->SetIceRole(cricket::ICEROLE_CONTROLLED); in TestLocalToStun()
397 TestConnectivity("udp", port1, StunName(ntype), port2, in TestLocalToStun()
404 Port* port2 = CreateRelayPort(kLocalAddr2, rtype, proto, PROTO_UDP); in TestLocalToRelay() local
405 port2->SetIceRole(cricket::ICEROLE_CONTROLLED); in TestLocalToRelay()
406 TestConnectivity("udp", port1, RelayName(rtype, proto), port2, in TestLocalToRelay()
413 Port* port2 = CreateUdpPort(kLocalAddr2); in TestStunToLocal() local
[all …]
/external/selinux/libsemanage/src/
Dport_record.c37 const semanage_port_t * port2) in hidden_def()
40 return sepol_port_compare2(port, port2); in hidden_def()
46 const semanage_port_t ** port2) in hidden_def()
49 return sepol_port_compare2(*port, *port2); in hidden_def()
/external/ipsec-tools/src/racoon/
Dsockmisc.c141 u_short port1, port2; local
163 port2 = ((struct sockaddr_in *)addr2)->sin_port;
165 port2 == IPSEC_PORT_ANY ||
166 port1 == port2))
176 port2 = ((struct sockaddr_in6 *)addr2)->sin6_port;
178 port2 == IPSEC_PORT_ANY ||
179 port1 == port2))
206 u_short port1, port2; local
228 port2 = ((struct sockaddr_in *)addr2)->sin_port;
229 if (port1 != port2)
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DPortParser.java96 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
97 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/util/
DPortParser.java96 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
97 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/util/
DPortParser.java96 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
97 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/util/
DPortParser.java96 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
97 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DPortParser.java96 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
97 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/util/
DPortParser.java96 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
97 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java126 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
127 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/util/
DPortParser.java104 int port2 = Integer.parseInt(parameters[5]); in parseHostAndPort() local
105 int port = (port1 << 8) + port2; in parseHostAndPort()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/util/
DPortParser.java104 int port2 = Integer.parseInt(parameters[5]); in parseHostAndPort() local
105 int port = (port1 << 8) + port2; in parseHostAndPort()
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java126 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
127 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java126 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
127 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java126 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
127 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DPortParser.java104 int port2 = Integer.parseInt(parameters[5]); in parseHostAndPort() local
105 int port = (port1 << 8) + port2; in parseHostAndPort()
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java126 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
127 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/util/
DPortParser.java104 int port2 = Integer.parseInt(parameters[5]); in parseHostAndPort() local
105 int port = (port1 << 8) + port2; in parseHostAndPort()
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java126 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
127 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java126 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
127 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java126 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
127 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java126 int port2 = Integer.parseInt(parameters[5]); in parsePortNumber() local
127 int port = (port1 << 8) + port2; in parsePortNumber()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/util/
DPortParser.java104 int port2 = Integer.parseInt(parameters[5]); in parseHostAndPort() local
105 int port = (port1 << 8) + port2; in parseHostAndPort()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/util/
DPortParser.java104 int port2 = Integer.parseInt(parameters[5]); in parseHostAndPort() local
105 int port = (port1 << 8) + port2; in parseHostAndPort()

12