values.tc contains macros for common values in meta data and in TCP/IP header fields. The following groups of values are defined:
The names are the same as used in BSD /usr/include/netinet/ include files. Please see values.tc for the complete list of definitions.
Examples:
... if meta_protocol == ETH_P_IP;
... if ip_proto == IPPROTO_TCP;
... if icmp_type == ICMP_UNREACH &&
icmp_code == ICMP_UNREACH_PORT;
... if igmp_type == IGMP_V2_LEAVE_GROUP;
Note that values.tc is included via fields.tc and should not be included directly.