Changeset 63217 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Aug 9, 2016 3:12:08 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bsd/kern/kern_mbuf.c
r63015 r63217 256 256 #endif 257 257 258 static void mb_reclaim(void *); 258 /*static void mb_reclaim(void *); - unused */ 259 259 #ifndef VBOX 260 260 static void mbuf_init(void *); … … 796 796 } 797 797 798 #if 0 /* unused */ 798 799 /* 799 800 * This is the protocol drain routine. … … 821 822 #endif 822 823 } 824 #endif /* unused */ -
trunk/src/VBox/Devices/Network/slirp/hostres.c
r63014 r63217 146 146 static void strnlabels(char *namebuf, size_t nbuflen, const uint8_t *msg, size_t off); 147 147 148 static void LogLabelsTree(const char *before, struct label *l, const char *after); 148 /*static void LogLabelsTree(const char *before, struct label *l, const char *after); - unused */ 149 149 static void free_labels(struct label *root); 150 150 … … 1305 1305 1306 1306 1307 #if 0 /* unused */ 1307 1308 static void 1308 1309 LogLabelsTree(const char *before, struct label *l, const char *after) … … 1349 1350 LogDbg(("%s", after)); 1350 1351 } 1352 #endif /* unused */ 1351 1353 1352 1354 -
trunk/src/VBox/Devices/Network/slirp/libalias/alias.c
r63014 r63217 162 162 uint8_t *c = p; 163 163 164 #ifdef RT_LITTLE_ENDIAN / /BYTE_ORDER == LITTLE_ENDIAN164 #ifdef RT_LITTLE_ENDIAN /*BYTE_ORDER == LITTLE_ENDIAN*/ 165 165 uint16_t s1 = ((uint16_t)c[1] << 8) + (uint16_t)c[0]; 166 166 uint16_t s2 = ((uint16_t)c[3] << 8) + (uint16_t)c[2]; -
trunk/src/VBox/Devices/Network/slirp/resolv_conf_parser.c
r62463 r63217 111 111 size_t cbSearchBuf; 112 112 uint32_t flags; 113 #ifdef RCP_ACCEPT_PORT /* OS X extention */ 113 114 uint32_t default_port = RTNETADDR_PORT_NA; 115 #endif 114 116 unsigned i; 115 117 int rc; -
trunk/src/VBox/Devices/Network/slirp/slirp_dns.c
r63012 r63217 33 33 static int get_dns_addr_domain(PNATState pData) 34 34 { 35 / /ULONG flags = GAA_FLAG_INCLUDE_PREFIX;/*GAA_FLAG_INCLUDE_ALL_INTERFACES;*/ /* all interfaces registered in NDIS */35 /*ULONG flags = GAA_FLAG_INCLUDE_PREFIX;*/ /*GAA_FLAG_INCLUDE_ALL_INTERFACES;*/ /* all interfaces registered in NDIS */ 36 36 PIP_ADAPTER_ADDRESSES pAdapterAddr = NULL; 37 37 PIP_ADAPTER_ADDRESSES pAddr = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.