summaryrefslogtreecommitdiff
path: root/drivers/unix/net_socket_posix.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-21 10:21:01 +0200
committerGitHub <noreply@github.com>2019-06-21 10:21:01 +0200
commit1e833cadbcf1403eec85fa85b290328bc1bf5179 (patch)
tree8c98449750f26d7b411ef2b46164826435bdbe91 /drivers/unix/net_socket_posix.h
parent5c66771e3ebccdfec55bb94ea521d2f24cb6200a (diff)
parente5e3f866484709f47c97151e99a302206df1d894 (diff)
Merge pull request #29935 from Faless/net/get_if_multicast_pr
Multicast, more network interfaces info
Diffstat (limited to 'drivers/unix/net_socket_posix.h')
-rw-r--r--drivers/unix/net_socket_posix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/unix/net_socket_posix.h b/drivers/unix/net_socket_posix.h
index b7fb3fdc94..cf0412311d 100644
--- a/drivers/unix/net_socket_posix.h
+++ b/drivers/unix/net_socket_posix.h
@@ -60,6 +60,7 @@ private:
NetError _get_socket_error();
void _set_socket(SOCKET_TYPE p_sock, IP::Type p_ip_type, bool p_is_stream);
+ _FORCE_INLINE_ Error _change_multicast_group(IP_Address p_ip, String p_if_name, bool p_add);
protected:
static NetSocket *_create_func();
@@ -93,6 +94,8 @@ public:
virtual void set_tcp_no_delay_enabled(bool p_enabled);
virtual void set_reuse_address_enabled(bool p_enabled);
virtual void set_reuse_port_enabled(bool p_enabled);
+ virtual Error join_multicast_group(const IP_Address &p_multi_address, String p_if_name);
+ virtual Error leave_multicast_group(const IP_Address &p_multi_address, String p_if_name);
NetSocketPosix();
~NetSocketPosix();