Changeset 85121 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jul 8, 2020 7:33:26 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevINIP.cpp
r82968 r85121 245 245 * @param netif Interface to configure. 246 246 */ 247 static err_t devINIPInterface(struct netif *netif) 247 static err_t devINIPInterface(struct netif *netif) RT_NOTHROW_DEF 248 248 { 249 249 LogFlow(("%s: netif=%p\n", __FUNCTION__, netif)); -
trunk/src/VBox/Devices/Network/DrvNAT.cpp
r82968 r85121 412 412 * @thread NAT 413 413 */ 414 static voiddrvNATSendWorker(PDRVNAT pThis, PPDMSCATTERGATHER pSgBuf)414 static DECLCALLBACK(void) drvNATSendWorker(PDRVNAT pThis, PPDMSCATTERGATHER pSgBuf) 415 415 { 416 416 #if 0 /* Assertion happens often to me after resuming a VM -- no time to investigate this now. */ … … 656 656 * @thread "NAT" thread. 657 657 */ 658 static voiddrvNATNotifyLinkChangedWorker(PDRVNAT pThis, PDMNETWORKLINKSTATE enmLinkState)658 static DECLCALLBACK(void) drvNATNotifyLinkChangedWorker(PDRVNAT pThis, PDMNETWORKLINKSTATE enmLinkState) 659 659 { 660 660 pThis->enmLinkState = pThis->enmLinkStateWant = enmLinkState; … … 712 712 } 713 713 714 static voiddrvNATNotifyApplyPortForwardCommand(PDRVNAT pThis, bool fRemove,715 bool fUdp, const char *pHostIp,716 uint16_t u16HostPort, const char *pGuestIp, uint16_t u16GuestPort)714 static DECLCALLBACK(void) drvNATNotifyApplyPortForwardCommand(PDRVNAT pThis, bool fRemove, 715 bool fUdp, const char *pHostIp, 716 uint16_t u16HostPort, const char *pGuestIp, uint16_t u16GuestPort) 717 717 { 718 718 struct in_addr guestIp, hostIp; -
trunk/src/VBox/Devices/Network/lwip-new/vbox/VBoxLwipCore.cpp
r82968 r85121 46 46 } 47 47 48 typedef struct { 48 typedef struct LWIPCOREUSERCALLBACK 49 { 49 50 PFNRT1 pfn; 50 51 void *pvUser; … … 64 65 65 66 /** 66 * @note :this function executes on TCPIP thread.67 */ 68 static void lwipCoreUserCallback(void *pvArg) 67 * @note this function executes on TCPIP thread. 68 */ 69 static void lwipCoreUserCallback(void *pvArg) RT_NOTHROW_DEF 69 70 { 70 71 LogFlowFunc(("ENTER: pvArg:%p\n", pvArg)); … … 81 82 82 83 /** 83 * @note :this function executes on TCPIP thread.84 */ 85 static void lwipCoreInitDone(void *pvArg) 84 * @note this function executes on TCPIP thread. 85 */ 86 static void lwipCoreInitDone(void *pvArg) RT_NOTHROW_DEF 86 87 { 87 88 LogFlowFunc(("ENTER: pvArg:%p\n", pvArg)); … … 95 96 96 97 /** 97 * @note :this function executes on TCPIP thread.98 */ 99 static void lwipCoreFiniDone(void *pvArg) 98 * @note this function executes on TCPIP thread. 99 */ 100 static void lwipCoreFiniDone(void *pvArg) RT_NOTHROW_DEF 100 101 { 101 102 LogFlowFunc(("ENTER: pvArg:%p\n", pvArg)); -
trunk/src/VBox/Devices/Network/lwip-new/vbox/VBoxLwipCore.h
r82968 r85121 23 23 #endif 24 24 25 26 typedef DECLCALLBACKPTR(void, PFNRT1)(void *);27 28 25 /** 29 * initiliazes LWIP core, and do callback on tcp/ip thread26 * Initializes LWIP core, and do callback on tcp/ip thread. 30 27 */ 31 28 int vboxLwipCoreInitialize(PFNRT1 pfnCallback, void * pfnCallbackArg); 32 29 void vboxLwipCoreFinalize(PFNRT1 pfnCallback, void * pfnCallbackArg); 30 33 31 #endif /* !VBOX_INCLUDED_SRC_Network_lwip_new_vbox_VBoxLwipCore_h */ -
trunk/src/VBox/Devices/Network/testcase/tstIntNetR0.cpp
r83815 r85121 76 76 * @param pvUser2 The second user argument. 77 77 */ 78 typedef DECLCALLBACK (void) FNSUPDRVDESTRUCTOR(void *pvObj, void *pvUser1, void *pvUser2);78 typedef DECLCALLBACKTYPE(void, FNSUPDRVDESTRUCTOR,(void *pvObj, void *pvUser1, void *pvUser2)); 79 79 /** Pointer to a FNSUPDRVDESTRUCTOR(). */ 80 80 typedef FNSUPDRVDESTRUCTOR *PFNSUPDRVDESTRUCTOR;
Note:
See TracChangeset
for help on using the changeset viewer.