summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2017-04-05 14:26:37 +0200
committerJan Moskyto Matejka <mq@ucw.cz>2017-04-12 16:04:22 +0200
commit97e48b6a18142d1aa11e909d094812f3fff4ea61 (patch)
treeb96608eccdaf5f5da55449afc88804f350f7d4b0 /sysdep/linux
parent54635f435a76ad0f3141b09a9c5072f6e2e8c319 (diff)
Adding also our copy of struct rtvia.
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/netlink.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c
index bed97331..083a8d90 100644
--- a/sysdep/linux/netlink.c
+++ b/sysdep/linux/netlink.c
@@ -60,6 +60,13 @@
#define RTA_VIA 18
#endif
+#ifndef HAVE_STRUCT_RTVIA
+struct rtvia {
+ __kernel_sa_family_t rtvia_family;
+ __u8 rtvia_addr[0];
+};
+#endif
+
#ifndef RTA_NEWDST
#define RTA_NEWDST 19
#endif