diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2007-11-09 14:41:04 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2007-11-09 14:41:04 +0000 |
commit | 0f63de92818c7be6d634b43f9e8d5c663fdd3e91 (patch) | |
tree | 53eae542a64ffd33eda0eb78fcb1bfbcf71a13ad /plugins/wimaxasncp/wimaxasncp_dict.h | |
parent | b421cc6a2c579a9a12b297c54be165aa2a4e1cc5 (diff) |
From Stephen Croll.
Dynamically register filter fields from TLV definitions.
svn path=/trunk/; revision=23414
Diffstat (limited to 'plugins/wimaxasncp/wimaxasncp_dict.h')
-rw-r--r-- | plugins/wimaxasncp/wimaxasncp_dict.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/wimaxasncp/wimaxasncp_dict.h b/plugins/wimaxasncp/wimaxasncp_dict.h index 51cf344f9b..bb7edcee12 100644 --- a/plugins/wimaxasncp/wimaxasncp_dict.h +++ b/plugins/wimaxasncp/wimaxasncp_dict.h @@ -31,6 +31,7 @@ enum { + WIMAXASNCP_TLV_UNKNOWN, WIMAXASNCP_TLV_TBD, WIMAXASNCP_TLV_COMPOUND, WIMAXASNCP_TLV_BYTES, @@ -74,6 +75,19 @@ typedef struct _wimaxasncp_dict_tlv_t { gchar *name; gchar *description; gint decoder; + int hf_root; + int hf_value; + int hf_ipv4; + int hf_ipv6; + int hf_bsid; + int hf_protocol; + int hf_port_low; + int hf_port_high; + int hf_ipv4_mask; + int hf_ipv6_mask; + int hf_vendor_id; + int hf_vendor_rest_of_info; + value_string *enum_vs; wimaxasncp_dict_enum_t *enums; struct _wimaxasncp_dict_tlv_t *next; } wimaxasncp_dict_tlv_t; |