Bug #388 ยป 0001-batadv-Fix-filtering-by-mcast-flags.patch
epan/dissectors/packet-batadv.c | ||
---|---|---|
static int hf_batadv_iv_ogm_flags_not_best_next_hop = -1;
|
||
static int hf_batadv_iv_ogm_flags_primaries_first_hop = -1;
|
||
static int hf_batadv_iv_ogm_flags_directlink = -1;
|
||
static int hf_batadv_tvlv_mcast_flags = -1;
|
||
static int hf_batadv_tvlv_mcast_flags_unsnoopables = -1;
|
||
static int hf_batadv_tvlv_mcast_flags_ipv4 = -1;
|
||
static int hf_batadv_tvlv_mcast_flags_ipv6 = -1;
|
||
... | ... | |
return;
|
||
}
|
||
proto_tree_add_bitmask(tree, tvb, offset, hf_batadv_iv_ogm_flags,
|
||
proto_tree_add_bitmask(tree, tvb, offset, hf_batadv_tvlv_mcast_flags,
|
||
ett_batadv_tvlv_mcast_flags, flags, ENC_NA);
|
||
/* 3 byte of padding. */
|
||
... | ... | |
FT_UINT16, BASE_DEC, NULL, 0x0,
|
||
NULL, HFILL }
|
||
},
|
||
{ &hf_batadv_tvlv_mcast_flags,
|
||
{ "Flags", "batadv.tvlv.mcast.flags",
|
||
FT_UINT8, BASE_HEX, NULL, 0x0,
|
||
NULL, HFILL }
|
||
},
|
||
{ &hf_batadv_tvlv_mcast_flags_unsnoopables,
|
||
{ "Unsnoopables", "batadv.tvlv.mcast.flags.unsnoopables",
|
||
FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x1,
|