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/netinet6/ip6_output.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 *
     
    125125#include <net/ppp_ipcp.h>
    126126#include <net/net.h>
     127#include <net/net_endian.h>
    127128#include <net/net_buf.h>
    128129#include <net/net_count.h>
    129130
    130131#include <netinet/in.h>
    131 #include <netinet6/in6.h>
    132 #include <netinet6/in6_var.h>
     132#include <netinet/in_var.h>
     133#include <netinet/ip.h>
     134#include <netinet/ip_var.h>
     135#include <netinet/ip_icmp.h>
     136
    133137#include <netinet6/nd6.h>
    134 #include <netinet/ip6.h>
    135 #include <netinet6/ip6_var.h>
    136 #include <netinet/icmp6.h>
    137 
    138 #include <net/if6_var.h>
    139 
    140 #ifdef SUPPORT_INET6
     138
     139#include <net/if_var.h>
     140
     141#ifdef _IP6_CFG
    141142
    142143/*
     
    165166ip6_output (T_NET_BUF *output, uint16_t flags, TMO tmout)
    166167{
    167         T_IP6_HDR       *ip6h;
    168         T_IN6_ADDR      *gw;
    169         T_IFNET         *ifp = IF_GET_IFNET();
    170         ER              error = E_OK;
     168        T_IP6_HDR               *ip6h;
     169        const T_IN6_ADDR        *gw;
     170        T_IFNET                 *ifp = IF_GET_IFNET();
     171        ER                      error = E_OK;
    171172
    172173#ifdef IP6_CFG_FRAGMENT
     
    185186
    186187        NET_COUNT_IP6(net_count_ip6[NC_IP6_OUT_OCTETS],
    187                       GET_IP_HDR_SIZE(ip6h) + GET_IP_SDU_SIZE(ip6h));
     188                      GET_IP6_HDR_SIZE(output) + GET_IP6_SDU_SIZE(output));
    188189        NET_COUNT_IP6(net_count_ip6[NC_IP6_OUT_PACKETS], 1);
    189190        NET_COUNT_MIB(in6_ifstat.ipv6IfStatsOutRequests, 1);
     
    371372        }
    372373
    373 #endif /* of #ifdef SUPPORT_INET6 */
     374#endif /* of #ifdef _IP6_CFG */
Note: See TracChangeset for help on using the changeset viewer.