Ignore:
Timestamp:
Jan 21, 2018, 12:10:09 AM (6 years ago)
Author:
coas-nagasima
Message:

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

Location:
EcnlProtoTool/trunk/musl-1.1.18
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/musl-1.1.18/include/netinet/tcp.h

    r321 r331  
    2828#define TCP_TIMESTAMP    24
    2929#define TCP_NOTSENT_LOWAT 25
     30#define TCP_CC_INFO      26
     31#define TCP_SAVE_SYN     27
     32#define TCP_SAVED_SYN    28
     33#define TCP_REPAIR_WINDOW 29
    3034
    3135#define TCP_ESTABLISHED  1
     
    4246
    4347#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
     48#define TCPOPT_EOL              0
     49#define TCPOPT_NOP              1
     50#define TCPOPT_MAXSEG           2
     51#define TCPOPT_WINDOW           3
     52#define TCPOPT_SACK_PERMITTED   4
     53#define TCPOPT_SACK             5
     54#define TCPOPT_TIMESTAMP        8
     55#define TCPOLEN_SACK_PERMITTED  2
     56#define TCPOLEN_WINDOW          3
     57#define TCPOLEN_MAXSEG          4
     58#define TCPOLEN_TIMESTAMP       10
     59
    4460#define SOL_TCP 6
     61
    4562#include <sys/types.h>
    4663#include <sys/socket.h>
     
    130147#define TCP_CA_Loss             4
    131148
    132 struct tcp_info
    133 {
     149struct tcp_info {
    134150        uint8_t tcpi_state;
    135151        uint8_t tcpi_ca_state;
     
    139155        uint8_t tcpi_options;
    140156        uint8_t tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4;
     157        uint8_t tcpi_delivery_rate_app_limited : 1;
    141158        uint32_t tcpi_rto;
    142159        uint32_t tcpi_ato;
     
    165182        uint64_t tcpi_pacing_rate;
    166183        uint64_t tcpi_max_pacing_rate;
     184        uint64_t tcpi_bytes_acked;
     185        uint64_t tcpi_bytes_received;
     186        uint32_t tcpi_segs_out;
     187        uint32_t tcpi_segs_in;
     188        uint32_t tcpi_notsent_bytes;
     189        uint32_t tcpi_min_rtt;
     190        uint32_t tcpi_data_segs_in;
     191        uint32_t tcpi_data_segs_out;
     192        uint64_t tcpi_delivery_rate;
    167193};
    168194
    169195#define TCP_MD5SIG_MAXKEYLEN    80
    170196
    171 struct tcp_md5sig
    172 {
     197struct tcp_md5sig {
    173198        struct sockaddr_storage tcpm_addr;
    174199        uint16_t __tcpm_pad1;
     
    178203};
    179204
    180 #endif
    181 
    182 #endif
     205struct tcp_repair_window {
     206        uint32_t snd_wl1;
     207        uint32_t snd_wnd;
     208        uint32_t max_window;
     209        uint32_t rcv_wnd;
     210        uint32_t rcv_wup;
     211};
     212
     213#endif
     214
     215#endif
Note: See TracChangeset for help on using the changeset viewer.