Changeset 85121 in vbox for trunk/src/VBox/NetworkServices
- Timestamp:
- Jul 8, 2020 7:33:26 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139061
- Location:
- trunk/src/VBox/NetworkServices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/Dhcpd/VBoxNetDhcpd.cpp
r83779 r85121 157 157 void lwipInit(); 158 158 159 static err_t netifInitCB(netif *pNetif) ;159 static err_t netifInitCB(netif *pNetif) RT_NOTHROW_PROTO; 160 160 err_t netifInit(netif *pNetif); 161 161 162 static err_t netifLinkOutputCB(netif *pNetif, pbuf *pPBuf) ;162 static err_t netifLinkOutputCB(netif *pNetif, pbuf *pPBuf) RT_NOTHROW_PROTO; 163 163 err_t netifLinkOutput(pbuf *pPBuf); 164 164 165 165 static void dhcp4RecvCB(void *arg, struct udp_pcb *pcb, struct pbuf *p, 166 ip_addr_t *addr, u16_t port) ;166 ip_addr_t *addr, u16_t port) RT_NOTHROW_PROTO; 167 167 void dhcp4Recv(struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port); 168 168 }; … … 584 584 585 585 586 /* static */ err_t VBoxNetDhcpd::netifInitCB(netif *pNetif) 586 /* static */ err_t VBoxNetDhcpd::netifInitCB(netif *pNetif) RT_NOTHROW_DEF 587 587 { 588 588 AssertPtrReturn(pNetif, ERR_ARG); … … 593 593 594 594 595 /* static */ err_t VBoxNetDhcpd::netifLinkOutputCB(netif *pNetif, pbuf *pPBuf) 595 /* static */ err_t VBoxNetDhcpd::netifLinkOutputCB(netif *pNetif, pbuf *pPBuf) RT_NOTHROW_DEF 596 596 { 597 597 AssertPtrReturn(pNetif, ERR_ARG); … … 607 607 /* static */ void VBoxNetDhcpd::dhcp4RecvCB(void *arg, struct udp_pcb *pcb, 608 608 struct pbuf *p, 609 ip_addr_t *addr, u16_t port) 609 ip_addr_t *addr, u16_t port) RT_NOTHROW_DEF 610 610 { 611 611 AssertPtrReturnVoid(arg); -
trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp
r83806 r85121 183 183 static DECLCALLBACK(void) onLwipTcpIpInit(void *arg); 184 184 static DECLCALLBACK(void) onLwipTcpIpFini(void *arg); 185 static err_t netifInit(netif *pNetif) ;186 static err_t netifLinkoutput(netif *pNetif, pbuf *pBuf) ;185 static err_t netifInit(netif *pNetif) RT_NOTHROW_PROTO; 186 static err_t netifLinkoutput(netif *pNetif, pbuf *pBuf) RT_NOTHROW_PROTO; 187 187 /* static int intNetThreadRecv(RTTHREAD, void *); - unused */ 188 188 … … 529 529 * Callback for netif_add() to initialize the interface. 530 530 */ 531 /*static*/ err_t VBoxNetLwipNAT::netifInit(netif *pNetif) 531 /*static*/ err_t VBoxNetLwipNAT::netifInit(netif *pNetif) RT_NOTHROW_DEF 532 532 { 533 533 err_t rcLwip = ERR_OK; … … 591 591 592 592 593 /*static*/ err_t VBoxNetLwipNAT::netifLinkoutput(netif *pNetif, pbuf *pPBuf) 593 /*static*/ err_t VBoxNetLwipNAT::netifLinkoutput(netif *pNetif, pbuf *pPBuf) RT_NOTHROW_DEF 594 594 { 595 595 AssertPtrReturn(pNetif, ERR_ARG);
Note:
See TracChangeset
for help on using the changeset viewer.