Home
last modified time | relevance | path

Searched refs:port2 (Results 1 – 25 of 48) 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()
Dibendports.c140 int port2 = c->u.ibendport.port; in sepol_ibendport_exists() local
142 if (port2 == port && in sepol_ibendport_exists()
168 int port2 = c->u.ibendport.port; in sepol_ibendport_query() local
170 if (port2 == port && in sepol_ibendport_query()
/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()
Dibendports_local.c87 int port2; in hidden_def() local
125 port2 = semanage_ibendport_get_port(ibendports[j]); in hidden_def()
130 if (port == port2) { in hidden_def()
132 ibdev_name2, port2); in hidden_def()
/external/ipsec-tools/src/racoon/
Dsockmisc.c145 u_short port1, port2; local
167 port2 = ((struct sockaddr_in *)addr2)->sin_port;
169 port2 == IPSEC_PORT_ANY ||
170 port1 == port2))
180 port2 = ((struct sockaddr_in6 *)addr2)->sin6_port;
182 port2 == IPSEC_PORT_ANY ||
183 port1 == port2))
210 u_short port1, port2; local
232 port2 = ((struct sockaddr_in *)addr2)->sin_port;
233 if (port1 != port2)
[all …]
/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/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-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.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/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.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.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.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/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()
/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/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.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/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/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/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()

12