diff options
| author | dreamedge <[email protected]> | 2014-07-02 00:30:10 +0900 |
|---|---|---|
| committer | dreamedge <[email protected]> | 2014-07-02 00:30:10 +0900 |
| commit | f3c71cf5da380839a15409684dbbb02122f63177 (patch) | |
| tree | 25abb38eccfb54c6f09e08f362b1dfd481284d51 /src/const.cstub | |
| parent | 376af5bac31f1b38554a72d879972d45dfe7cdb7 (diff) | |
| download | mruby-f3c71cf5da380839a15409684dbbb02122f63177.tar.gz mruby-f3c71cf5da380839a15409684dbbb02122f63177.zip | |
Add TCP_* constants included in "netinet/tcp.h".
ex: TCP_NODELAY, TCP_CORK, ...
Diffstat (limited to 'src/const.cstub')
| -rw-r--r-- | src/const.cstub | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/const.cstub b/src/const.cstub index 8d4f98a61..8581d6163 100644 --- a/src/const.cstub +++ b/src/const.cstub @@ -376,3 +376,45 @@ #ifdef SOL_SOCKET define_const(SOL_SOCKET); #endif +#ifdef TCP_NODELAY + define_const(TCP_NODELAY); +#endif +#ifdef TCP_MAXSEG + define_const(TCP_MAXSEG); +#endif +#ifdef TCP_CORK + define_const(TCP_CORK); +#endif +#ifdef TCP_KEEPIDLE + define_const(TCP_KEEPIDLE); +#endif +#ifdef TCP_KEEPINTVL + define_const(TCP_KEEPINTVL); +#endif +#ifdef TCP_KEEPCNT + define_const(TCP_KEEPCNT); +#endif +#ifdef TCP_SYNCNT + define_const(TCP_SYNCNT); +#endif +#ifdef TCP_LINGER2 + define_const(TCP_LINGER2); +#endif +#ifdef TCP_DEFER_ACCEPT + define_const(TCP_DEFER_ACCEPT); +#endif +#ifdef TCP_WINDOW_CLAMP + define_const(TCP_WINDOW_CLAMP); +#endif +#ifdef TCP_INFO + define_const(TCP_INFO); +#endif +#ifdef TCP_QUICKACK + define_const(TCP_QUICKACK); +#endif +#ifdef TCP_CONGESTION + define_const(TCP_CONGESTION); +#endif +#ifdef TCP_MD5SIG + define_const(TCP_MD5SIG); +#endif |
