summaryrefslogtreecommitdiffstats
path: root/nhrpd/linux.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-12-20 11:23:05 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2021-04-30 10:33:18 +0200
commitaea6c49e01afccb68a6559832dd74924e13b8e61 (patch)
tree1a36c71a49c3f5e119d31fa73cdf825ec324a0e7 /nhrpd/linux.c
parentnhrpd: redirect netlink gre with zebra (diff)
downloadfrr-aea6c49e01afccb68a6559832dd74924e13b8e61.tar.xz
frr-aea6c49e01afccb68a6559832dd74924e13b8e61.zip
nhrpd: cleaning netlink gre information
flush netlink related dependencies with gre information. Add some linux headers required to compile with it. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'nhrpd/linux.c')
-rw-r--r--nhrpd/linux.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nhrpd/linux.c b/nhrpd/linux.c
index f697311d4..b55e65656 100644
--- a/nhrpd/linux.c
+++ b/nhrpd/linux.c
@@ -21,16 +21,12 @@
#include <sys/types.h>
#include <asm/types.h>
#include <arpa/inet.h>
-#include <linux/netlink.h>
-#include <linux/rtnetlink.h>
-#include <linux/ip.h>
+#include <linux/if_packet.h>
#include <linux/if_arp.h>
-#include <linux/if_tunnel.h>
#include <linux/limits.h>
#include "nhrp_protocol.h"
#include "os.h"
-#include "netlink.h"
#ifndef HAVE_STRLCPY
size_t strlcpy(char *__restrict dest,