~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/net/netns/mib.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/net/netns/mib.h (Version linux-6.11.5) and /include/net/netns/mib.h (Version linux-5.0.21)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef __NETNS_MIB_H__                             2 #ifndef __NETNS_MIB_H__
  3 #define __NETNS_MIB_H__                             3 #define __NETNS_MIB_H__
  4                                                     4 
  5 #include <net/snmp.h>                               5 #include <net/snmp.h>
  6                                                     6 
  7 struct netns_mib {                                  7 struct netns_mib {
  8         DEFINE_SNMP_STAT(struct ipstats_mib, i << 
  9 #if IS_ENABLED(CONFIG_IPV6)                    << 
 10         DEFINE_SNMP_STAT(struct ipstats_mib, i << 
 11 #endif                                         << 
 12                                                << 
 13         DEFINE_SNMP_STAT(struct tcp_mib, tcp_s      8         DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics);
                                                   >>   9         DEFINE_SNMP_STAT(struct ipstats_mib, ip_statistics);
 14         DEFINE_SNMP_STAT(struct linux_mib, net     10         DEFINE_SNMP_STAT(struct linux_mib, net_statistics);
 15                                                << 
 16         DEFINE_SNMP_STAT(struct udp_mib, udp_s     11         DEFINE_SNMP_STAT(struct udp_mib, udp_statistics);
 17 #if IS_ENABLED(CONFIG_IPV6)                    << 
 18         DEFINE_SNMP_STAT(struct udp_mib, udp_s << 
 19 #endif                                         << 
 20                                                << 
 21 #ifdef CONFIG_XFRM_STATISTICS                  << 
 22         DEFINE_SNMP_STAT(struct linux_xfrm_mib << 
 23 #endif                                         << 
 24 #if IS_ENABLED(CONFIG_TLS)                     << 
 25         DEFINE_SNMP_STAT(struct linux_tls_mib, << 
 26 #endif                                         << 
 27 #ifdef CONFIG_MPTCP                            << 
 28         DEFINE_SNMP_STAT(struct mptcp_mib, mpt << 
 29 #endif                                         << 
 30                                                << 
 31         DEFINE_SNMP_STAT(struct udp_mib, udpli     12         DEFINE_SNMP_STAT(struct udp_mib, udplite_statistics);
 32 #if IS_ENABLED(CONFIG_IPV6)                    << 
 33         DEFINE_SNMP_STAT(struct udp_mib, udpli << 
 34 #endif                                         << 
 35                                                << 
 36         DEFINE_SNMP_STAT(struct icmp_mib, icmp     13         DEFINE_SNMP_STAT(struct icmp_mib, icmp_statistics);
 37         DEFINE_SNMP_STAT_ATOMIC(struct icmpmsg     14         DEFINE_SNMP_STAT_ATOMIC(struct icmpmsg_mib, icmpmsg_statistics);
                                                   >>  15 
 38 #if IS_ENABLED(CONFIG_IPV6)                        16 #if IS_ENABLED(CONFIG_IPV6)
                                                   >>  17         struct proc_dir_entry *proc_net_devsnmp6;
                                                   >>  18         DEFINE_SNMP_STAT(struct udp_mib, udp_stats_in6);
                                                   >>  19         DEFINE_SNMP_STAT(struct udp_mib, udplite_stats_in6);
                                                   >>  20         DEFINE_SNMP_STAT(struct ipstats_mib, ipv6_statistics);
 39         DEFINE_SNMP_STAT(struct icmpv6_mib, ic     21         DEFINE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics);
 40         DEFINE_SNMP_STAT_ATOMIC(struct icmpv6m     22         DEFINE_SNMP_STAT_ATOMIC(struct icmpv6msg_mib, icmpv6msg_statistics);
 41         struct proc_dir_entry *proc_net_devsnm !!  23 #endif
                                                   >>  24 #ifdef CONFIG_XFRM_STATISTICS
                                                   >>  25         DEFINE_SNMP_STAT(struct linux_xfrm_mib, xfrm_statistics);
 42 #endif                                             26 #endif
 43 };                                                 27 };
 44                                                    28 
 45 #endif                                             29 #endif
 46                                                    30 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php