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/asp3_dcre/tinet/netapp/wwws.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-2017 by Dep. of Computer Science and Engineering
    55 *                   Tomakomai National College of Technology, JAPAN
    66 *
     
    3939 */
    4040
    41 #include <tinet_defs.h>
    42 
    43 #include <net/if.h>
    44 #include <net/if_ppp.h>
    45 #include <net/if_loop.h>
    46 #include <net/ethernet.h>
    47 
    48 #include <netinet6/in6.h>
    49 #include <netinet/ip.h>
    50 #include <netinet/ip6.h>
    51 #include <netinet/tcp.h>
    52 
    5341#ifdef TOPPERS_S810_CLG3_85
    5442#define WWW_SRV_STACK_SIZE              768             /* タスクのスタックサイズ  */
     
    6250 */
    6351
    64 #if defined(NUM_MPF_NET_BUF_IF_PDU) && NUM_MPF_NET_BUF_IF_PDU > 0
     52#if defined(USE_TCP_MSS_SEG) || defined(USE_IPV6_MMTU)
    6553
    66 #define WWW_SRV_SWBUF_SIZE      ((IF_MTU-(IP_HDR_SIZE+TCP_HDR_SIZE))*1)
    67 
    68 #else   /* of #if defined(NUM_MPF_NET_BUF_IF_PDU) && NUM_MPF_NET_BUF_IF_PDU > 0 */
    69 
    70 #if defined(SUPPORT_INET4)
    71 #define WWW_SRV_SWBUF_SIZE      (TCP_MSS)
     54#if defined(SUPPORT_INET6)
     55#define WWW_SRV_SWBUF_SIZE      (1024)
     56#elif defined(SUPPORT_INET4)
     57#define WWW_SRV_SWBUF_SIZE      (512)
    7258#endif
    7359
    74 #if defined(SUPPORT_INET6)
    75 #define WWW_SRV_SWBUF_SIZE      (TCP6_MSS)
    76 #endif
     60#else   /* of #if defined(USE_TCP_MSS_SEG) || defined(USE_IPV6_MMTU) */
    7761
    78 #endif  /* of #if defined(NUM_MPF_NET_BUF_IF_PDU) && NUM_MPF_NET_BUF_IF_PDU > 0 */
     62#define WWW_SRV_SWBUF_SIZE      (2048)
    7963
    80 #if defined(SUPPORT_INET4)
    81 #define WWW_SRV_RWBUF_SIZE      (TCP_MSS)
    82 #endif
     64#endif  /* of #if defined(USE_TCP_MSS_SEG) || defined(USE_IPV6_MMTU) */
    8365
    8466#if defined(SUPPORT_INET6)
    85 #define WWW_SRV_RWBUF_SIZE      (TCP6_MSS)
     67#define WWW_SRV_RWBUF_SIZE      (1024)
     68#elif defined(SUPPORT_INET4)
     69#define WWW_SRV_RWBUF_SIZE      (512)
    8670#endif
    8771
     
    8973#define WWW_LINE_SIZE           80
    9074#define WWW_NUM_FIELDS          4
     75
     76/*
     77 *  タスク数
     78 */
    9179
    9280#ifndef _MACRO_ONLY
     
    128116
    129117/*
    130  *  TCP 送受信バッファ
     118 *  変数
    131119 */
     120
     121/* TCP 送受信ウィンドバッファ */
     122
     123#ifdef NUM_WWW_SRV_TASKS
    132124
    133125extern uint8_t www_srv_swbuf[NUM_WWW_SRV_TASKS][WWW_SRV_SWBUF_SIZE];
    134126extern uint8_t www_srv_rwbuf[NUM_WWW_SRV_TASKS][WWW_SRV_RWBUF_SIZE];
    135127
     128#endif  /* of #ifdef NUM_WWW_SRV_TASKS */
     129
     130/*
     131 *  関数
     132 */
     133
     134extern ER       wakeup_www_srv (char apip);
     135
    136136#endif  /* of #ifndef _MACRO_ONLY */
    137137
Note: See TracChangeset for help on using the changeset viewer.