/vbox/include/VBox/vmm/ |
H A D | ftm.h | 57 VMMR3DECL(int) FTMR3PowerOn(PUVM pUVM, bool fMaster, unsigned uInterval, const char *pszAddress, unsigned uPort, const char *pszPassword);
|
H A D | hm.h | 181 unsigned uPort, unsigned uAndVal, unsigned cbSize); 183 unsigned uPort, unsigned uAndVal, unsigned cbSize);
|
H A D | iom.h | 160 * @param uPort Port number used for the IN operation. 178 * @param uPort Port number used for the IN operation. 195 * @param uPort Port number used for the OUT operation. 211 * @param uPort Port number used for the OUT operation. 278 VMMDECL(VBOXSTRICTRC) IOMInterpretINSEx(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, uint32_t uPort, uint32_t uPrefix, DISCPUMODE enmAddrMode, uint32_t cbTransfer); 280 VMMDECL(VBOXSTRICTRC) IOMInterpretOUTSEx(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, uint32_t uPort, uint32_t uPrefix, DISCPUMODE enmAddrMode, uint32_t cbTransfer);
|
/vbox/src/VBox/ValidationKit/tests/usb/ |
H A D | usbgadget.py | 130 def connectTo(self, cMsTimeout, sGadgetType, sHostname, uPort = None): 136 if uPort is None: 139 self.oTxsSession = txsclient.openTcpSession(cMsTimeout, sHostname, uPort = uPort);
|
/vbox/include/iprt/ |
H A D | udp.h | 73 * @param uPort The port for creating a datagram socket. 80 RTR3DECL(int) RTUdpServerCreate(const char *pszAddress, unsigned uPort, RTTHREADTYPE enmType, const char *pszThrdName, 90 * @param uPort The port for creating a datagram socket. 93 RTR3DECL(int) RTUdpServerCreateEx(const char *pszAddress, uint32_t uPort, PPRTUDPSERVER ppServer);
|
H A D | tcp.h | 74 * @param uPort The port for creating a listening socket. 81 RTR3DECL(int) RTTcpServerCreate(const char *pszAddress, unsigned uPort, RTTHREADTYPE enmType, const char *pszThrdName, 91 * @param uPort The port for creating a listening socket. 94 RTR3DECL(int) RTTcpServerCreateEx(const char *pszAddress, uint32_t uPort, PPRTTCPSERVER ppServer); 168 * @param uPort The port to connect to. 171 RTR3DECL(int) RTTcpClientConnect(const char *pszAddress, uint32_t uPort, PRTSOCKET pSock); 181 * @param uPort The port to connect to. 199 RTR3DECL(int) RTTcpClientConnectEx(const char *pszAddress, uint32_t uPort, PRTSOCKET pSock, 319 * @param uPort The port for accepting connection. 322 RTR3DECL(int) RTTcpAccept(RTSOCKET Sock, unsigned uPort, PRTSOCKE [all...] |
H A D | http.h | 135 * @param uPort port number of the proxy, use 0 for not specifying a port. 139 RTR3DECL(int) RTHttpSetProxy(RTHTTP hHttp, const char *pcszProxyUrl, uint32_t uPort,
|
H A D | socket.h | 127 * @param uPort Port number (host byte order). 130 RTDECL(int) RTSocketParseInetAddress(const char *pszAddress, unsigned uPort, PRTNETADDR pAddr);
|
/vbox/src/VBox/ValidationKit/testdriver/ |
H A D | tst-txsclient.py | 69 uPort = None; 80 uPort = int(asArgs[i + 1]); 99 if uPort is None: 102 oSession = txsclient.openTcpSession(cMsTimeout, sAddress, uPort = uPort, fReversedSetup = fReversedSetup);
|
H A D | txsclient.py | 1625 def __init__(self, sHostname, uPort, fReversedSetup): 1633 self.uPort = uPort if uPort is not None else 5042 if fReversedSetup is False else 5048; 1643 return '<%s sHostname=%s, fReversedSetup=%s, uPort=%s, oSocket=%s,'\ 1645 % (TransportBase.toString(self), self.sHostname, self.fReversedSetup, self.uPort, self.oSocket, 1749 oSocket.bind((self.sHostname, self.uPort)); 1751 reporter.errorXcpt('socket.bind((%s,%s)) failed' % (self.sHostname, self.uPort)); 1814 oSocket.connect((self.sHostname, self.uPort)); 1844 reporter.fatalXcpt('socket.connect((%s,%s)) failed; iRc=%s' % (self.sHostname, self.uPort, iR [all...] |
H A D | vboxwrappers.py | 1124 def setupVrdp(self, fEnable, uPort = None): 1138 if uPort is not None and fRc: 1141 self.o.machine.VRDEServer.setVRDEProperty("TCP/Ports", str(uPort)); 1143 self.o.machine.VRDPServer.ports = str(uPort); 1145 reporter.errorXcpt('failed to set VRDEServer::ports=%s for "%s"' % (uPort, self.sName)); 1148 reporter.log('set VRDEServer.enabled/ports=%s/%s for "%s"' % (fEnable, uPort, self.sName)); 2064 def setupTeleporter(self, fEnabled=True, uPort = 6500, sAddress = '', sPassword = ''): 2071 self.o.machine.teleporterPort = uPort; 2075 reporter.errorXcpt('setupTeleporter(%s, %s, %s, %s)' % (fEnabled, sPassword, uPort, sAddress)); 2091 def teleport(self, sHostname = 'localhost', uPort [all...] |
/vbox/src/VBox/VMM/include/ |
H A D | FTMInternal.h | 53 unsigned uPort; member in struct:FTM
|
/vbox/src/VBox/ValidationKit/tests/teleportation/ |
H A D | tdTeleportLocal1.py | 414 fRc = fRc and oSession.setupTeleporter(False, uPort=6501, sPassword='password'); 428 fRc = fRc and oSession.setupTeleporter(True, uPort=6502, sPassword='password'); 531 fRc = oSession.setupTeleporter(fTeleporterEnabled, uPort=6502, sPassword='password'); 704 fRc = oSession.setupTeleporter(True, uPort=6502, sAddress='no.such.hostname.should.ever.exist.duh'); 759 def test1Sub2SetPort(self, oSession, uPort, fInvalid = False): 762 uOld = uPort; 768 oSession.o.machine.teleporterPort = uPort; 771 return reporter.testFailureXcpt('machine.teleporterPort=%u' % (uPort,)); 774 return reporter.testFailureXcpt('machine.teleporterPort=%u succeeded unexpectedly' % (uPort,)); 780 reporter.testFailure('machine.teleporterPort=%u but afterwards it is actually %u' % (uPort, uNe [all...] |
/vbox/src/VBox/Runtime/r3/ |
H A D | udp.cpp | 188 * @param uPort The port for creating a datagram socket. 195 RTR3DECL(int) RTUdpServerCreate(const char *pszAddress, unsigned uPort, RTTHREADTYPE enmType, const char *pszThrdName, argument 201 AssertReturn(uPort > 0, VERR_INVALID_PARAMETER); 210 int rc = RTUdpServerCreateEx(pszAddress, uPort, &pServer); 271 * @param uPort The port for creating a datagram socket. 274 RTR3DECL(int) RTUdpServerCreateEx(const char *pszAddress, uint32_t uPort, PPRTUDPSERVER ppServer) argument 280 AssertReturn(uPort > 0, VERR_INVALID_PARAMETER); 287 int rc = RTSocketParseInetAddress(pszAddress, uPort, &LocalAddr);
|
H A D | tcp.cpp | 218 * @param uPort The port for creating a listening socket. 225 RTR3DECL(int) RTTcpServerCreate(const char *pszAddress, unsigned uPort, RTTHREADTYPE enmType, const char *pszThrdName, argument 231 AssertReturn(uPort > 0, VERR_INVALID_PARAMETER); 240 int rc = RTTcpServerCreateEx(pszAddress, uPort, &pServer); 301 * @param uPort The port for creating a listening socket. 304 RTR3DECL(int) RTTcpServerCreateEx(const char *pszAddress, uint32_t uPort, PPRTTCPSERVER ppServer) argument 309 AssertReturn(uPort > 0, VERR_INVALID_PARAMETER); 316 int rc = RTSocketParseInetAddress(pszAddress, uPort, &LocalAddr); 806 RTR3DECL(int) RTTcpClientConnect(const char *pszAddress, uint32_t uPort, PRTSOCKET pSock) argument 808 return RTTcpClientConnectEx(pszAddress, uPort, pSoc 812 RTTcpClientConnectEx(const char *pszAddress, uint32_t uPort, PRTSOCKET pSock, RTMSINTERVAL cMillies, PRTTCPCLIENTCONNECTCANCEL volatile *ppCancelCookie) argument [all...] |
H A D | socket.cpp | 256 pAddr->uPort = RT_N2H_U16(pSrc->IPv4.sin_port); 265 pAddr->uPort = RT_N2H_U16(pSrc->IPv6.sin6_port); 295 pDst->IPv4.sin_port = RT_H2N_U16(pAddr->uPort); 305 pDst->IPv6.sin6_port = RT_H2N_U16(pAddr->uPort); 634 RTDECL(int) RTSocketParseInetAddress(const char *pszAddress, unsigned uPort, PRTNETADDR pAddr) argument 641 AssertReturn(uPort > 0, VERR_INVALID_PARAMETER); 671 pAddr->uPort = uPort; 689 pAddr->uPort = uPort; [all...] |
/vbox/src/VBox/Devices/EFI/ |
H A D | DevSmc.cpp | 469 for (uint16_t uPort = 0x300; uPort < 0x320; uPort ++) 470 LogRel(("SMC: %#06x=%#010x w={%#06x, %#06x}, b={%#04x %#04x %#04x %#04x}\n", uPort, 471 ASMInU32(uPort), ASMInU16(uPort), ASMInU16(uPort + 2), 472 ASMInU8(uPort), ASMInU8(uPort + 1), ASMInU8(uPort [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | VRDEServerImpl.cpp | 299 unsigned uPort = 0; local 302 uPort = uPort * 10 + *pszStart - '0'; 306 if (uPort != 0 && uPort < 0x10000) 309 *pu16Port = (uint16_t)uPort;
|
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/ |
H A D | UIMachineSettingsParallel.cpp | 200 for (ulong uPort = 0; uPort < uCount; ++uPort)
|
H A D | UIMachineSettingsSerial.cpp | 239 for (ulong uPort = 0; uPort < uCount; ++uPort)
|
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | resolv_conf_parser.c | 270 address->uPort = RTStrToUInt16(ptr + 1); 272 if (address->uPort == 0) return tok_error; 557 if (addr->uPort == 0) 558 addr->uPort = state->rcps_port;
|
/vbox/src/VBox/Main/src-client/ |
H A D | ConsoleImplTeleporter.cpp | 1042 ULONG uPort; local 1043 HRESULT hrc = pMachine->COMGETTER(TeleporterPort)(&uPort); 1046 ULONG const uPortOrg = uPort; 1067 if (uPort) 1068 vrc = RTTcpServerCreateEx(pszAddress, uPort, &hServer); 1073 uPort = RTRandU32Ex(cTries >= 8192 ? 49152 : 1024, 65534); 1074 vrc = RTTcpServerCreateEx(pszAddress, uPort, &hServer); 1080 hrc = pMachine->COMSETTER(TeleporterPort)(uPort); 1178 if (uPortOrg != uPort)
|
/vbox/src/VBox/ValidationKit/utils/network/ |
H A D | NetPerf.cpp | 139 uint32_t uPort; member in struct:NETPERFPARAMS 1232 int rc = RTTcpServerCreateEx(NULL, pParams->uPort, &pServer); 1235 RTPrintf("Server listening on TCP port %d\n", pParams->uPort); 1598 int rc = RTTcpClientConnect(pszServer, pParams->uPort, &hSocket); 1600 return RTTestIFailedRc(rc, "Failed to connect to %s on port %u: %Rrc\n", pszServer, pParams->uPort, rc); 1667 pszServer, pParams->uPort, pParams->cSecTimeout); 1673 pszServer, pParams->uPort, pParams->cSecTimeout); 1679 pszServer, pParams->uPort, pParams->cSecTimeout); 1685 pszServer, pParams->uPort, pParams->cSecTimeout); 1757 Params.uPort [all...] |
/vbox/src/VBox/VMM/VMMAll/ |
H A D | IOMAll.cpp | 922 uint64_t uPort = 0; local 924 bool fRc = iomGetRegImmData(pCpu, &pCpu->Param2, pRegFrame, &uPort, &cbSize); 929 VBOXSTRICTRC rcStrict = IOMInterpretCheckPortIOAccess(pVM, pRegFrame, uPort, cbSize); 936 rcStrict = IOMIOPortRead(pVM, pVCpu, uPort, &u32Data, cbSize); 983 uint64_t uPort = 0; local 985 bool fRc = iomGetRegImmData(pCpu, &pCpu->Param1, pRegFrame, &uPort, &cbSize); 988 VBOXSTRICTRC rcStrict = IOMInterpretCheckPortIOAccess(pVM, pRegFrame, uPort, cbSize); 998 rcStrict = IOMIOPortWrite(pVM, pVCpu, uPort, u64Data, cbSize);
|
/vbox/src/VBox/Runtime/common/misc/ |
H A D | http.cpp | 230 RTR3DECL(int) RTHttpSetProxy(RTHTTP hHttp, const char *pcszProxy, uint32_t uPort, argument 241 if (uPort != 0) 243 rcCurl = curl_easy_setopt(pHttpInt->pCurl, CURLOPT_PROXYPORT, (long)uPort);
|