diff options
Diffstat (limited to 'include/net/dn_dev.h')
-rw-r--r-- | include/net/dn_dev.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/net/dn_dev.h b/include/net/dn_dev.h index cee46821dc53..28966cae3fd7 100644 --- a/include/net/dn_dev.h +++ b/include/net/dn_dev.h | |||
@@ -97,16 +97,14 @@ struct dn_dev { | |||
97 | unsigned long uptime; /* Time device went up in jiffies */ | 97 | unsigned long uptime; /* Time device went up in jiffies */ |
98 | }; | 98 | }; |
99 | 99 | ||
100 | struct dn_short_packet | 100 | struct dn_short_packet { |
101 | { | ||
102 | __u8 msgflg; | 101 | __u8 msgflg; |
103 | __le16 dstnode; | 102 | __le16 dstnode; |
104 | __le16 srcnode; | 103 | __le16 srcnode; |
105 | __u8 forward; | 104 | __u8 forward; |
106 | } __attribute__((packed)); | 105 | } __attribute__((packed)); |
107 | 106 | ||
108 | struct dn_long_packet | 107 | struct dn_long_packet { |
109 | { | ||
110 | __u8 msgflg; | 108 | __u8 msgflg; |
111 | __u8 d_area; | 109 | __u8 d_area; |
112 | __u8 d_subarea; | 110 | __u8 d_subarea; |
@@ -122,8 +120,7 @@ struct dn_long_packet | |||
122 | 120 | ||
123 | /*------------------------- DRP - Routing messages ---------------------*/ | 121 | /*------------------------- DRP - Routing messages ---------------------*/ |
124 | 122 | ||
125 | struct endnode_hello_message | 123 | struct endnode_hello_message { |
126 | { | ||
127 | __u8 msgflg; | 124 | __u8 msgflg; |
128 | __u8 tiver[3]; | 125 | __u8 tiver[3]; |
129 | __u8 id[6]; | 126 | __u8 id[6]; |
@@ -138,8 +135,7 @@ struct endnode_hello_message | |||
138 | __u8 data[2]; | 135 | __u8 data[2]; |
139 | } __attribute__((packed)); | 136 | } __attribute__((packed)); |
140 | 137 | ||
141 | struct rtnode_hello_message | 138 | struct rtnode_hello_message { |
142 | { | ||
143 | __u8 msgflg; | 139 | __u8 msgflg; |
144 | __u8 tiver[3]; | 140 | __u8 tiver[3]; |
145 | __u8 id[6]; | 141 | __u8 id[6]; |