Changeset 5332 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Oct 16, 2007 5:00:04 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 25365
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bootp.c
r2938 r5332 187 187 } 188 188 189 if ( bootp_filename)189 if (tftp_prefix && RTDirExists(tftp_prefix) && bootp_filename) 190 190 RTStrPrintf((char*)rbp->bp_file, sizeof(rbp->bp_file), "%s", bootp_filename); 191 191 -
trunk/src/VBox/Devices/Network/slirp/libslirp.h
r5266 r5332 27 27 #endif 28 28 29 int slirp_init(PNATState *, const char *, bool, void *);29 int slirp_init(PNATState *, const char *, bool, const char *, const char *, void *); 30 30 void slirp_term(PNATState); 31 31 void slirp_link_up(PNATState); -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r3693 r5332 169 169 #endif 170 170 171 int slirp_init(PNATState *ppData, const char *pszNetAddr, bool fPassDomain, void *pvUser) 171 int slirp_init(PNATState *ppData, const char *pszNetAddr, bool fPassDomain, 172 const char *pszTFTPPrefix, const char *pszBootFile, 173 void *pvUser) 172 174 { 173 175 int fNATfailed = 0; … … 182 184 pData->cpvHashUsed = 1; 183 185 #endif 186 tftp_prefix = pszTFTPPrefix; 187 bootp_filename = pszBootFile; 184 188 185 189 #ifdef _WIN32 -
trunk/src/VBox/Devices/Network/slirp/slirp.h
r3693 r5332 32 32 #include <iprt/assert.h> 33 33 #include <iprt/string.h> 34 #include <iprt/dir.h> 34 35 #include <VBox/types.h> 35 36
Note:
See TracChangeset
for help on using the changeset viewer.