Wireshark-bugs: [Wireshark-bugs] [Bug 9498] DTLS: dissect more tls extensions

Date: Fri, 13 Dec 2013 17:57:03 +0000

changed bug 9498

What Removed Added
CC   [email protected]

Comment # 18 on bug 9498 from
(In reply to comment #16)
> The new API also introduces a lot of boilerplate code:
> 
>     static header_field_info hfi_yami_message_id HFI_INIT(proto_yami) = ...
> 
> Why not:
> 
>     static HFI_REG_VAR(proto_yami, hfi_yami_message_id) = ...

and going two step further, you could do:

 #define YAMI_HFI_REG_VAR(x) HFI_REG_VAR(proto_yami, x) =
...
 static YAMI_HFI_REG_VAR(hfi_yami_message_id) \
   { /* hf data */ }

I don't know. Feel free.


You are receiving this mail because:
  • You are watching all bug changes.