A brief file description. More...
#include "I_UDPNet.h"
#include "P_UDPPacket.h"
#include "P_UnixUDPConnection.h"
#include "P_UDPIOEvent.h"
Go to the source code of this file.
Data Structures | |
struct | UDPNetProcessorInternal |
class | PacketQueue |
class | UDPQueue |
struct | UDPNetHandler |
Defines | |
#define | SLOT_TIME_MSEC 20 |
#define | SLOT_TIME HRTIME_MSECONDS(SLOT_TIME_MSEC) |
#define | N_SLOTS 2048 |
Functions | |
static PollCont * | get_UDPPollCont (EThread *) |
void | initialize_thread_for_udp_net (EThread *thread) |
static UDPNetHandler * | get_UDPNetHandler (EThread *t) |
Variables | |
EventType | ET_UDP |
UDPNetProcessorInternal | udpNetInternal |
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 P_UDPNet.h.
#define N_SLOTS 2048 |
Definition at line 64 of file P_UDPNet.h.
Referenced by PacketQueue::addPacket(), PacketQueue::advanceNow(), PacketQueue::FreeCancelledPackets(), and PacketQueue::init().
#define SLOT_TIME HRTIME_MSECONDS(SLOT_TIME_MSEC) |
Definition at line 63 of file P_UDPNet.h.
Referenced by PacketQueue::advanceNow().
#define SLOT_TIME_MSEC 20 |
Definition at line 62 of file P_UDPNet.h.
Referenced by PacketQueue::advanceNow().
static UDPNetHandler* get_UDPNetHandler | ( | EThread * | t | ) | [inline, static] |
Definition at line 336 of file P_UDPNet.h.
References ETHREAD_GET_PTR, and UDPNetProcessorInternal::udpNetHandler_offset.
Referenced by UDPConnection::bindToThread(), initialize_thread_for_udp_net(), and UDPConnection::send().
Definition at line 330 of file P_UDPNet.h.
References ETHREAD_GET_PTR, and UDPNetProcessorInternal::pollCont_offset.
Referenced by initialize_thread_for_udp_net(), and UDPNetHandler::mainNetEvent().
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().
Definition at line 38 of file UnixUDPNet.cc.
Referenced by UDPConnection::bindToThread(), UDPNetProcessorInternal::start(), and TSContSchedule().
Definition at line 48 of file UnixUDPNet.cc.