Index: ppapi/api/private/ppb_udp_socket_private.idl |
diff --git a/ppapi/api/private/ppb_udp_socket_private.idl b/ppapi/api/private/ppb_udp_socket_private.idl |
index 9888a548e9951bc7197e608cb5d58d32153ef895..c1bcc516566b6aba7bf705f803993e9e406e0358 100644 |
--- a/ppapi/api/private/ppb_udp_socket_private.idl |
+++ b/ppapi/api/private/ppb_udp_socket_private.idl |
@@ -24,9 +24,29 @@ enum PP_UDPSocketFeature_Private { |
// addresses. Value's type should be PP_VARTYPE_BOOL. |
PP_UDPSOCKETFEATURE_PRIVATE_BROADCAST = 1, |
+ // Whether multicast packets sent from the host to the multicast group should |
+ // be looped back to the host or not. Value's type should be PP_VARTYPE_BOOL. |
+ PP_UDPSOCKETFEATURE_PRIVATE_MULTICAST_LOOP = 2, |
+ |
+ // Set time-to-live for multicast packets, from 0 to 255. Value's type should |
+ // be PP_VARTYPE_INT32. |
+ PP_UDPSOCKETFEATURE_PRIVATE_MULTICAST_TTL = 3, |
+ |
+ // Set network interface from which the multicast packets will be sent and |
+ // received. Value's type should be PP_VARTYPE_INT32. |
+ PP_UDPSOCKETFEATURE_PRIVATE_MULTICAST_IF = 4, |
+ |
+ // Join a multicast group and start receiving packets. Value's type should be |
+ // PP_VARTYPE_RESOURCE. |
+ PP_UDPSOCKETFEATURE_PRIVATE_MULTICAST_JOIN = 5, |
+ |
+ // Leave a multicast group previously joined. Value's type should be |
+ // PP_VARTYPE_RESOURCE. |
+ PP_UDPSOCKETFEATURE_PRIVATE_MULTICAST_LEAVE = 6, |
+ |
// Special value for counting the number of available |
// features. Should not be passed to SetSocketFeature(). |
- PP_UDPSOCKETFEATURE_PRIVATE_COUNT = 2 |
+ PP_UDPSOCKETFEATURE_PRIVATE_COUNT = 7 |
}; |
interface PPB_UDPSocket_Private { |