aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dn_dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/dn_dev.h')
-rw-r--r--include/net/dn_dev.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/include/net/dn_dev.h b/include/net/dn_dev.h
index cee46821dc53..511a459ec10f 100644
--- a/include/net/dn_dev.h
+++ b/include/net/dn_dev.h
@@ -75,7 +75,6 @@ struct dn_dev_parms {
75 unsigned long t3; /* Default value of t3 */ 75 unsigned long t3; /* Default value of t3 */
76 int priority; /* Priority to be a router */ 76 int priority; /* Priority to be a router */
77 char *name; /* Name for sysctl */ 77 char *name; /* Name for sysctl */
78 int ctl_name; /* Index for sysctl */
79 int (*up)(struct net_device *); 78 int (*up)(struct net_device *);
80 void (*down)(struct net_device *); 79 void (*down)(struct net_device *);
81 void (*timer3)(struct net_device *, struct dn_ifaddr *ifa); 80 void (*timer3)(struct net_device *, struct dn_ifaddr *ifa);
@@ -97,16 +96,14 @@ struct dn_dev {
97 unsigned long uptime; /* Time device went up in jiffies */ 96 unsigned long uptime; /* Time device went up in jiffies */
98}; 97};
99 98
100struct dn_short_packet 99struct dn_short_packet {
101{
102 __u8 msgflg; 100 __u8 msgflg;
103 __le16 dstnode; 101 __le16 dstnode;
104 __le16 srcnode; 102 __le16 srcnode;
105 __u8 forward; 103 __u8 forward;
106} __attribute__((packed)); 104} __attribute__((packed));
107 105
108struct dn_long_packet 106struct dn_long_packet {
109{
110 __u8 msgflg; 107 __u8 msgflg;
111 __u8 d_area; 108 __u8 d_area;
112 __u8 d_subarea; 109 __u8 d_subarea;
@@ -122,8 +119,7 @@ struct dn_long_packet
122 119
123/*------------------------- DRP - Routing messages ---------------------*/ 120/*------------------------- DRP - Routing messages ---------------------*/
124 121
125struct endnode_hello_message 122struct endnode_hello_message {
126{
127 __u8 msgflg; 123 __u8 msgflg;
128 __u8 tiver[3]; 124 __u8 tiver[3];
129 __u8 id[6]; 125 __u8 id[6];
@@ -138,8 +134,7 @@ struct endnode_hello_message
138 __u8 data[2]; 134 __u8 data[2];
139} __attribute__((packed)); 135} __attribute__((packed));
140 136
141struct rtnode_hello_message 137struct rtnode_hello_message {
142{
143 __u8 msgflg; 138 __u8 msgflg;
144 __u8 tiver[3]; 139 __u8 tiver[3];
145 __u8 id[6]; 140 __u8 id[6];