]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
src: rename datatype name from tc_handle to classid
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 22 Jul 2016 14:43:13 +0000 (16:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Aug 2016 01:14:58 +0000 (03:14 +0200)
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/datatype.h
src/meta.c

index 3eb686e268c53dac4d2dde72d5ba7dce08656f5b..12ec46bcc7bb4fe6d7a9621c968a935a88f4e67d 100644 (file)
@@ -27,7 +27,7 @@
  * @TYPE_IFINDEX:      interface index (integer subtype)
  * @TYPE_ARPHRD:       interface type (integer subtype)
  * @TYPE_REALM:                routing realm (integer subtype)
- * @TYPE_TC_HANDLE:    TC handle (integer subtype)
+ * @TYPE_CLASSID:      TC classid (integer subtype)
  * @TYPE_UID:          user ID (integer subtype)
  * @TYPE_GID:          group ID (integer subtype)
  * @TYPE_CT_STATE:     conntrack state (bitmask subtype)
@@ -66,7 +66,7 @@ enum datatypes {
        TYPE_IFINDEX,
        TYPE_ARPHRD,
        TYPE_REALM,
-       TYPE_TC_HANDLE,
+       TYPE_CLASSID,
        TYPE_UID,
        TYPE_GID,
        TYPE_CT_STATE,
index 94263f90c28a8cef5386e492e2f823a9edc81a18..c7967b05b9a75bbc036f225862c5823b550865c8 100644 (file)
@@ -127,9 +127,9 @@ err:
 }
 
 static const struct datatype tchandle_type = {
-       .type           = TYPE_TC_HANDLE,
-       .name           = "tc_handle",
-       .desc           = "TC handle",
+       .type           = TYPE_CLASSID,
+       .name           = "classid",
+       .desc           = "TC classid",
        .byteorder      = BYTEORDER_HOST_ENDIAN,
        .size           = 4 * BITS_PER_BYTE,
        .basetype       = &integer_type,