summaryrefslogtreecommitdiff
path: root/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/socket.h b/socket.h
index 192c08f..bb555c8 100644
--- a/socket.h
+++ b/socket.h
@@ -19,9 +19,14 @@
#ifndef SOCKET_H
#define SOCKET_H
+#include <stdbool.h>
#include <stdint.h>
-int socket_open_v4(uint16_t port);
+int socket_open_ipv4(uint16_t port);
+int socket_open_ipv6(uint16_t port);
int socket_open_rtnl(void);
+int socket_mcast_group_ipv4(int sock, unsigned int ifindex, bool join);
+int socket_mcast_group_ipv6(int sock, unsigned int ifindex, bool join);
+
#endif /* SOCKET_H */