A brief file description. More...
#include "P_Net.h"
#include "P_UDPNet.h"
#include "P_LibBulkIO.h"
Go to the source code of this file.
Data Structures | |
class | UDPReadContinuation |
Defines | |
#define | UNINITIALIZED_EVENT_PTR (Event *)0xdeadbeef |
Typedefs | |
typedef int(UDPNetHandler::* | UDPNetContHandler )(int, void *) |
Functions | |
inkcoreapi ClassAllocator < UDPPacketInternal > | udpPacketAllocator ("udpPacketAllocator") |
void | initialize_thread_for_udp_net (EThread *thread) |
Variables | |
EventType | ET_UDP |
UDPNetProcessorInternal | udpNetInternal |
UDPNetProcessor & | udpNet = udpNetInternal |
int32_t | g_udp_periodicCleanupSlots |
int32_t | g_udp_periodicFreeCancelledPkts |
int32_t | g_udp_numSendRetries |
int | G_bwGrapherFd |
sockaddr_in6 | G_bwGrapherLoc |
ClassAllocator < UDPReadContinuation > | udpReadContAllocator ("udpReadContAllocator") |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file UnixUDPNet.cc.
#define UNINITIALIZED_EVENT_PTR (Event *)0xdeadbeef |
Definition at line 216 of file UnixUDPNet.cc.
Referenced by UDPReadContinuation::~UDPReadContinuation().
typedef int(UDPNetHandler::* UDPNetContHandler)(int, void *) |
Definition at line 35 of file UnixUDPNet.cc.
void initialize_thread_for_udp_net | ( | EThread * | thread | ) |
Definition at line 65 of file UnixUDPNet.cc.
References g_udp_numSendRetries, g_udp_periodicCleanupSlots, g_udp_periodicFreeCancelledPkts, get_UDPNetHandler(), get_UDPPollCont(), Thread::mutex, REC_ReadConfigInt32, EThread::schedule_every(), and EThread::schedule_imm().
Referenced by UDPNetProcessorInternal::start().
inkcoreapi ClassAllocator<UDPPacketInternal> udpPacketAllocator | ( | "udpPacketAllocator" | ) |
Definition at line 38 of file UnixUDPNet.cc.
Referenced by UDPConnection::bindToThread(), UDPNetProcessorInternal::start(), and TSContSchedule().
int G_bwGrapherFd |
Definition at line 61 of file UnixUDPNet.cc.
sockaddr_in6 G_bwGrapherLoc |
Definition at line 62 of file UnixUDPNet.cc.
int32_t g_udp_numSendRetries |
Definition at line 53 of file UnixUDPNet.cc.
Referenced by initialize_thread_for_udp_net(), and UDPQueue::SendUDPPacket().
int32_t g_udp_periodicCleanupSlots |
Definition at line 51 of file UnixUDPNet.cc.
Referenced by initialize_thread_for_udp_net(), and UDPQueue::SendPackets().
int32_t g_udp_periodicFreeCancelledPkts |
Definition at line 52 of file UnixUDPNet.cc.
Referenced by initialize_thread_for_udp_net(), and UDPQueue::SendPackets().
Definition at line 49 of file UnixUDPNet.cc.
Definition at line 48 of file UnixUDPNet.cc.
ClassAllocator<UDPReadContinuation> udpReadContAllocator("udpReadContAllocator") |
Referenced by UDPReadContinuation::free(), and UDPNetProcessor::recvfrom_re().