Changeset 331 for EcnlProtoTool/trunk/asp3_dcre/tinet/netinet6/frag6.c
- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/asp3_dcre/tinet/netinet6/frag6.c
r321 r331 2 2 * TINET (TCP/IP Protocol Stack) 3 3 * 4 * Copyright (C) 2001-20 09by Dep. of Computer Science and Engineering4 * Copyright (C) 2001-2017 by Dep. of Computer Science and Engineering 5 5 * Tomakomai National College of Technology, JAPAN 6 6 * … … 92 92 #include <net/ppp_ipcp.h> 93 93 #include <net/net.h> 94 #include <net/net_endian.h> 94 95 #include <net/net_buf.h> 95 96 #include <net/net_var.h> … … 97 98 98 99 #include <netinet/in.h> 99 #include <netinet6/in6.h> 100 #include <netinet6/in6_var.h> 100 #include <netinet/in_var.h> 101 #include <netinet/ip.h> 102 #include <netinet/ip_var.h> 103 #include <netinet/ip_icmp.h> 101 104 #include <netinet6/nd6.h> 102 #include <netinet/ip6.h> 103 #include <netinet6/ip6_var.h> 104 #include <netinet/icmp6.h> 105 106 #ifdef SUPPORT_INET6 105 106 #ifdef _IP6_CFG 107 107 108 108 #ifdef IP6_CFG_FRAGMENT … … 606 606 /* 送信先アドレスを元に戻す。*/ 607 607 ip6h = GET_IP6_HDR(input); 608 ip6h->dst = ip6_frag_dest[ip6fq - ip6_frag_queue];608 memcpy(&ip6h->dst, &ip6_frag_dest[ip6fq - ip6_frag_queue], sizeof(T_IN6_ADDR)); 609 609 610 610 /* offp を、再構成した断片の先頭に設定する。*/ … … 669 669 } 670 670 671 #endif /* of #ifdef SUPPORT_INET6*/671 #endif /* of #ifdef _IP6_CFG */
Note:
See TracChangeset
for help on using the changeset viewer.