1Parse::Pidl::Wireshark:U:sCeornfCoornmtarnicbeu(t3e)d PePralrsDeo:c:uPmiednlt:a:tWiiorneshark::Conformance(3)
2
3
4
6 Parse::Pidl::Wireshark::Conformance - Conformance file parser for
7 Wireshark
8
10 This module supports parsing Wireshark conformance files (*.cnf).
11
13 Pidl needs additional data for Wireshark output. This data is read from
14 so-called conformance files. This section describes the format of these
15 files.
16
17 Conformance files are simple text files with a single command on each
18 line. Empty lines and lines starting with a '#' character are ignored.
19 Arguments to commands are separated by spaces.
20
21 The following commands are currently supported:
22
23 TYPE name dissector ft_type base_type mask valsstring alignment
24 Register new data type with specified name, what dissector function
25 to call and what properties to give header fields for elements of
26 this type.
27
28 NOEMIT type
29 Suppress emitting a dissect_type function for the specified type
30
31 PARAM_VALUE type param
32 Set parameter to specify to dissector function for given type.
33
34 HF_FIELD hf title filter ft_type base_type valsstring mask description
35 Generate a custom header field with specified properties.
36
37 HF_RENAME old_hf_name new_hf_name
38 Force the use of new_hf_name when the parser generator was going to
39 use old_hf_name.
40
41 This can be used in conjunction with HF_FIELD in order to make more
42 than one element use the same filter name.
43
44 ETT_FIELD ett
45 Register a custom ett field
46
47 STRIP_PREFIX prefix
48 Remove the specified prefix from all function names (if present).
49
50 PROTOCOL longname shortname filtername
51 Change the short-, long- and filter-name for the current interface
52 in Wireshark.
53
54 FIELD_DESCRIPTION field desc
55 Change description for the specified header field. `field' is the
56 hf name of the field.
57
58 IMPORT dissector code...
59 Code to insert when generating the specified dissector. @HF@ and
60 @PARAM@ will be substituted.
61
62 INCLUDE filename
63 Include conformance data from the specified filename in the
64 dissector.
65
66 TFS hf_name "true string" "false string"
67 Override the text shown when a bitmap boolean value is enabled or
68 disabled.
69
70 MANUAL fn_name
71 Force pidl to not generate a particular function but allow the user
72 to write a function manually. This can be used to remove the
73 function for only one level for a particular element rather than
74 all the functions and ett/hf variables for a particular element as
75 the NOEMIT command does.
76
77 CODE START/CODE END Begin and end a section of code to be put directly
78 into the generated source file for the dissector.
79 HEADER START/HEADER END Begin and end a section of code to be put
80 directly into the generated header file for the dissector.
81
83 INFO_KEY OpenKey.Ke
84
85
86
87perl v5.36.0 2023-01P-a2r6se::Pidl::Wireshark::Conformance(3)