diff options
Diffstat (limited to 'socket.h')
-rw-r--r-- | socket.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 */ |