Index: ppapi/c/ppb_udp_socket.h |
diff --git a/ppapi/c/ppb_udp_socket.h b/ppapi/c/ppb_udp_socket.h |
index 5551c3388f47bcda98e26317a79851c1310abdd8..252b79e15affbb1ef4a5feeb14205a9d5cb453ad 100644 |
--- a/ppapi/c/ppb_udp_socket.h |
+++ b/ppapi/c/ppb_udp_socket.h |
@@ -3,7 +3,7 @@ |
* found in the LICENSE file. |
*/ |
-/* From ppb_udp_socket.idl modified Sat Jun 22 10:56:26 2013. */ |
+/* From ppb_udp_socket.idl modified Thu Nov 6 16:20:36 2014. */ |
#ifndef PPAPI_C_PPB_UDP_SOCKET_H_ |
#define PPAPI_C_PPB_UDP_SOCKET_H_ |
@@ -64,7 +64,43 @@ typedef enum { |
* size. Even if <code>SetOption()</code> succeeds, the browser doesn't |
* guarantee it will conform to the size. |
*/ |
- PP_UDPSOCKET_OPTION_RECV_BUFFER_SIZE = 3 |
+ PP_UDPSOCKET_OPTION_RECV_BUFFER_SIZE = 3, |
+ /** |
+ * Specifies whether the packets sent from the host to the multicast group |
+ * should be looped back to the host or not. Value's type should be |
+ * <code>PP_VARTYPE_BOOL</code>. |
+ * This option can only be set before calling <code>Bind()</code>. |
+ */ |
+ PP_UDPSOCKET_OPTION_MULTICAST_LOOP = 4, |
+ /** |
+ * Specifies the time-to-live for packets sent to the multicast group. The |
+ * value should be within 0 to 255 range. The default value is 1 and means |
+ * that packets will not be routed beyond the local network. Value's type |
+ * should be <code>PP_VARTYPE_INT32</code>. |
+ * This option can only be set before calling <code>Bind()</code>. |
+ */ |
+ PP_UDPSOCKET_OPTION_MULTICAST_TTL = 5, |
+ /** |
+ * Specifies the network interface from which the multicast packets will be |
+ * sent and received, as specified by <code>PPB_NetworkList</code>. Value's |
+ * type should be <code>PP_VARTYPE_INT32</code>. |
+ * This option can only be set before calling <code>Bind()</code>. |
+ */ |
+ PP_UDPSOCKET_OPTION_MULTICAST_IF = 6, |
+ /** |
+ * Joins the multicast group with given address as specifed by |
+ * <code>PPB_NetAddress</code> API. Value's type should be |
+ * <code>PP_VARTYPE_RESOURCE</code>. |
+ * This option can only be set after a successful <code>Bind()</code> call. |
+ */ |
+ PP_UDPSOCKET_OPTION_MULTICAST_JOIN = 7, |
+ /** |
+ * Leaves the multicast group with given address as specifed by |
+ * <code>PPB_NetAddress</code> API. Value's type should be |
+ * <code>PP_VARTYPE_RESOURCE</code>. |
+ * This option can only be set after a successful <code>Bind()</code> call. |
+ */ |
+ PP_UDPSOCKET_OPTION_MULTICAST_LEAVE = 8 |
} PP_UDPSocket_Option; |
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_UDPSocket_Option, 4); |
/** |