UDP data with destination. More...
#include <I_UDPPacket.h>
Inherited by UDPPacketInternal.
Public Member Functions | |
virtual | ~UDPPacket () |
virtual void | free () |
void | setContinuation (Continuation *c) |
void | setConnection (UDPConnection *c) |
UDPConnection * | getConnection () |
IOBufferBlock * | getIOBlockChain () |
int64_t | getPktLength () |
inkcoreapi void | append_block (IOBufferBlock *block) |
Add IOBufferBlock (chain) to end of packet. | |
LINK (UDPPacket, link) | |
Data Fields | |
IpEndpoint | from |
IpEndpoint | to |
int | from_size |
UDP data with destination.
Definition at line 43 of file I_UDPPacket.h.
virtual UDPPacket::~UDPPacket | ( | ) | [inline, virtual] |
Definition at line 48 of file I_UDPPacket.h.
TS_INLINE void UDPPacket::append_block | ( | IOBufferBlock * | block | ) |
Add IOBufferBlock (chain) to end of packet.
block | block chain to add. |
Definition at line 91 of file P_UDPPacket.h.
References UDPPacketInternal::chain, and IOBufferBlock::next.
Referenced by INKUDPSendTo(), new_incoming_UDPPacket(), and new_UDPPacket().
TS_INLINE void UDPPacket::free | ( | ) | [virtual] |
Reimplemented in UDPPacketInternal.
Definition at line 124 of file P_UDPPacket.h.
Referenced by INKUDPPacketDestroy().
TS_INLINE UDPConnection * UDPPacket::getConnection | ( | void | ) |
Definition at line 164 of file P_UDPPacket.h.
Referenced by INKUDPPacketConnGet().
TS_INLINE IOBufferBlock * UDPPacket::getIOBlockChain | ( | void | ) |
Definition at line 158 of file P_UDPPacket.h.
Referenced by INKUDPPacketBufferBlockGet().
TS_INLINE int64_t UDPPacket::getPktLength | ( | ) |
Definition at line 109 of file P_UDPPacket.h.
References UDPPacketInternal::chain, IOBufferBlock::next, UDPPacketInternal::pktLength, and IOBufferBlock::read_avail().
Referenced by UDPQueue::SendPackets().
UDPPacket::LINK | ( | UDPPacket | , | |
link | ||||
) |
TS_INLINE void UDPPacket::setConnection | ( | UDPConnection * | c | ) |
Definition at line 136 of file P_UDPPacket.h.
References UDPConnection::AddRef(), and UDPConnection::Release().
Referenced by UDPConnection::send(), and UDPNetProcessorInternal::udp_read_from_net().
TS_INLINE void UDPPacket::setContinuation | ( | Continuation * | c | ) |
Definition at line 130 of file P_UDPPacket.h.
Referenced by UDPConnection::send().
Definition at line 65 of file I_UDPPacket.h.
Referenced by INKUDPPacketFromAddressGet(), INKUDPPacketFromPortGet(), new_incoming_UDPPacket(), and UDPPacketInternal::UDPPacketInternal().
Definition at line 68 of file I_UDPPacket.h.
Definition at line 66 of file I_UDPPacket.h.
Referenced by INKUDPSendTo(), new_UDPPacket(), UDPQueue::SendUDPPacket(), and UDPPacketInternal::UDPPacketInternal().