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

TOMOYO Linux Cross Reference
Linux/include/net/hotdata.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/net/hotdata.h (Architecture alpha) and /include/net/hotdata.h (Architecture sparc)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 /* SPDX-License-Identifier: GPL-2.0-or-later */
  2 #ifndef _NET_HOTDATA_H                              2 #ifndef _NET_HOTDATA_H
  3 #define _NET_HOTDATA_H                              3 #define _NET_HOTDATA_H
  4                                                     4 
  5 #include <linux/types.h>                            5 #include <linux/types.h>
  6 #include <linux/netdevice.h>                        6 #include <linux/netdevice.h>
  7 #include <net/protocol.h>                           7 #include <net/protocol.h>
  8                                                     8 
  9 /* Read mostly data used in network fast paths      9 /* Read mostly data used in network fast paths. */
 10 struct net_hotdata {                               10 struct net_hotdata {
 11 #if IS_ENABLED(CONFIG_INET)                        11 #if IS_ENABLED(CONFIG_INET)
 12         struct packet_offload   ip_packet_offl     12         struct packet_offload   ip_packet_offload;
 13         struct net_offload      tcpv4_offload;     13         struct net_offload      tcpv4_offload;
 14         struct net_protocol     tcp_protocol;      14         struct net_protocol     tcp_protocol;
 15         struct net_offload      udpv4_offload;     15         struct net_offload      udpv4_offload;
 16         struct net_protocol     udp_protocol;      16         struct net_protocol     udp_protocol;
 17         struct packet_offload   ipv6_packet_of     17         struct packet_offload   ipv6_packet_offload;
 18         struct net_offload      tcpv6_offload;     18         struct net_offload      tcpv6_offload;
 19 #if IS_ENABLED(CONFIG_IPV6)                        19 #if IS_ENABLED(CONFIG_IPV6)
 20         struct inet6_protocol   tcpv6_protocol     20         struct inet6_protocol   tcpv6_protocol;
 21         struct inet6_protocol   udpv6_protocol     21         struct inet6_protocol   udpv6_protocol;
 22 #endif                                             22 #endif
 23         struct net_offload      udpv6_offload;     23         struct net_offload      udpv6_offload;
 24 #endif                                             24 #endif
 25         struct list_head        offload_base;      25         struct list_head        offload_base;
 26         struct list_head        ptype_all;         26         struct list_head        ptype_all;
 27         struct kmem_cache       *skbuff_cache;     27         struct kmem_cache       *skbuff_cache;
 28         struct kmem_cache       *skbuff_fclone     28         struct kmem_cache       *skbuff_fclone_cache;
 29         struct kmem_cache       *skb_small_hea     29         struct kmem_cache       *skb_small_head_cache;
 30 #ifdef CONFIG_RPS                                  30 #ifdef CONFIG_RPS
 31         struct rps_sock_flow_table __rcu *rps_     31         struct rps_sock_flow_table __rcu *rps_sock_flow_table;
 32         u32                     rps_cpu_mask;      32         u32                     rps_cpu_mask;
 33 #endif                                             33 #endif
 34         int                     gro_normal_bat     34         int                     gro_normal_batch;
 35         int                     netdev_budget;     35         int                     netdev_budget;
 36         int                     netdev_budget_     36         int                     netdev_budget_usecs;
 37         int                     tstamp_prequeu     37         int                     tstamp_prequeue;
 38         int                     max_backlog;       38         int                     max_backlog;
 39         int                     dev_tx_weight;     39         int                     dev_tx_weight;
 40         int                     dev_rx_weight;     40         int                     dev_rx_weight;
 41         int                     sysctl_max_skb     41         int                     sysctl_max_skb_frags;
 42         int                     sysctl_skb_def     42         int                     sysctl_skb_defer_max;
 43         int                     sysctl_mem_pcp     43         int                     sysctl_mem_pcpu_rsv;
 44 };                                                 44 };
 45                                                    45 
 46 #define inet_ehash_secret       net_hotdata.tc     46 #define inet_ehash_secret       net_hotdata.tcp_protocol.secret
 47 #define udp_ehash_secret        net_hotdata.ud     47 #define udp_ehash_secret        net_hotdata.udp_protocol.secret
 48 #define inet6_ehash_secret      net_hotdata.tc     48 #define inet6_ehash_secret      net_hotdata.tcpv6_protocol.secret
 49 #define tcp_ipv6_hash_secret    net_hotdata.tc     49 #define tcp_ipv6_hash_secret    net_hotdata.tcpv6_offload.secret
 50 #define udp6_ehash_secret       net_hotdata.ud     50 #define udp6_ehash_secret       net_hotdata.udpv6_protocol.secret
 51 #define udp_ipv6_hash_secret    net_hotdata.ud     51 #define udp_ipv6_hash_secret    net_hotdata.udpv6_offload.secret
 52                                                    52 
 53 extern struct net_hotdata net_hotdata;             53 extern struct net_hotdata net_hotdata;
 54                                                    54 
 55 #endif /* _NET_HOTDATA_H */                        55 #endif /* _NET_HOTDATA_H */
 56                                                    56 

~ [ 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