Lines Matching refs:UDPWrap
58 UDPWrap* wrap = Unwrap<UDPWrap>(args.Holder());
136 UDPWrap::UDPWrap(Environment* env, Local<Object> object)
151 void UDPWrap::Initialize(Local<Object> target,
168 FunctionTemplate::New(isolate, UDPWrap::GetFD, Local<Value>(), signature);
187 GetSockOrPeerName<UDPWrap, uv_udp_getpeername>);
191 GetSockOrPeerName<UDPWrap, uv_udp_getsockname>);
233 void UDPWrap::New(const FunctionCallbackInfo<Value>& args) {
236 new UDPWrap(env, args.This());
240 void UDPWrap::GetFD(const FunctionCallbackInfo<Value>& args) {
243 UDPWrap* wrap = Unwrap<UDPWrap>(args.This());
264 void UDPWrap::DoBind(const FunctionCallbackInfo<Value>& args, int family) {
265 UDPWrap* wrap;
294 void UDPWrap::DoConnect(const FunctionCallbackInfo<Value>& args, int family) {
295 UDPWrap* wrap;
318 void UDPWrap::Open(const FunctionCallbackInfo<Value>& args) {
319 UDPWrap* wrap;
331 void UDPWrap::Bind(const FunctionCallbackInfo<Value>& args) {
336 void UDPWrap::Bind6(const FunctionCallbackInfo<Value>& args) {
341 void UDPWrap::BufferSize(const FunctionCallbackInfo<Value>& args) {
343 UDPWrap* wrap;
377 void UDPWrap::Connect(const FunctionCallbackInfo<Value>& args) {
382 void UDPWrap::Connect6(const FunctionCallbackInfo<Value>& args) {
387 void UDPWrap::Disconnect(const FunctionCallbackInfo<Value>& args) {
388 UDPWrap* wrap;
400 void UDPWrap::SetMulticastInterface(const FunctionCallbackInfo<Value>& args) {
401 UDPWrap* wrap;
417 void UDPWrap::SetMembership(const FunctionCallbackInfo<Value>& args,
419 UDPWrap* wrap;
442 void UDPWrap::AddMembership(const FunctionCallbackInfo<Value>& args) {
447 void UDPWrap::DropMembership(const FunctionCallbackInfo<Value>& args) {
451 void UDPWrap::SetSourceMembership(const FunctionCallbackInfo<Value>& args,
453 UDPWrap* wrap;
478 void UDPWrap::AddSourceSpecificMembership(
484 void UDPWrap::DropSourceSpecificMembership(
490 void UDPWrap::DoSend(const FunctionCallbackInfo<Value>& args, int family) {
493 UDPWrap* wrap;
556 ssize_t UDPWrap::Send(uv_buf_t* bufs_ptr,
602 UDPWrap* self = ContainerOf(&UDPWrap::handle_, req->handle);
614 ReqWrap<uv_udp_send_t>* UDPWrap::CreateSendWrap(size_t msg_size) {
623 void UDPWrap::Send(const FunctionCallbackInfo<Value>& args) {
628 void UDPWrap::Send6(const FunctionCallbackInfo<Value>& args) {
633 AsyncWrap* UDPWrap::GetAsyncWrap() {
637 SocketAddress UDPWrap::GetPeerName() {
641 SocketAddress UDPWrap::GetSockName() {
650 int UDPWrap::RecvStart() {
665 int UDPWrap::RecvStop() {
671 void UDPWrap::OnSendDone(ReqWrap<uv_udp_send_t>* req, int status) {
686 void UDPWrap::OnAlloc(uv_handle_t* handle,
689 UDPWrap* wrap = ContainerOf(&UDPWrap::handle_,
694 uv_buf_t UDPWrap::OnAlloc(size_t suggested_size) {
698 void UDPWrap::OnRecv(uv_udp_t* handle,
703 UDPWrap* wrap = ContainerOf(&UDPWrap::handle_, handle);
707 void UDPWrap::OnRecv(ssize_t nread,
779 MaybeLocal<Object> UDPWrap::Instantiate(Environment* env,
781 UDPWrap::SocketType type) {
789 void UDPWrap::GetSendQueueSize(const FunctionCallbackInfo<Value>& args) {
790 UDPWrap* wrap;
798 void UDPWrap::GetSendQueueCount(const FunctionCallbackInfo<Value>& args) {
799 UDPWrap* wrap;
809 NODE_BINDING_CONTEXT_AWARE_INTERNAL(udp_wrap, node::UDPWrap::Initialize)