diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/datatype.h | 3 | ||||
-rw-r--r-- | include/proto.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/datatype.h b/include/datatype.h index 239d5ea5..9f8b44ae 100644 --- a/include/datatype.h +++ b/include/datatype.h @@ -6,6 +6,7 @@ * * @TYPE_INVALID: uninitialized * @TYPE_VERDICT: nftables verdict + * @TYPE_NFPROTO: netfilter protocol (integer subtype) * @TYPE_BITMASK: bitmask * @TYPE_INTEGER: integer * @TYPE_STRING: string @@ -37,6 +38,7 @@ enum datatypes { TYPE_INVALID, TYPE_VERDICT, + TYPE_NFPROTO, TYPE_BITMASK, TYPE_INTEGER, TYPE_STRING, @@ -168,6 +170,7 @@ extern void rt_symbol_table_free(struct symbol_table *tbl); extern const struct datatype invalid_type; extern const struct datatype verdict_type; +extern const struct datatype nfproto_type; extern const struct datatype bitmask_type; extern const struct datatype integer_type; extern const struct datatype string_type; diff --git a/include/proto.h b/include/proto.h index 6a280367..772f9ed7 100644 --- a/include/proto.h +++ b/include/proto.h @@ -290,6 +290,8 @@ extern const struct proto_desc proto_icmp6; extern const struct proto_desc proto_ip; extern const struct proto_desc proto_ip6; +extern const struct proto_desc proto_inet; + extern const struct proto_desc proto_arp; extern const struct proto_desc proto_vlan; |