aboutsummaryrefslogtreecommitdiffstats
path: root/lib/icmpv6.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-04-09 18:51:05 +0200
committerlaforge <laforge@osmocom.org>2020-04-14 13:18:21 +0000
commit1c8ae666548d350701c3645a97792776203ff200 (patch)
tree9c6d63498fc2a5da2df0b83ae44d429724060d43 /lib/icmpv6.h
parentfcdaf31aa86b773cf7da07437d3b9b5bd9962ff7 (diff)
Move icmpv6 and checksum files from ggsn/ dir to lib/
They will be required by sgsnemu to implement ICMPv6 Router Soliciations. Change-Id: Ie878604f0fc0169cc98a1e9eee64b14d76be2c45
Diffstat (limited to 'lib/icmpv6.h')
-rw-r--r--lib/icmpv6.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/icmpv6.h b/lib/icmpv6.h
new file mode 100644
index 0000000..bf91e27
--- /dev/null
+++ b/lib/icmpv6.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "../gtp/gtp.h"
+#include "../gtp/pdp.h"
+
+int handle_router_mcast(struct gsn_t *gsn, struct pdp_t *pdp,
+ const struct in6_addr *pdp_prefix,
+ const struct in6_addr *own_ll_addr,
+ const uint8_t *pack, unsigned len);