]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/dccp/feat.h
dccp: Initialisation framework for feature negotiation
[mv-sheeva.git] / net / dccp / feat.h
index f73b47abca93e1ec5fd49dfa012889a09630dba4..5e7b8481cd0466493edf6a984af4156c900b0da9 100644 (file)
@@ -57,9 +57,9 @@ typedef union {
 
 /**
  * struct feat_entry  -  Data structure to perform feature negotiation
- * @feat_num: one of %dccp_feature_numbers
  * @val: feature's current value (SP features may have preference list)
  * @state: feature's current state
+ * @feat_num: one of %dccp_feature_numbers
  * @needs_mandatory: whether Mandatory options should be sent
  * @needs_confirm: whether to send a Confirm instead of a Change
  * @empty_confirm: whether to send an empty Confirm (depends on @needs_confirm)
@@ -67,13 +67,14 @@ typedef union {
  * @node: list pointers, entries arranged in FIFO order
  */
 struct dccp_feat_entry {
-       u8                      feat_num;
        dccp_feat_val           val;
        enum dccp_feat_state    state:8;
-       bool                    needs_mandatory:1,
-                               needs_confirm:1,
-                               empty_confirm:1,
-                               is_local:1;
+       u8                      feat_num;
+
+       bool                    needs_mandatory,
+                               needs_confirm,
+                               empty_confirm,
+                               is_local;
 
        struct list_head        node;
 };