summaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rw-r--r--include/linux/if_packet.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/if_packet.h b/include/linux/if_packet.h
new file mode 100644
index 000000000..057edb33d
--- /dev/null
+++ b/include/linux/if_packet.h
@@ -0,0 +1,16 @@
+#ifndef __LINUX_IF_PACKET_H
+#define __LINUX_IF_PACKET_H
+
+#include <linux/types.h>
+
+struct sockaddr_ll {
+ unsigned short sll_family;
+ __be16 sll_protocol;
+ int sll_ifindex;
+ unsigned short sll_hatype;
+ unsigned char sll_pkttype;
+ unsigned char sll_halen;
+ unsigned char sll_addr[8];
+};
+
+#endif