diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/batman-adv/types.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 8c3dda36d9ec..7f7a0f1eaf75 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h | |||
@@ -73,7 +73,7 @@ enum batadv_dhcp_recipient { | |||
73 | #define BATADV_TT_SYNC_MASK 0x00F0 | 73 | #define BATADV_TT_SYNC_MASK 0x00F0 |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * struct batadv_hard_iface_bat_iv - per hard interface B.A.T.M.A.N. IV data | 76 | * struct batadv_hard_iface_bat_iv - per hard-interface B.A.T.M.A.N. IV data |
77 | * @ogm_buff: buffer holding the OGM packet | 77 | * @ogm_buff: buffer holding the OGM packet |
78 | * @ogm_buff_len: length of the OGM packet buffer | 78 | * @ogm_buff_len: length of the OGM packet buffer |
79 | * @ogm_seqno: OGM sequence number - used to identify each OGM | 79 | * @ogm_seqno: OGM sequence number - used to identify each OGM |
@@ -97,8 +97,8 @@ struct batadv_hard_iface_bat_iv { | |||
97 | * batman-adv for this interface | 97 | * batman-adv for this interface |
98 | * @soft_iface: the batman-adv interface which uses this network interface | 98 | * @soft_iface: the batman-adv interface which uses this network interface |
99 | * @rcu: struct used for freeing in an RCU-safe manner | 99 | * @rcu: struct used for freeing in an RCU-safe manner |
100 | * @bat_iv: BATMAN IV specific per hard interface data | 100 | * @bat_iv: per hard-interface B.A.T.M.A.N. IV data |
101 | * @cleanup_work: work queue callback item for hard interface deinit | 101 | * @cleanup_work: work queue callback item for hard-interface deinit |
102 | * @debug_dir: dentry for nc subdir in batman-adv directory in debugfs | 102 | * @debug_dir: dentry for nc subdir in batman-adv directory in debugfs |
103 | * @neigh_list: list of unique single hop neighbors via this interface | 103 | * @neigh_list: list of unique single hop neighbors via this interface |
104 | * @neigh_list_lock: lock protecting neigh_list | 104 | * @neigh_list_lock: lock protecting neigh_list |
@@ -125,7 +125,7 @@ struct batadv_hard_iface { | |||
125 | /** | 125 | /** |
126 | * struct batadv_orig_ifinfo - originator info per outgoing interface | 126 | * struct batadv_orig_ifinfo - originator info per outgoing interface |
127 | * @list: list node for orig_node::ifinfo_list | 127 | * @list: list node for orig_node::ifinfo_list |
128 | * @if_outgoing: pointer to outgoing hard interface | 128 | * @if_outgoing: pointer to outgoing hard-interface |
129 | * @router: router that should be used to reach this originator | 129 | * @router: router that should be used to reach this originator |
130 | * @last_real_seqno: last and best known sequence number | 130 | * @last_real_seqno: last and best known sequence number |
131 | * @last_ttl: ttl of last received packet | 131 | * @last_ttl: ttl of last received packet |
@@ -202,7 +202,7 @@ struct batadv_orig_node_vlan { | |||
202 | 202 | ||
203 | /** | 203 | /** |
204 | * struct batadv_orig_bat_iv - B.A.T.M.A.N. IV private orig_node members | 204 | * struct batadv_orig_bat_iv - B.A.T.M.A.N. IV private orig_node members |
205 | * @bcast_own: set of bitfields (one per hard interface) where each one counts | 205 | * @bcast_own: set of bitfields (one per hard-interface) where each one counts |
206 | * the number of our OGMs this orig_node rebroadcasted "back" to us (relative | 206 | * the number of our OGMs this orig_node rebroadcasted "back" to us (relative |
207 | * to last_real_seqno). Every bitfield is BATADV_TQ_LOCAL_WINDOW_SIZE bits long. | 207 | * to last_real_seqno). Every bitfield is BATADV_TQ_LOCAL_WINDOW_SIZE bits long. |
208 | * @bcast_own_sum: sum of bcast_own | 208 | * @bcast_own_sum: sum of bcast_own |
@@ -346,10 +346,11 @@ struct batadv_gw_node { | |||
346 | }; | 346 | }; |
347 | 347 | ||
348 | /** | 348 | /** |
349 | * struct batadv_hardif_neigh_node - unique neighbor per hard interface | 349 | * struct batadv_hardif_neigh_node - unique neighbor per hard-interface |
350 | * @list: list node for batadv_hard_iface::neigh_list | 350 | * @list: list node for batadv_hard_iface::neigh_list |
351 | * @addr: the MAC address of the neighboring interface | 351 | * @addr: the MAC address of the neighboring interface |
352 | * @if_incoming: pointer to incoming hard interface | 352 | * @if_incoming: pointer to incoming hard-interface |
353 | * @last_seen: when last packet via this neighbor was received | ||
353 | * @refcount: number of contexts the object is used | 354 | * @refcount: number of contexts the object is used |
354 | * @rcu: struct used for freeing in a RCU-safe manner | 355 | * @rcu: struct used for freeing in a RCU-safe manner |
355 | */ | 356 | */ |
@@ -369,7 +370,7 @@ struct batadv_hardif_neigh_node { | |||
369 | * @addr: the MAC address of the neighboring interface | 370 | * @addr: the MAC address of the neighboring interface |
370 | * @ifinfo_list: list for routing metrics per outgoing interface | 371 | * @ifinfo_list: list for routing metrics per outgoing interface |
371 | * @ifinfo_lock: lock protecting private ifinfo members and list | 372 | * @ifinfo_lock: lock protecting private ifinfo members and list |
372 | * @if_incoming: pointer to incoming hard interface | 373 | * @if_incoming: pointer to incoming hard-interface |
373 | * @last_seen: when last packet via this neighbor was received | 374 | * @last_seen: when last packet via this neighbor was received |
374 | * @refcount: number of contexts the object is used | 375 | * @refcount: number of contexts the object is used |
375 | * @rcu: struct used for freeing in an RCU-safe manner | 376 | * @rcu: struct used for freeing in an RCU-safe manner |
@@ -388,7 +389,7 @@ struct batadv_neigh_node { | |||
388 | 389 | ||
389 | /** | 390 | /** |
390 | * struct batadv_neigh_ifinfo_bat_iv - neighbor information per outgoing | 391 | * struct batadv_neigh_ifinfo_bat_iv - neighbor information per outgoing |
391 | * interface for BATMAN IV | 392 | * interface for B.A.T.M.A.N. IV |
392 | * @tq_recv: ring buffer of received TQ values from this neigh node | 393 | * @tq_recv: ring buffer of received TQ values from this neigh node |
393 | * @tq_index: ring buffer index | 394 | * @tq_index: ring buffer index |
394 | * @tq_avg: averaged tq of all tq values in the ring buffer (tq_recv) | 395 | * @tq_avg: averaged tq of all tq values in the ring buffer (tq_recv) |
@@ -407,7 +408,7 @@ struct batadv_neigh_ifinfo_bat_iv { | |||
407 | /** | 408 | /** |
408 | * struct batadv_neigh_ifinfo - neighbor information per outgoing interface | 409 | * struct batadv_neigh_ifinfo - neighbor information per outgoing interface |
409 | * @list: list node for batadv_neigh_node::ifinfo_list | 410 | * @list: list node for batadv_neigh_node::ifinfo_list |
410 | * @if_outgoing: pointer to outgoing hard interface | 411 | * @if_outgoing: pointer to outgoing hard-interface |
411 | * @bat_iv: B.A.T.M.A.N. IV private structure | 412 | * @bat_iv: B.A.T.M.A.N. IV private structure |
412 | * @last_ttl: last received ttl from this neigh node | 413 | * @last_ttl: last received ttl from this neigh node |
413 | * @refcount: number of contexts the object is used | 414 | * @refcount: number of contexts the object is used |
@@ -783,8 +784,8 @@ struct batadv_softif_vlan { | |||
783 | * @forw_bat_list_lock: lock protecting forw_bat_list | 784 | * @forw_bat_list_lock: lock protecting forw_bat_list |
784 | * @forw_bcast_list_lock: lock protecting forw_bcast_list | 785 | * @forw_bcast_list_lock: lock protecting forw_bcast_list |
785 | * @orig_work: work queue callback item for orig node purging | 786 | * @orig_work: work queue callback item for orig node purging |
786 | * @cleanup_work: work queue callback item for soft interface deinit | 787 | * @cleanup_work: work queue callback item for soft-interface deinit |
787 | * @primary_if: one of the hard interfaces assigned to this mesh interface | 788 | * @primary_if: one of the hard-interfaces assigned to this mesh interface |
788 | * becomes the primary interface | 789 | * becomes the primary interface |
789 | * @bat_algo_ops: routing algorithm used by this mesh interface | 790 | * @bat_algo_ops: routing algorithm used by this mesh interface |
790 | * @softif_vlan_list: a list of softif_vlan structs, one per VLAN created on top | 791 | * @softif_vlan_list: a list of softif_vlan structs, one per VLAN created on top |