aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netrom.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-12 17:28:03 -0400
committerDavid S. Miller <davem@davemloft.net>2005-09-12 17:28:03 -0400
commitb88a762b6062f06d431af0045de4854a758646c0 (patch)
treef85f579a183fa314ea793e178e28066476f01f7f /include/net/netrom.h
parente21ce8c7c013fb223a002c70bb0a547de6c26c12 (diff)
[NETROM]: Introduct stuct nr_private
NET/ROM's virtual interfaces don't have a proper private data structure yet. Create struct nr_private and put the statistics there. Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netrom.h')
-rw-r--r--include/net/netrom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/netrom.h b/include/net/netrom.h
index ad05d7a3c55d..a6bf6e0f606a 100644
--- a/include/net/netrom.h
+++ b/include/net/netrom.h
@@ -6,6 +6,7 @@
6 6
7#ifndef _NETROM_H 7#ifndef _NETROM_H
8#define _NETROM_H 8#define _NETROM_H
9
9#include <linux/netrom.h> 10#include <linux/netrom.h>
10#include <linux/list.h> 11#include <linux/list.h>
11#include <net/sock.h> 12#include <net/sock.h>
@@ -58,6 +59,10 @@ enum {
58#define NR_MAX_WINDOW_SIZE 127 /* Maximum Window Allowable - 127 */ 59#define NR_MAX_WINDOW_SIZE 127 /* Maximum Window Allowable - 127 */
59#define NR_MAX_PACKET_SIZE 236 /* Maximum Packet Length - 236 */ 60#define NR_MAX_PACKET_SIZE 236 /* Maximum Packet Length - 236 */
60 61
62struct nr_private {
63 struct net_device_stats stats;
64};
65
61struct nr_sock { 66struct nr_sock {
62 struct sock sock; 67 struct sock sock;
63 ax25_address user_addr, source_addr, dest_addr; 68 ax25_address user_addr, source_addr, dest_addr;