diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-09-12 14:28:03 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-12 14:28:03 -0700 |
commit | b88a762b6062f06d431af0045de4854a758646c0 (patch) | |
tree | f85f579a183fa314ea793e178e28066476f01f7f /include/net | |
parent | e21ce8c7c013fb223a002c70bb0a547de6c26c12 (diff) | |
download | kernel_samsung_espresso10-b88a762b6062f06d431af0045de4854a758646c0.zip kernel_samsung_espresso10-b88a762b6062f06d431af0045de4854a758646c0.tar.gz kernel_samsung_espresso10-b88a762b6062f06d431af0045de4854a758646c0.tar.bz2 |
[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')
-rw-r--r-- | include/net/netrom.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/netrom.h b/include/net/netrom.h index ad05d7a..a6bf6e0 100644 --- a/include/net/netrom.h +++ b/include/net/netrom.h @@ -6,6 +6,7 @@ #ifndef _NETROM_H #define _NETROM_H + #include <linux/netrom.h> #include <linux/list.h> #include <net/sock.h> @@ -58,6 +59,10 @@ enum { #define NR_MAX_WINDOW_SIZE 127 /* Maximum Window Allowable - 127 */ #define NR_MAX_PACKET_SIZE 236 /* Maximum Packet Length - 236 */ +struct nr_private { + struct net_device_stats stats; +}; + struct nr_sock { struct sock sock; ax25_address user_addr, source_addr, dest_addr; |