diff options
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r-- | net/batman-adv/packet.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h index 0a381d1174c1..e8c483d2da72 100644 --- a/net/batman-adv/packet.h +++ b/net/batman-adv/packet.h | |||
@@ -145,6 +145,7 @@ enum batadv_bla_claimframe { | |||
145 | * @BATADV_TVLV_NC: network coding tvlv | 145 | * @BATADV_TVLV_NC: network coding tvlv |
146 | * @BATADV_TVLV_TT: translation table tvlv | 146 | * @BATADV_TVLV_TT: translation table tvlv |
147 | * @BATADV_TVLV_ROAM: roaming advertisement tvlv | 147 | * @BATADV_TVLV_ROAM: roaming advertisement tvlv |
148 | * @BATADV_TVLV_MCAST: multicast capability tvlv | ||
148 | */ | 149 | */ |
149 | enum batadv_tvlv_type { | 150 | enum batadv_tvlv_type { |
150 | BATADV_TVLV_GW = 0x01, | 151 | BATADV_TVLV_GW = 0x01, |
@@ -152,6 +153,7 @@ enum batadv_tvlv_type { | |||
152 | BATADV_TVLV_NC = 0x03, | 153 | BATADV_TVLV_NC = 0x03, |
153 | BATADV_TVLV_TT = 0x04, | 154 | BATADV_TVLV_TT = 0x04, |
154 | BATADV_TVLV_ROAM = 0x05, | 155 | BATADV_TVLV_ROAM = 0x05, |
156 | BATADV_TVLV_MCAST = 0x06, | ||
155 | }; | 157 | }; |
156 | 158 | ||
157 | #pragma pack(2) | 159 | #pragma pack(2) |
@@ -504,4 +506,14 @@ struct batadv_tvlv_roam_adv { | |||
504 | __be16 vid; | 506 | __be16 vid; |
505 | }; | 507 | }; |
506 | 508 | ||
509 | /** | ||
510 | * struct batadv_tvlv_mcast_data - payload of a multicast tvlv | ||
511 | * @flags: multicast flags announced by the orig node | ||
512 | * @reserved: reserved field | ||
513 | */ | ||
514 | struct batadv_tvlv_mcast_data { | ||
515 | uint8_t flags; | ||
516 | uint8_t reserved[3]; | ||
517 | }; | ||
518 | |||
507 | #endif /* _NET_BATMAN_ADV_PACKET_H_ */ | 519 | #endif /* _NET_BATMAN_ADV_PACKET_H_ */ |