VirtualBox

Ignore:
Timestamp:
Nov 30, 2013 2:08:42 AM (11 years ago)
Author:
vboxsync
Message:

VBoxNetBaseService hides all details of internal network implementation and become responsible for supporting receiving loop. Notification of children are done via introduced interface:

virtual int processFrame(void *, size_t) = 0;
virtual int processGSO(PCPDMNETWORKGSO, size_t) = 0;
virtual int processUDP(void *, size_t) = 0;

processFrame() and processGSO() might return VERR_IGNORED, to inform base service switch to processUDP() (e.g. for DHCP needs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/Makefile.kmk

    r49713 r49735  
    4545VBoxNetLwipNAT_SOURCES += VBoxNetLwipNAT.cpp    \
    4646        ../NetLib/VBoxNetBaseService.cpp \
    47         ../NetLib/VBoxNetPortForwardString.cpp
     47        ../NetLib/VBoxNetPortForwardString.cpp \
     48        ../NetLib/VBoxNetIntIf.cpp \
     49        ../NetLib/VBoxNetUDP.cpp \
     50        ../NetLib/VBoxNetARP.cpp
     51
    4852VBoxNetLwipNAT_LIBS = \
    4953        $(LIB_RUNTIME)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette