儲存庫 vbox 的更動 40423
- 時間撮記:
- 2012-3-11 上午03:22:22 (13 年 以前)
- 位置:
- trunk/src/VBox/Devices/Network/slirp
- 檔案:
-
- 修改 10 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Network/slirp/dnsproxy/dnsproxy.c
r39894 r40423 79 79 } 80 80 81 #else 81 #else /* VBOX */ 82 82 83 83 # define RD(x) (*(x + 2) & 0x01) 84 # define MAX_BUFSPACE 51285 84 86 85 # define QUERYID queryid++ -
trunk/src/VBox/Devices/Network/slirp/ip_icmp.c
r40421 r40423 54 54 */ 55 55 56 #define NEED_SOME_m_getjcl57 56 #include "slirp.h" 58 57 #include "ip_icmp.h" -
trunk/src/VBox/Devices/Network/slirp/libalias/alias_db.c
r39101 r40423 327 327 #define LINK_PERMANENT 0x04 328 328 #define LINK_PARTIALLY_SPECIFIED 0x03 /* logical-or of first two bits */ 329 #define LINK_UNFIREWALLED 0x08330 331 329 #ifndef VBOX 330 # define LINK_UNFIREWALLED 0x08 /* This macro definition isn't used in this revision of libalias */ 331 332 332 int timestamp; /* Time link was last accessed */ 333 333 int expire_time; /* Expire time for link */ 334 #else 334 #else /* VBOX */ 335 335 unsigned int timestamp; /* Time link was last accessed */ 336 336 unsigned int expire_time; /* Expire time for link */ -
trunk/src/VBox/Devices/Network/slirp/libalias/alias_mod.c
r26495 r40423 113 113 } 114 114 115 #else 116 #define LIBALIAS_RWLOCK_INIT() ; 117 #define LIBALIAS_RWLOCK_DESTROY() ; 118 #define LIBALIAS_WLOCK_ASSERT() ; 119 #define LIBALIAS_RLOCK() ; 120 #define LIBALIAS_RUNLOCK() ; 121 #define LIBALIAS_WLOCK() ; 122 #define LIBALIAS_WUNLOCK() ; 123 #define _handler_chain_init() ; 124 #define _handler_chain_destroy() ; 115 #else /* VBOX */ 116 # define LIBALIAS_WLOCK_ASSERT() ; 117 # define LIBALIAS_RLOCK() ; 118 # define LIBALIAS_RUNLOCK() ; 119 # define LIBALIAS_WLOCK() ; 120 # define LIBALIAS_WUNLOCK() ; 121 # define _handler_chain_init() ; 122 # define _handler_chain_destroy() ; 125 123 #endif 126 124 -
trunk/src/VBox/Devices/Network/slirp/libalias/alias_proxy.c
r24223 r40423 87 87 # include "alias.h" /* Public API functions for libalias */ 88 88 # include "alias_local.h" /* Functions used by alias*.c */ 89 # define isspace(ch) RT_C_IS_SPACE(ch)90 89 # define tolower(ch) RT_C_TO_LOWER(ch) 91 90 #endif /* VBOX */ -
trunk/src/VBox/Devices/Network/slirp/misc.c
r40204 r40423 25 25 */ 26 26 27 #define WANT_SYS_IOCTL_H28 27 #include <slirp.h> 29 28 #include "zone.h" -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r40291 r40423 114 114 || !(polls[(so)->so_poll_index].revents & POLLNVAL))) 115 115 116 /* specific for Unix API */117 # define DO_UNIX_CHECK_FD_SET(so, events, fdset) DO_CHECK_FD_SET((so), (events), fdset)118 116 /* specific for Windows Winsock API */ 119 117 # define DO_WIN_CHECK_FD_SET(so, events, fdset) 0 … … 129 127 # define closefds_poll (POLLHUP) 130 128 # define rderr_poll (POLLERR) 131 # define rdhup_poll (POLLHUP) 132 # define nval_poll (POLLNVAL) 129 # if 0 /* unused yet */ 130 # define rdhup_poll (POLLHUP) 131 # define nval_poll (POLLNVAL) 132 # endif 133 133 134 134 # define ICMP_ENGAGE_EVENT(so, fdset) \ … … 206 206 #ifdef RT_OS_WINDOWS 207 207 # define WIN_TCP_ENGAGE_EVENT2(so, fdset, fdset2) TCP_ENGAGE_EVENT2(so, fdset1, fdset2) 208 #else209 # define WIN_TCP_ENGAGE_EVENT2(so, fdset, fdset2) do{}while(0)210 208 #endif 211 209 … … 224 222 #define WIN_CHECK_FD_SET(so, events, set) \ 225 223 (DO_WIN_CHECK_FD_SET((so), (events), set)) 226 227 #define UNIX_CHECK_FD_SET(so, events, set) \228 (DO_UNIX_CHECK_FD_SET(so, events, set))229 224 230 225 /* -
trunk/src/VBox/Devices/Network/slirp/socket.c
r40120 r40423 25 25 */ 26 26 27 #define WANT_SYS_IOCTL_H28 27 #include <slirp.h> 29 28 #include "ip_icmp.h" -
trunk/src/VBox/Devices/Network/slirp/tcp_input.c
r39556 r40423 66 66 67 67 68 #define TCP_PAWS_IDLE (24 * 24 * 60 * 60 * PR_SLOWHZ) 68 #if 0 /* code using this macroses is commented out */ 69 # define TCP_PAWS_IDLE (24 * 24 * 60 * 60 * PR_SLOWHZ) 69 70 70 71 /* for modulo comparisons of timestamps */ 71 #define TSTMP_LT(a, b) ((int)((a)-(b)) < 0) 72 #define TSTMP_GEQ(a, b) ((int)((a)-(b)) >= 0) 72 # define TSTMP_LT(a, b) ((int)((a)-(b)) < 0) 73 # define TSTMP_GEQ(a, b) ((int)((a)-(b)) >= 0) 74 #endif 73 75 74 76 #ifndef TCP_ACK_HACK -
trunk/src/VBox/Devices/Network/slirp/tcp_subr.c
r40422 r40423 62 62 */ 63 63 64 #define WANT_SYS_IOCTL_H65 64 #include <slirp.h> 66 65
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器