summaryrefslogtreecommitdiff
path: root/lib/route/cls/ematch/text.c
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2024-04-04 15:11:02 -0700
committerChristopher Ferris <cferris@google.com>2024-04-04 15:11:03 -0700
commit8540e0b5277fc49b206a2de0ed18560257b789ca (patch)
treee71b443d54ee42ff1abe5954cda0e375142788bf /lib/route/cls/ematch/text.c
parentca20da1752bec57be0b78a1d01bc6e5847bdd490 (diff)
parentbdf83151326e365f137fe0e36dc9b1b7aeb1cf33 (diff)
downloadlibnl-8540e0b5277fc49b206a2de0ed18560257b789ca.tar.gz
Upgrade libnl to libnl3_9_0
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/libnl For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: I66c6cb5c1f93f0caef2b74fa4c73e7e70f407ed2
Diffstat (limited to 'lib/route/cls/ematch/text.c')
-rw-r--r--lib/route/cls/ematch/text.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/route/cls/ematch/text.c b/lib/route/cls/ematch/text.c
index b5248332..d7a233f8 100644
--- a/lib/route/cls/ematch/text.c
+++ b/lib/route/cls/ematch/text.c
@@ -10,13 +10,13 @@
* @{
*/
-#include <netlink-private/netlink.h>
-#include <netlink-private/utils.h>
-#include <netlink-private/tc.h>
+#include "nl-default.h"
+
+#include <linux/tc_ematch/tc_em_text.h>
+
#include <netlink/netlink.h>
#include <netlink/route/cls/ematch.h>
#include <netlink/route/cls/ematch/text.h>
-#include <linux/tc_ematch/tc_em_text.h>
struct text_data
{
@@ -171,7 +171,7 @@ static struct rtnl_ematch_ops text_ops = {
.eo_free = text_free,
};
-static void __init text_init(void)
+static void _nl_init text_init(void)
{
rtnl_ematch_register(&text_ops);
}