Public Member Functions | Data Fields

UDPPacket Class Reference

UDP data with destination. More...

#include <I_UDPPacket.h>

Inherited by UDPPacketInternal.

Collaboration diagram for UDPPacket:
Collaboration graph
[legend]

Public Member Functions

virtual ~UDPPacket ()
virtual void free ()
void setContinuation (Continuation *c)
void setConnection (UDPConnection *c)
UDPConnectiongetConnection ()
IOBufferBlockgetIOBlockChain ()
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

Detailed Description

UDP data with destination.

Definition at line 43 of file I_UDPPacket.h.


Constructor & Destructor Documentation

virtual UDPPacket::~UDPPacket (  )  [inline, virtual]

Definition at line 48 of file I_UDPPacket.h.


Member Function Documentation

TS_INLINE void UDPPacket::append_block ( IOBufferBlock block  ) 

Add IOBufferBlock (chain) to end of packet.

Parameters:
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 (  ) 
UDPPacket::LINK ( UDPPacket  ,
link   
)
TS_INLINE void UDPPacket::setConnection ( UDPConnection c  ) 
TS_INLINE void UDPPacket::setContinuation ( Continuation c  ) 

Definition at line 130 of file P_UDPPacket.h.

Referenced by UDPConnection::send().


Field Documentation

Definition at line 68 of file I_UDPPacket.h.


The documentation for this class was generated from the following files: