| Yate
    | 
Data associated with a captured packet. More...
#include <yateclass.h>
| Public Member Functions | |
| CaptureInfo (uint64_t ts=Time::now(), SocketAddr *srcAddr=0, SocketAddr *dstAddr=0, const NamedList &extra=NamedList::empty()) | |
| SocketAddr * | srcAddr () const | 
| SocketAddr * | dstAddr () const | 
| const NamedList & | extraInfo () const | 
| uint64_t | ts () const | 
| uint16_t | srcPort () const | 
| uint16_t | dstPort () const | 
Data associated with a captured packet.
CaptureInfo class allows passing information about a captured packet
| 
 | inline | 
Constructor
| ts | Timestamp when packet was captures/created in microseconds | 
| srcAddr | Source address of the packet | 
| dstAddr | Destination address of the packet | 
| extra | Extra parameters | 
| 
 | inline | 
Retrieve the destination address of this packet
| 
 | inline | 
Destination port of this packet
| 
 | inline | 
Get the extra information parameters
| 
 | inline | 
Retrieve the source address
| 
 | inline | 
Source port of this packet
| 
 | inline | 
Timestamp in microseconds when this packet was captured