summaryrefslogtreecommitdiffstats
path: root/pimd/mtracebis_routeget.h
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/mtracebis_routeget.h')
-rw-r--r--pimd/mtracebis_routeget.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/pimd/mtracebis_routeget.h b/pimd/mtracebis_routeget.h
new file mode 100644
index 0000000..cf97723
--- /dev/null
+++ b/pimd/mtracebis_routeget.h
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Multicast Traceroute for FRRouting
+ * Copyright (C) 2018 Mladen Sablic
+ */
+
+#ifdef __linux__
+
+#ifndef ROUTEGET_H
+#define ROUTEGET_H
+
+#include <netinet/in.h>
+
+int routeget(struct in_addr dst, struct in_addr *src, struct in_addr *gw);
+
+#endif /* ROUTEGET */
+
+#endif /* __linux__ */