--- Begin Message ---
On 17/10/2025 23:14, Denis Ovsienko wrote:
> One way to solve this problem would be using "keyword <arg>" or
> "keyword ARG" or even "keyword <ARG>" syntax for all filter primitives.
In pcap-filter.manmisc.in, we have some keywords with optional argument as:
vlan [vlan_id]
mpls [label_num]
pppoes [session_id]
geneve [vni]
vxlan [vni]
If we choose <argument>, we will have:
vlan [<vlan_id>]
mpls [<label_num>]
pppoes [<session_id>]
geneve [<vni>]
vxlan [<vni>]
If we choose ARGUMENT, we will have:
vlan [VLAN_ID]
mpls [LABEL_NUM]
pppoes [SESSION_ID]
geneve [VNI]
vxlan [VNI]
The latter is easier to read, in my opinion, with fewer characters.
--- End Message ---
_______________________________________________
tcpdump-workers mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s