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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/ntshell/src/tinet_app_config.h

    r321 r331  
    22 *  TINET (TCP/IP Protocol Stack)
    33 *
    4  *  Copyright (C) 2001-2009 by Dep. of Computer Science and Engineering
     4 *  Copyright (C) 2001-2012 by Dep. of Computer Science and Engineering
    55 *                   Tomakomai National College of Technology, JAPAN
    66 *
     
    6262
    6363/*
    64  *  TCPの能動オープンのみサポートすることを指定する。
    65  */
    66 
    67 #ifdef UNDEF_TCP_CFG_PASSIVE_OPEN
    68 #undef TCP_CFG_PASSIVE_OPEN
    69 #endif
    70 
    71 /*
    7264 *  TCP 通信端点の送受信ウィンドバッファの省コピー機能
    7365 *    注意: Makefile で指定している。
     
    9890#ifdef USE_TCP_MSS_SEG
    9991
     92#ifdef SUPPORT_INET6
     93
     94#define TCP_CFG_SWBUF_CSAVE_MAX_SIZE    (IF_HDR_SIZE + IPV6_MMTU)       /* 最大サイズ */
     95
     96#else   /* of #ifdef SUPPORT_INET6 */
     97
    10098#ifdef SUPPORT_INET4
    10199#define TCP_CFG_SWBUF_CSAVE_MAX_SIZE    (IF_HDR_SIZE + IP4_MSS)         /* 最大サイズ */
    102100#endif
    103101
    104 #ifdef SUPPORT_INET6
    105 #define TCP_CFG_SWBUF_CSAVE_MAX_SIZE    (IF_HDR_SIZE + IPV6_MMTU)       /* 最大サイズ */
    106 #endif
     102#endif  /* of #ifdef SUPPORT_INET6 */
    107103
    108104#else   /* of #ifdef USE_TCP_MSS_SEG */
     
    135131#endif
    136132
     133#ifdef SUPPORT_INET6
     134
     135#define MAX_TCP_SND_SEG                 TCP6_MSS
     136
     137#else   /* of #ifdef SUPPORT_INET6 */
     138
    137139#ifdef SUPPORT_INET4
    138140#define MAX_TCP_SND_SEG                 TCP_MSS
    139141#endif
    140142
    141 #ifdef SUPPORT_INET6
    142 #define MAX_TCP_SND_SEG                 TCP6_MSS
    143 #endif
     143#endif  /* of #ifdef SUPPORT_INET6 */
    144144
    145145#endif  /* of #ifdef USE_TCP_MSS_SEG */
     
    155155#endif
    156156
     157#ifdef SUPPORT_INET6
     158
     159#define DEF_TCP_RCV_SEG                 TCP6_MSS
     160
     161#else   /* of #ifdef SUPPORT_INET6 */
     162
    157163#ifdef SUPPORT_INET4
    158164#define DEF_TCP_RCV_SEG                 TCP_MSS
    159165#endif
    160166
    161 #ifdef SUPPORT_INET6
    162 #define DEF_TCP_RCV_SEG                 TCP6_MSS
    163 #endif
     167#endif  /* of #ifdef SUPPORT_INET6 */
    164168
    165169#endif  /* of #ifdef USE_TCP_MSS_SEG */
     
    235239#define UDP_CFG_EXTENTIONS
    236240
     241/* IPv6 に関する定義 */
     242
     243#ifdef SUPPORT_PPP
     244
     245#define NUM_IN6_STATIC_ROUTE_ENTRY      0
     246#define NUM_IN6_REDIRECT_ROUTE_ENTRY    0
     247
     248#endif  /* of #ifdef SUPPORT_PPP */
     249
     250#ifdef SUPPORT_LOOP
     251
     252#define NUM_IN6_STATIC_ROUTE_ENTRY      0
     253#define NUM_IN6_REDIRECT_ROUTE_ENTRY    0
     254
     255#endif  /* of #ifdef SUPPORT_LOOP */
     256
     257#ifdef SUPPORT_ETHER
     258
     259#define NUM_IN6_STATIC_ROUTE_ENTRY      0
     260#define NUM_IN6_REDIRECT_ROUTE_ENTRY    1
     261
     262#endif  /* of #ifdef SUPPORT_ETHER */
     263
    237264/* IPv4 に関する定義 */
    238 
    239 #ifdef SUPPORT_INET4
    240265
    241266#ifdef SUPPORT_PPP
     
    253278#endif
    254279
    255 #define NUM_STATIC_ROUTE_ENTRY          1
    256 #define NUM_REDIRECT_ROUTE_ENTRY        0
     280#define NUM_IN4_STATIC_ROUTE_ENTRY      1
     281#define NUM_IN4_REDIRECT_ROUTE_ENTRY    0
    257282
    258283#endif  /* of #ifdef SUPPORT_PPP */
     
    260285#ifdef SUPPORT_ETHER
    261286
    262 #ifdef DHCP_CFG
     287#ifdef DHCP4_CLI_CFG
    263288
    264289#define IPV4_ADDR_LOCAL                 MAKE_IPV4_ADDR(0,0,0,0)
     
    266291#define IPV4_ADDR_DEFAULT_GW            MAKE_IPV4_ADDR(0,0,0,0)
    267292
    268 #else   /* of #ifdef DHCP_CFG */
     293#else   /* of #ifdef DHCP4_CLI_CFG */
    269294
    270295#define IPV4_ADDR_LOCAL                 MAKE_IPV4_ADDR(192,168,137,110)
     
    272297#define IPV4_ADDR_DEFAULT_GW            MAKE_IPV4_ADDR(192,168,137,1)
    273298
    274 #endif  /* of #ifdef DHCP_CFG */
    275 
    276 #define NUM_STATIC_ROUTE_ENTRY          3
    277 #define NUM_REDIRECT_ROUTE_ENTRY        1
     299#endif  /* of #ifdef DHCP4_CLI_CFG */
     300
     301#define NUM_IN4_STATIC_ROUTE_ENTRY      3
     302#define NUM_IN4_REDIRECT_ROUTE_ENTRY    1
    278303
    279304#endif  /* of #ifdef SUPPORT_ETHER */
     
    281306#ifdef SUPPORT_LOOP
    282307
    283 #define NUM_STATIC_ROUTE_ENTRY          1
    284 #define NUM_REDIRECT_ROUTE_ENTRY        0
     308#define NUM_IN4_STATIC_ROUTE_ENTRY      1
     309#define NUM_IN4_REDIRECT_ROUTE_ENTRY    0
    285310
    286311#endif  /* of #ifdef SUPPORT_LOOP */
    287 
    288 #endif  /* of #ifdef SUPPORT_INET4 */
    289 
    290 /* IPv6 に関する定義 */
    291 
    292 #ifdef SUPPORT_INET6
    293 
    294 #ifdef SUPPORT_PPP
    295 
    296 #define NUM_STATIC_ROUTE_ENTRY          0
    297 #define NUM_REDIRECT_ROUTE_ENTRY        0
    298 
    299 #endif  /* of #ifdef SUPPORT_PPP */
    300 
    301 #ifdef SUPPORT_LOOP
    302 
    303 #define NUM_STATIC_ROUTE_ENTRY          0
    304 #define NUM_REDIRECT_ROUTE_ENTRY        0
    305 
    306 #endif  /* of #ifdef SUPPORT_LOOP */
    307 
    308 #ifdef SUPPORT_ETHER
    309 
    310 #define NUM_STATIC_ROUTE_ENTRY          0
    311 #define NUM_REDIRECT_ROUTE_ENTRY        1
    312 
    313 #endif  /* of #ifdef SUPPORT_ETHER */
    314 
    315 #endif  /* of #ifdef SUPPORT_INET6 */
    316312
    317313/*
     
    420416 *    IPv6 でのみ割り当てる。
    421417 *
    422  *    RX62N Ethernet Controler のディバイスドライバ(if_rx62n)の最低割当て長は、
     418 *    MBED Ethernet Controler のディバイスドライバ(if_mbed)の最低割当て長は、
    423419 *    イーサネットフレームの最短長である 60(CRC の 4 オクテットを除き、
    424420 *    更にアラインして 62)オクテットである。
Note: See TracChangeset for help on using the changeset viewer.