Changeset 1606 in vbox
- Timestamp:
- Mar 21, 2007 7:27:40 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/intnet.h
r1599 r1606 215 215 /** The size of the receive buffer. (input) */ 216 216 uint32_t cbRecv; 217 /** check access?*/217 /** Whether new participants should be subjected to access check or not. */ 218 218 bool fRestrictAccess; 219 219 /** The handle to the network interface. (output) */ … … 325 325 * 326 326 * @returns VBox status code. 327 * @param pIntNet The 327 * @param pIntNet The internal network instance. 328 * @param pSession The session handle. 329 * @param pszNetwork The network name. 330 * @param cbSend The send buffer size. 331 * @param cbRecv The receive buffer size. 332 * @param fRestrictAccess Whether new participants should be subjected to access check or not. 333 * @param phIf Where to store the handle to the network interface. 328 334 */ 329 335 INTNETR0DECL(int) INTNETR0Open(PINTNET pIntNet, PSUPDRVSESSION pSession, const char *pszNetwork, unsigned cbSend, unsigned cbRecv, bool fRestrictAccess, PINTNETIFHANDLE phIf); -
trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp
r1599 r1606 1266 1266 * 1267 1267 * @returns VBox status code. 1268 * @param pIntNet The instance data. 1269 * @param pszNetwork The name of the network. This must be at least one character long and no longer 1270 * than the INTNETNETWORK::szName. 1271 * @param pSession The session handle. 1272 * @param ppNetwork Where to store the network. 1268 * @param pIntNet The instance data. 1269 * @param pszNetwork The name of the network. This must be at least one character long and no longer 1270 * than the INTNETNETWORK::szName. 1271 * @param fRestrictAccess Whether new participants should be subjected to access check or not. 1272 * @param pSession The session handle. 1273 * @param ppNetwork Where to store the network. 1273 1274 */ 1274 1275 static int INTNETCreateNetwork(PINTNET pIntNet, PSUPDRVSESSION pSession, const char *pszNetwork, bool fRestrictAccess, PINTNETNETWORK *ppNetwork) … … 1294 1295 { 1295 1296 RTSpinlockRelease(pIntNet->Spinlock, &Tmp); 1296 LogFlow(("INTNET OpenNetwork: returns VERR_ALREADY_EXISTS\n"));1297 LogFlow(("INTNETCreateNetwork: returns VERR_ALREADY_EXISTS\n")); 1297 1298 return VERR_ALREADY_EXISTS; 1298 1299 } … … 1339 1340 { 1340 1341 *ppNetwork = pNew; 1341 LogFlow(("INTNET OpenNetwork: returns VINF_SUCCESS *ppNetwork=%p\n", pNew));1342 LogFlow(("INTNETCreateNetwork: returns VINF_SUCCESS *ppNetwork=%p\n", pNew)); 1342 1343 return VINF_SUCCESS; 1343 1344 } … … 1345 1346 /* The release will destroy the object. */ 1346 1347 SUPR0ObjRelease(pNew->pvObj, pSession); 1347 LogFlow(("INTNET OpenNetwork: returns %Vrc\n", rc));1348 LogFlow(("INTNETCreateNetwork: returns %Vrc\n", rc)); 1348 1349 return rc; 1349 1350 } … … 1354 1355 } 1355 1356 RTMemFree(pNew); 1356 LogFlow(("INTNET OpenNetwork: returns %Vrc\n", rc));1357 LogFlow(("INTNETCreateNetwork: returns %Vrc\n", rc)); 1357 1358 return rc; 1358 1359 } … … 1363 1364 * 1364 1365 * @returns VBox status code. 1365 * @param pIntNet The internal network instance. 1366 * @param pSession The session handle. 1367 * @param pszNetwork The network name. 1368 * @param cbSend The send buffer size. 1369 * @param cbRecv The receive buffer size. 1370 * @param phIf Where to store the handle to the network interface. 1366 * @param pIntNet The internal network instance. 1367 * @param pSession The session handle. 1368 * @param pszNetwork The network name. 1369 * @param cbSend The send buffer size. 1370 * @param cbRecv The receive buffer size. 1371 * @param fRestrictAccess Whether new participants should be subjected to access check or not. 1372 * @param phIf Where to store the handle to the network interface. 1371 1373 */ 1372 1374 INTNETR0DECL(int) INTNETR0Open(PINTNET pIntNet, PSUPDRVSESSION pSession, const char *pszNetwork, unsigned cbSend, unsigned cbRecv, bool fRestrictAccess, PINTNETIFHANDLE phIf)
Note:
See TracChangeset
for help on using the changeset viewer.