Changeset 331 for EcnlProtoTool/trunk/asp3_dcre/tinet/net/net_count.h
- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/asp3_dcre/tinet/net/net_count.h
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 * … … 155 155 #endif /* of #if NET_COUNT_ENABLE & PROTO_FLG_PPP_LCP */ 156 156 157 /* PPP IPV6CP */ 158 159 #if NET_COUNT_ENABLE & PROTO_FLG_PPP_IPV6CP 160 161 #define NET_COUNT_PPP_IPV6CP(v,c) ((v)+=(c)) 162 163 #ifndef _MACRO_ONLY 164 165 extern T_NET_COUNT_VAL net_count_ppp_ipv6cp_in_octets; 166 extern T_NET_COUNT_VAL net_count_ppp_ipv6cp_in_packets; 167 168 #endif /* of #ifndef _MACRO_ONLY */ 169 170 #else /* of #if NET_COUNT_ENABLE & PROTO_FLG_PPP_IPV6CP */ 171 172 #define NET_COUNT_PPP_IPV6CP(v,c) 173 174 #endif /* of #if NET_COUNT_ENABLE & PROTO_FLG_PPP_IPV6CP */ 175 157 176 /* PPP IPCP */ 158 177 … … 302 321 #endif /* of #if NET_COUNT_ENABLE & PROTO_FLG_NET_BUF */ 303 322 304 #if defined( SUPPORT_INET4)323 #if defined(_IP4_CFG) 305 324 306 325 /* ARP */ … … 380 399 #endif /* of #if NET_COUNT_ENABLE & PROTO_FLG_ICMP4 */ 381 400 382 #endif /* of #if defined(SUPPORT_INET4) */ 383 384 #if defined(SUPPORT_INET6) 401 /* IGMP */ 402 403 #if NET_COUNT_ENABLE & PROTO_FLG_IGMP 404 405 #define NET_COUNT_IGMP(v,c) ((v)+=(c)) 406 407 #ifndef _MACRO_ONLY 408 409 extern T_NET_COUNT net_count_igmp; 410 411 #endif /* of #ifndef _MACRO_ONLY */ 412 413 #else /* of #if NET_COUNT_ENABLE & PROTO_FLG_IGMP */ 414 415 #define NET_COUNT_IGMP(v,c) 416 417 #endif /* of #if NET_COUNT_ENABLE & PROTO_FLG_IGMP */ 418 419 #endif /* of #if defined(_IP4_CFG) */ 420 421 #if defined(_IP6_CFG) 385 422 386 423 /* IPv6 */ … … 472 509 #endif /* of #if NET_COUNT_ENABLE & PROTO_FLG_ND6 */ 473 510 474 #endif /* of #if defined( SUPPORT_INET6) */511 #endif /* of #if defined(_IP6_CFG) */ 475 512 476 513 #ifdef SUPPORT_TCP
Note:
See TracChangeset
for help on using the changeset viewer.