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/nd6.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 *
     
    9898#include <net/ethernet.h>
    9999#include <net/if_arp.h>
     100#include <net/ppp.h>
    100101#include <net/ppp_ipcp.h>
    101102#include <net/net.h>
     103#include <net/net_endian.h>
    102104#include <net/net_var.h>
    103105#include <net/net_buf.h>
     
    107109#include <netinet/in.h>
    108110#include <netinet/in_var.h>
    109 #include <netinet6/in6.h>
    110 #include <netinet6/in6_var.h>
     111#include <netinet/ip.h>
     112#include <netinet/ip_var.h>
     113#include <netinet/ip_icmp.h>
     114
    111115#include <netinet6/nd6.h>
    112116
    113 #include <netinet/ip6.h>
    114 #include <netinet/icmp6.h>
    115 #include <netinet6/ip6_var.h>
    116 
    117 #include <net/if6_var.h>
    118 
    119 #ifdef SUPPORT_INET6
     117#include <net/if_var.h>
     118
     119#ifdef _IP6_CFG
    120120
    121121/*
     
    328328
    329329T_LLINFO_ND6 *
    330 nd6_lookup (T_IN6_ADDR *addr, bool_t create)
     330nd6_lookup (const T_IN6_ADDR *addr, bool_t create)
    331331{
    332332        SYSTIM  min = 0xffffffff;
     
    370370
    371371T_LLINFO_ND6 *
    372 nd6_cache_lladdr (T_IFNET *ifp, T_IN6_ADDR *from,
     372nd6_cache_lladdr (T_IFNET *ifp, const T_IN6_ADDR *from,
    373373                  T_IF_ADDR *lladdr, uint8_t type, uint8_t code)
    374374{
     
    487487
    488488bool_t
    489 nd6_is_addr_neighbor (T_IFNET *ifp, T_IN6_ADDR *addr)
     489nd6_is_addr_neighbor (T_IFNET *ifp, const T_IN6_ADDR *addr)
    490490{
    491491        if (IN6_IS_ADDR_LINKLOCAL(addr))
     
    508508
    509509ER
    510 nd6_output (T_IFNET *ifp, T_NET_BUF *output, T_IN6_ADDR *dst, T_LLINFO_ND6 *ln, TMO tmout)
     510nd6_output (T_IFNET *ifp, T_NET_BUF *output, const T_IN6_ADDR *dst, T_LLINFO_ND6 *ln, TMO tmout)
    511511{
    512512        ER      error = E_OK;
     
    622622
    623623ER
    624 nd6_storelladdr (T_IF_ADDR *out, T_IN6_ADDR *dst, T_IF_ADDR *ifa)
     624nd6_storelladdr (T_IF_ADDR *out, const T_IN6_ADDR *dst, T_IF_ADDR *ifa)
    625625{
    626626        if (IN6_IS_ADDR_MULTICAST(dst)) {
     
    696696        }
    697697
    698 #endif /* of #ifdef SUPPORT_INET6 */
     698#endif /* of #ifdef _IP6_CFG */
Note: See TracChangeset for help on using the changeset viewer.