Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc |
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc |
index 91fdd0d70997f1483790ce7e2ca163778350708a..7cec10257609a3d5f8d75d912e9fe0dc181fe5dc 100644 |
--- a/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc |
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc |
@@ -2263,6 +2263,21 @@ static void PPB_UDPSocket_Private_BindDispatcher( |
); |
} |
+static void PPB_UDPSocket_Private_GetBoundAddressDispatcher( |
+ NaClSrpcRpc* rpc, |
+ NaClSrpcArg** inputs, |
+ NaClSrpcArg** outputs, |
+ NaClSrpcClosure* done |
+) { |
+ PpbUDPSocketPrivateRpcServer::PPB_UDPSocket_Private_GetBoundAddress( |
+ rpc, |
+ done, |
+ inputs[0]->u.ival, |
+ &(outputs[0]->u.count), outputs[0]->arrays.carr, |
+ &(outputs[1]->u.ival) |
+ ); |
+} |
+ |
static void PPB_UDPSocket_Private_RecvFromDispatcher( |
NaClSrpcRpc* rpc, |
NaClSrpcArg** inputs, |
@@ -3059,6 +3074,7 @@ NaClSrpcHandlerDesc PpbRpcs::srpc_methods[] = { |
{ "PPB_UDPSocket_Private_Create:i:i", PPB_UDPSocket_Private_CreateDispatcher }, |
{ "PPB_UDPSocket_Private_IsUDPSocket:i:i", PPB_UDPSocket_Private_IsUDPSocketDispatcher }, |
{ "PPB_UDPSocket_Private_Bind:iCi:i", PPB_UDPSocket_Private_BindDispatcher }, |
+ { "PPB_UDPSocket_Private_GetBoundAddress:i:Ci", PPB_UDPSocket_Private_GetBoundAddressDispatcher }, |
{ "PPB_UDPSocket_Private_RecvFrom:iii:Ci", PPB_UDPSocket_Private_RecvFromDispatcher }, |
{ "PPB_UDPSocket_Private_GetRecvFromAddress:i:Ci", PPB_UDPSocket_Private_GetRecvFromAddressDispatcher }, |
{ "PPB_UDPSocket_Private_SendTo:iCiCi:i", PPB_UDPSocket_Private_SendToDispatcher }, |