]> git.proxmox.com Git - mirror_ovs.git/blobdiff - lib/classifier.h
cirrus: Use FreeBSD 12.2.
[mirror_ovs.git] / lib / classifier.h
index d1bd4aa12a7832d8087073137e8943489e5b6200..f646a8f7429b31fc1fc4353832bf40075c76b8b4 100644 (file)
@@ -314,13 +314,15 @@ extern "C" {
 struct cls_subtable;
 struct cls_match;
 
+struct mf_field;
+typedef OVSRCU_TYPE(struct mf_field *) rcu_field_ptr;
 struct trie_node;
 typedef OVSRCU_TYPE(struct trie_node *) rcu_trie_ptr;
 
 /* Prefix trie for a 'field' */
 struct cls_trie {
-    const struct mf_field *field; /* Trie field, or NULL. */
-    rcu_trie_ptr root;            /* NULL if none. */
+    rcu_field_ptr field;   /* Trie field, or NULL. */
+    rcu_trie_ptr root;     /* NULL if none. */
 };
 
 enum {