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/net/if_loop.c

    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 *
     
    9191#include <net/if_loop.h>
    9292#include <net/net.h>
     93#include <net/net_endian.h>
    9394#include <net/net_buf.h>
    9495#include <net/net_count.h>
     
    9899#include <netinet/ip.h>
    99100#include <netinet/ip_var.h>
    100 #include <netinet/ip6.h>
    101 #include <netinet6/ip6_var.h>
    102101#include <netinet/tcp.h>
    103102#include <netinet/udp.h>
    104103
    105104#include <net/if_var.h>
    106 #include <net/if6_var.h>
    107105
    108106#ifdef SUPPORT_LOOP
     
    124122/* ネットワークインタフェース構造体 */
    125123
    126 #if defined(SUPPORT_INET4)
     124#if defined(_IP6_CFG)
     125
     126static T_IFNET loop_ifnet = {
     127        NULL,                   /* ネットワークインタフェースのソフトウェア情報       */
     128        {},                     /* IPv6 アドレス情報                          */
     129        {},                     /* マルチキャスト IPv6 アドレス                    */
     130        };
     131
     132#elif defined(_IP4_CFG) /* of #if defined(_IP6_CFG) */
    127133
    128134static T_IFNET loop_ifnet = {
     
    134140        };
    135141
    136 #endif  /* of #if defined(SUPPORT_INET4) */
    137 
    138 #if defined(SUPPORT_INET6)
    139 
    140 static T_IFNET loop_ifnet = {
    141         NULL,                   /* ネットワークインタフェースのソフトウェア情報       */
    142         {},                     /* IPv6 アドレス情報                          */
    143         {},                     /* マルチキャスト IPv6 アドレス                    */
    144         };
    145 
    146 #endif  /* of #if defined(SUPPORT_INET6) */
     142#endif  /* of #if defined(_IP6_CFG) */
    147143
    148144/*
     
    213209                        NET_COUNT_LOOP(net_count_loop.in_packets, 1);
    214210
    215 #if defined(SUPPORT_INET4)
     211#if defined(_IP4_CFG)
    216212
    217213                        /* IPv4 入力関数を呼び出す */
     
    219215                                ip_input(input);
    220216
    221 #endif  /* of #if defined(SUPPORT_INET4) */
    222 
    223 #if defined(SUPPORT_INET6)
     217#endif  /* of #if defined(_IP4_CFG) */
     218
     219#if defined(_IP6_CFG)
    224220
    225221                        /* IPv6 入力関数を呼び出す */
     
    227223                                ip6_input(input);
    228224
    229 #endif  /* of #if defined(SUPPORT_INET6) */
     225#endif  /* of #if defined(_IP6_CFG) */
    230226
    231227                        }
Note: See TracChangeset for help on using the changeset viewer.