senf Namespace Reference


Namespaces

namespace   console
namespace   detail
namespace   format
namespace   log
namespace   mpl
namespace   phoenix
namespace   ppi
namespace   scheduler
namespace   term
namespace   test

Classes

class   ClockService
class   ReadHelper
struct   ReadUntil
class   WriteHelper
struct   NoAddressingPolicy
class   ClientSocketHandle
struct   ConnectedCommunicationPolicy
struct   UnconnectedCommunicationPolicy
class   FileHandle
class   FileBody
struct   StreamFramingPolicy
struct   DatagramFramingPolicy
class   NetdeviceController
class   ProtocolClientSocketHandle
struct   AddressException
struct   AddressSyntaxException
struct   UnknownHostnameException
struct   UnknownInterfaceException
struct   BSDAddressingPolicyMixinBase
struct   BSDAddressingPolicyMixin
struct   BSDAddressingPolicy
class   BSDSocketAddress
class   GenericBSDSocketAddress
class   BSDSocketProtocol
class   AddressableBSDSocketProtocol
class   DatagramSocketProtocol
class   DVBConfigParser
class   DVBProtocolWrapper
class   DVBSocketProtocol
class   DVBDemuxSectionSocketProtocol
class   DVBDemuxPESSocketProtocol
class   DVBDvrSocketProtocol
class   DVBDemuxSocketProtocol
class   DVBFrontendSocketProtocol
class   DVBSectionProtocolWrapper
class   DVBPESProtocolWrapper
class   DVBSocketController
class   ConnectedRawV4SocketProtocol
class   ConnectedRawV6SocketProtocol
class   ConnectedUDPv4SocketProtocol
class   ConnectedUDPv6SocketProtocol
class   INet4Address
class   CheckINet4Network
class   INet4Network
class   INet6Address
struct   CheckINet6Network
class   INet6Network
class   INet4SocketAddress
class   INet6SocketAddress
struct   INet4AddressingPolicy
struct   INet6AddressingPolicy
class   INetSocketProtocol
class   MulticastSocketProtocol
class   INet4MulticastSocketProtocol
class   INet6MulticastSocketProtocol
class   RawV4SocketProtocol
class   RawV6SocketProtocol
class   RawINetSocketProtocol
class   TCPv4SocketProtocol
class   TCPv6SocketProtocol
class   TCPSocketProtocol
class   UDPv4SocketProtocol
class   UDPv6SocketProtocol
class   UDPSocketProtocol
class   EUI64
class   LLSocketAddress
struct   LLAddressingPolicy
struct   MACAddress
class   PacketSocketProtocol
class   TapSocketProtocol
class   ConnectedUNDatagramSocketProtocol
class   UNSocketAddress
struct   UNAddressingPolicy
class   UNDatagramSocketProtocol
class   UNSocketProtocol
class   ProtocolServerSocketHandle
struct   ReadablePolicy
struct   NotReadablePolicy
struct   WriteablePolicy
struct   NotWriteablePolicy
class   ServerSocketHandle
class   SocketHandle
class   SocketBody
class   ProtocolSocketBody
struct   AddressingPolicyBase
struct   FramingPolicyBase
struct   CommunicationPolicyBase
struct   ReadPolicyBase
struct   WritePolicyBase
struct   AddressingPolicyIs
struct   IfAddressingPolicyIs
struct   IfAddressingPolicyIsNot
struct   SocketPolicyBase
struct   SocketPolicy
struct   MakeSocketPolicy
struct   SocketPolicyIsBaseOf
class   SocketProtocol
class   ConcreteSocketProtocol
class   Beeper
class   DiscardSink
class   DiscardStream
class   ExceptionMixin
class   Exception
class   WrapException
class   SystemException
class   intrusive_refcount_base
class   intrusive_refcount_t
class   intrusive_refcount
class   IpChecksum
struct   contiguous_storage_iterator
struct   contiguous_storage_iterator< T * >
struct   strict_totally_ordered1
struct   has_parameter
class   pimpl_ptr
class   pool_alloc_mixin
class   RestrictedInt
class   safe_bool_base
class   comparable_safe_bool
class   safe_bool
class   ScopeExit
class   singleton
struct   StatisticsData
class   StatisticAccumulator
class   StatisticsBase
class   Statistics
class   Collector
struct   function_traits_remove_arg
struct   function_traits_arg_type
struct   remove_member_pointer
struct   member_class
struct   remove_any_pointer
struct   is_any_function
struct   remove_cvref
struct   function_arity
struct   is_pair
class   TypeIdValue
class   Daemon
class   WLANInfoElementParser
struct   WLANSSIDInfoElementParser
struct   WLANSupportedRatesInfoElementParser
struct   WLANPowerConstraintInfoElementParser
struct   RadiotapPacketParser_Flags
  Parse Flag field in Radiotap header. More...
struct   RadiotapPacketParser_ChannelOptions
  Parse in Radiotap Header channel frequency and flag field. More...
struct   RadiotapPacketParser_RxFlags
struct   RadiotapPacketParser_TxFlags
struct   RadiotapPacketParser_Header
  Parse an Radiotap header. More...
struct   RadiotapPacketParser_FrameType
struct   RadiotapPacketParser
struct   RadiotapPacketType
  Radiotap packet. More...
struct   WLANBeaconPacketParser
struct   WLANBeaconPacketType
  WLAN Beacon frame packet. More...
struct   WLANPacketParser
  802.11 Frame parser (see IEEE 802.11-2007 standard - Chapter 7 Frame formats) Re-ordering of bits due to host byte order More...
struct   WLANPacket_MgtFrameParser
  Management frame parser Re-ordering of bits due to LSB byte order. More...
struct   WLANPacket_MgtFrameType
  WLAN Management frame packet. More...
struct   WLANPacket_CtrlFrameParser
  Control frame parser Re-ordering of bits due to LSB byte order. More...
struct   WLANPacket_CtrlFrameType
  WLAN Control frame packet. More...
struct   WLANPacket_DataFrameParser
  Data frame parser Re-ordering of bits due to LSB byte order. More...
struct   WLANPacket_DataFrameType
  WLAN Data frame packet. More...
struct   MIHTLVLengthException
struct   InvalidMIHPacketException
class   MIHMessageRegistry
struct   MIHPacketParser
  Parse a MIH packet. More...
struct   MIHPacketType
  MIH packet. More...
struct   MIHGenericPayloadPacketParser
struct   MIHGenericPayloadPacketType
class   MIHFId
class   MIHTLVLengthParser
class   MIHBaseTLVParser
  Base class for MIH TLV parsers. More...
struct   MIHGenericTLVParser
  Parser for a generic TLV packet. More...
struct   MIHBaseListTLVParser
  Base class for list TLV parser. More...
struct   MIHListTLVParserMixin
class   MIHFIdTLVParser
  Parse a MIHF_ID. More...
struct   MIHFSrcIdTLVParser
  Parser for 802.21 source MIHF_ID TLV. More...
struct   MIHFDstIdTLVParser
  Parser for 802.21 destination MIHF_ID TLV. More...
struct   MIHStatusTLVParser
  Parser for 802.21 Status TLV. More...
struct   MIHRegisterReqCodeTLVParser
struct   MIHValidTimeIntervalTLVParser
struct   ArrayParser
  Fixed size collection of fixed size elements. More...
struct   DataPacketType
  Generic payload-only packet. More...
struct   MACAddressParser
  Parse an Ethernet MAC address. More...
struct   EthernetPacketParser
  Parse an Ethernet packet. More...
struct   EtherTypes
  EtherType registry. More...
struct   EthernetPacketType
  Ethernet packet. More...
struct   EthVLanPacketParser
  Parse an ethernet VLAN tag. More...
struct   EthVLanPacketType
  Ethernet VLAN tag. More...
struct   EUI64Parser
  Parse an EUI64 address. More...
struct   ICMPv6PacketParser
struct   ICMPTypes
struct   ICMPv6PacketType
  ICMP Packet for IPv6. More...
struct   ICMPv6EchoRequestParser
struct   ICMPv6EchoRequestType
  ICMPv6 Echo Request. More...
struct   ICMPv6EchoReplyParser
struct   ICMPv6EchoReplyType
  ICMPv6 Echo Reply. More...
struct   ICMPv6ErrDestUnreachableParser
struct   ICMPv6ErrDestUnreachableType
  ICMPv6 Destination unreachable. More...
struct   ICMPv6ErrTooBigParser
struct   ICMPv6ErrTooBigType
  ICMPv6 Packet to big. More...
struct   ICMPv6ErrTimeExceededParser
struct   ICMPv6ErrTimeExceededType
  ICMPv6 Time exceeded. More...
struct   ICMPv6ErrParamProblemParser
struct   ICMPv6ErrParamProblemType
  ICMPv6 Parameter problem. More...
struct   MLDv2ListenerQueryParser
struct   MLDv2ListenerQueryType
  MLDv2 Listener query. More...
struct   MLDv2AddressRecordParser
struct   MLDv2ListenerReportParser
struct   MLDv2ListenerReportType
  MLDv2 Listener report. More...
struct   NDPRouterSolicitationParser
struct   NDPRouterSolicitationMessageType
  Router Solicitation Message. More...
struct   NDPRouterAdvertisementParser
struct   NDPRouterAdvertisementMessageType
  Router Advertisement Message. More...
struct   NDPNeighborSolicitationParser
struct   NDPNeighborSolicitationMessageType
  Neighbor Solicitation Message. More...
struct   NDPNeighborAdvertisementParser
struct   NDPNeighborAdvertisementMessageType
  Neighbor Advertisement Message. More...
struct   NDPRedirectParser
struct   NDPRedirectMessageType
  Redirect Message. More...
struct   INet4AddressParser
  Parse in IPv4 address. More...
struct   IPv4PacketParser
  Parse an IPv4 packet. More...
struct   IpTypes
  IP protocol number registry. More...
struct   IPv4PacketType
  IPv4 packet. More...
struct   IPv6FragmentPacketParser
  Parse in IPv6 fragment extension header. More...
struct   IPv6FragmentPacketType
  IPv6 fragment extension. More...
struct   IPv6RoutingPacketParser
  Parse in IPv6 routing extension header. More...
struct   IPv6RoutingPacketType
  IPv6 routing extension. More...
struct   IPv6HopByHopOptionsPacketParser
  Parse in IPv6 Hop-By-Hop extension header. More...
struct   IPv6HopByHopOptionsPacketType
  IPv6 Hop-By-Hop extension. More...
struct   IPv6DestinationOptionsPacketParser
  Parse in IPv6 Destination Options extension header. More...
struct   IPv6DestinationOptionsPacketType
  IPv6 Destination Options extension. More...
class   IPv6OptionParser
  IPv6 Extension Option parser. More...
struct   INet6AddressParser
  Parse an IPv6 address. More...
struct   IPv6PacketParser
  Parse an IPv6 packet. More...
struct   IPv6PacketType
  IPv6 packet. More...
struct   LlcSnapPacketParser
  Parse a LLC/SNAP header. More...
struct   LlcSnapPacketType
  LLC/SNAP header. More...
struct   NDPOptionParser
struct   NDPGenericOptionParser
struct   NDPSourceLLAddressTLVParser
struct   NDPTargetLLAddressTLVParser
struct   NDPPrefixInformationTLVParser
struct   NDPMTUTLVParser
struct   RTPPacketParser
struct   RTPPacketType
struct   TCPPacketParser
  Parse a TCP packet. More...
struct   TCPPacketType
  TCP packet. More...
struct   UDPPacketParser
  Parse a UDP packet. More...
struct   UDPPacketType
  UDP packet. More...
class   GenericTLVParserBase
  Base class for generic TLV parsers. More...
class   GenericTLVParserRegistry
  TLV parser registration facility. More...
struct   TLVParserNotRegisteredException
struct   Int8Parser
  Parse 8bit signed byte aligned integer. More...
struct   UInt8Parser
  Parse 8bit unsigned byte aligned integer. More...
struct   Int16Parser
  Parse 16bit signed byte aligned integer. More...
struct   Int16LSBParser
  Parse 16bit signed byte aligned integer LSB. More...
struct   UInt16Parser
  Parse 16bit unsigned byte aligned integer. More...
struct   UInt16LSBParser
  Parse 16bit unsigned byte aligned integer LSB. More...
struct   Int24Parser
  Parse 24bit signed byte aligned integer. More...
struct   UInt24Parser
  Parse 24bit unsigned byte aligned integer. More...
struct   Int32Parser
  Parse 32bit signed byte aligned integer. More...
struct   UInt32Parser
  Parse 32bit unsigned byte aligned integer. More...
struct   UInt32LSBParser
struct   Int64Parser
  Parse 64bit signed byte aligned integer. More...
struct   UInt64Parser
  Parse 64bit unsigned byte aligned integer. More...
struct   UInt64LSBParser
  Parse 64bit unsigned byte aligned integer LSB. More...
struct   IntFieldParser
  Parse signed bitfield with up to 32bit's. More...
struct   UIntFieldParser
  Parse unsigned bitfield with up to 32bit's. More...
struct   FlagParser
  Parse single-bit flag. More...
struct   ExampleListPolicy
  Example of a list policy. ONLY FOR EXPOSITION. More...
class   ListParser
  Arbitrary sequential element collection. More...
class   ListParser_Container
  ListParser container wrapper. More...
struct   DTCPIPv4AddressListParser
struct   DTCPIPv6AddressListParser
struct   DTCPHelloPacketParser
  Parse a DTCP HELLO packet. More...
struct   DTCPHelloPacketType
  DTCP HELLO packet. More...
struct   GREChecksumParser
  Parse a GRE packet. More...
struct   GREPacketParser
struct   GREPacketType
  GRE packet. More...
struct   MPERealTimeParametersParser
class   MPESectionParser
  Parse a MPE Section. More...
struct   MPESectionType
  MPE Section. More...
struct   SNDUPacketParser
  parse ULE SNDU Packet More...
struct   ULEExtHeaderTypes
struct   SNDUPacketType
  ULE SNDU Packet. More...
struct   TransportPacketParser
  Parse a Transport Stream packet. More...
struct   TransportPacketType
  Transport Stream packet. More...
class   Packet
  Main Packet class. More...
class   ConcretePacket
  Protocol specific packet handle. More...
class   PacketData
  Packet data STL-sequence view. More...
struct   TruncatedPacketException
  Invalid packet data access. More...
struct   ComplexAnnotation
  Marker base-class for complex annotations. More...
class   PacketInterpreterBase
  Internal: Base packet interpreter class. More...
class   PacketInterpreter
  Internal: Concrete packet interpreter. More...
struct   InvalidPacketChainException
  Invalid packet chain operation. More...
class   PacketParserBase
  Parser Base class. More...
struct   init_bytes
  Return number of bytes to allocate to new object of given type. More...
struct   is_fixed
  Test, whether a parser is a fixed-size parser. More...
struct   VoidPacketParser
  Default parser parsing nothing. More...
struct   ValueParserBase
class   PacketRegistry
  Packet registration facility More...
struct   PacketTypeNotRegisteredException
  Entry not found in registry. More...
struct   PacketTypeBase
  Helper base-class implementing the PacketType interface. More...
class   PacketTypeMixin
  Mixin to provide standard implementations for nextPacketRange and nextPacketType. More...
class   safe_data_iterator
  Re-validating data iterator. More...
class   SafePacketParserWrapper
  Iterator re-validating Parser wrapper. More...
class   StringParser
class   VariantParser
  Variant parser. More...
struct   VectorParser
  Collection of fixed-size elements. More...
class   VectorParser_Container
  VectorParser container wrapper. More...

Typedefs

typedef GenericTLVParserBase
< WLANInfoElementParser
WLANGenericInfoElementParser
typedef ConcretePacket
< RadiotapPacketType
RadiotapPacket
typedef ConcretePacket
< WLANBeaconPacketType
WLANBeaconPacket
  WLAN Beacon frame packet typedef.
typedef
WLANPacket_MgtFrameType::packet 
WLANPacket_MgtFrame
  WLAN Management frame packet typedef.
typedef
WLANPacket_CtrlFrameType::packet 
WLANPacket_CtrlFrame
  WLAN Control frame packet typedef.
typedef
WLANPacket_DataFrameType::packet 
WLANPacket_DataFrame
  WLAN Data frame packet typedef.
typedef ConcretePacket
< MIHPacketType
MIHPacket
  MIH packet typedef.
typedef ConcretePacket
< MIHGenericPayloadPacketType
MIHGenericPayloadPacket
  MIH Payload packet typedef.
typedef ConcretePacket
< DataPacketType
DataPacket
  Generic payload-only packet typedef.
typedef ConcretePacket
< EthernetPacketType
EthernetPacket
  Ethernet packet typedef.
typedef ConcretePacket
< EthVLanPacketType
EthVLanPacket
  Ethernet VLAN tag typedef.
typedef ConcretePacket
< ICMPv6PacketType
ICMPv6Packet
  ICMPv6 packet typedef.
typedef ConcretePacket
< ICMPv6EchoRequestType
ICMPv6EchoRequest
typedef ConcretePacket
< ICMPv6EchoReplyType
ICMPv6EchoReply
typedef ConcretePacket
< ICMPv6ErrDestUnreachableType
ICMPv6ErrDestUnreachable
typedef ConcretePacket
< ICMPv6ErrTooBigType
ICMPv6ErrTooBig
typedef ConcretePacket
< ICMPv6ErrTimeExceededType
ICMPv6ErrTimeExceeded
typedef ConcretePacket
< ICMPv6ErrParamProblemType
ICMPv6ErrParamProblem
typedef ConcretePacket
< MLDv2ListenerQueryType
MLDv2ListenerQuery
typedef ConcretePacket
< MLDv2ListenerReportType
MLDv2ListenerReport
typedef ConcretePacket
< NDPRouterSolicitationMessageType
NDPRouterSolicitationMessage
typedef ConcretePacket
< NDPRouterAdvertisementMessageType
NDPRouterAdvertisementMessage
typedef ConcretePacket
< NDPNeighborSolicitationMessageType
NDPNeighborSolicitationMessage
typedef ConcretePacket
< NDPNeighborAdvertisementMessageType
NDPNeighborAdvertisementMessage
typedef ConcretePacket
< NDPRedirectMessageType
NDPRedirectMessage
typedef ConcretePacket
< IPv4PacketType
IPv4Packet
  IPv4 packet typedef.
typedef ConcretePacket
< IPv6FragmentPacketType
IPv6FragmentPacket
  IPv6 fragment extension packet typedef.
typedef ConcretePacket
< IPv6RoutingPacketType
IPv6RoutingPacket
  IPv6 routing extension packet typedef.
typedef ConcretePacket
< IPv6HopByHopOptionsPacketType
IPv6HopByHopOptionsPacket
  IPv6 routing Hop-By-Hop packet typedef.
typedef ConcretePacket
< IPv6DestinationOptionsPacketType
IPv6DestinationOptionsPacket
  IPv6 routing Destination Options packet typedef.
typedef GenericTLVParserBase
< IPv6OptionParser
IPv6GenericOptionParser
typedef ConcretePacket
< IPv6PacketType
IPv6Packet
  IPv6 packet typedef.
typedef ConcretePacket
< LlcSnapPacketType
LlcSnapPacket
  LLC/SNAP packet typedef.
typedef RTPPacketType::packet  RTPPacket
typedef ConcretePacket
< TCPPacketType
TCPPacket
  TCP packet typedef.
typedef ConcretePacket
< UDPPacketType
UDPPacket
  UDP packet typedef.
typedef DTCPHelloPacketType::packet  DTCPHelloPacket
  DTCP packet typedef.
typedef GREPacketType::packet  GREPacket
  GRE packet typedef.
typedef ConcretePacket
< MPESectionType
MPESection
  MPESection packet typedef.
typedef SNDUPacketType::packet  SNDUPacket
typedef boost::crc_optimal< 32, 0x04C11DB7, 0xFFFFFFFF, 0, false, false >  ule_crc32
typedef ConcretePacket
< TransportPacketType
TransportPacket
  Transport packet typedef.

Functions

std::string  fieldName (std::string const &s)
template<class PacketType , class Parser >
Parser  operator<< (Parser target, ConcretePacket< PacketType > const &packet)
  Generic parser copying.
void  dumpPacketAnnotationRegistry (std::ostream &os)
  Dump annotation registry debug information.
void  intrusive_ptr_add_ref (PacketInterpreterBase const *p)
void  intrusive_ptr_release (PacketInterpreterBase const *p)
template<class Parser >
PacketParserBase::size_type  bytes (Parser p)
  Return raw size parsed by the given parser object.
template<class Parser >
Parser  operator<< (Parser target, Parser source)
  Generic parser copying.
template<class Parser , class Value >
Parser  operator<< (Parser target, Value const &value)
  Generic parser value assignment.
template<class Parser , class Value >
Parser  operator<< (Parser target, boost::optional< Value > const &value)
  Generic parser value assignment.
void  dumpPacketRegistries (std::ostream &os)
  Dump all packet registries.
template<class LengthParser >
std::ostream &  operator<< (std::ostream &os, StringParser< LengthParser > const &value)

Typedef Documentation

typedef ConcretePacket<DataPacketType> senf::
DataPacket

Generic payload-only packet typedef.

Definition at line 56 of file DataPacket.hh.

typedef DTCPHelloPacketType::packet senf::
DTCPHelloPacket

DTCP packet typedef.

Definition at line 150 of file DTCPPacket.hh.

typedef GREPacketType::packet senf::
GREPacket

GRE packet typedef.

Definition at line 109 of file GREPacket.hh.

typedef ConcretePacket<ICMPv6EchoReplyType> senf::
ICMPv6EchoReply

Definition at line 114 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<ICMPv6EchoRequestType> senf::
ICMPv6EchoRequest

Definition at line 74 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<ICMPv6ErrDestUnreachableType> senf::
ICMPv6ErrDestUnreachable

Definition at line 168 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<ICMPv6ErrParamProblemType> senf::
ICMPv6ErrParamProblem

Definition at line 299 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<ICMPv6ErrTimeExceededType> senf::
ICMPv6ErrTimeExceeded

Definition at line 255 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<ICMPv6ErrTooBigType> senf::
ICMPv6ErrTooBig

Definition at line 213 of file ICMPv6TypePacket.hh.

typedef GenericTLVParserBase<IPv6OptionParser> senf::
IPv6GenericOptionParser

Definition at line 63 of file IPv6ExtOptions.hh.

typedef ConcretePacket<MLDv2ListenerQueryType> senf::
MLDv2ListenerQuery

Definition at line 361 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<MLDv2ListenerReportType> senf::
MLDv2ListenerReport

Definition at line 422 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<NDPNeighborAdvertisementMessageType> senf::
NDPNeighborAdvertisementMessage

Definition at line 601 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<NDPNeighborSolicitationMessageType> senf::
NDPNeighborSolicitationMessage

Definition at line 555 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<NDPRedirectMessageType> senf::
NDPRedirectMessage

Definition at line 646 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<NDPRouterAdvertisementMessageType> senf::
NDPRouterAdvertisementMessage

Definition at line 512 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<NDPRouterSolicitationMessageType> senf::
NDPRouterSolicitationMessage

Definition at line 464 of file ICMPv6TypePacket.hh.

typedef ConcretePacket<RadiotapPacketType> senf::
RadiotapPacket

Definition at line 328 of file RadiotapPacket.hh.

typedef RTPPacketType::packet senf::
RTPPacket

Definition at line 69 of file RTPPacket.hh.

typedef SNDUPacketType::packet senf::
SNDUPacket

Definition at line 121 of file SNDUPacket.hh.

typedef ConcretePacket<TransportPacketType> senf::
TransportPacket

Transport packet typedef.

Definition at line 137 of file TransportPacket.hh.

typedef boost::crc_optimal<32, 0x04C11DB7, 0xFFFFFFFF, 0, false, false> senf::
ule_crc32

Definition at line 123 of file SNDUPacket.hh.

typedef GenericTLVParserBase<WLANInfoElementParser> senf::
WLANGenericInfoElementParser

Definition at line 48 of file InformationElements.hh.


Function Documentation

void senf::
dumpPacketAnnotationRegistry ( std::ostream &  os )

Dump annotation registry debug information.

This function will dump debug information about all registered annotations to os. This information may then be used to tune the following annotation parameters for optimal performance:

  • SENF_PACKET_ANNOTATION_SLOTS (define, default 8) is the number of slots available for fast annotations
  • SENF_PACKET_ANNOTATION_SLOTSIZE (define, default 16) is the maximum size of a fast annotation in bytes
The output includes the current parameter and has the following columns:
  • NAME: Annotation type name
  • FAST: This is 'yes', if the annotation was allocated to a fast slot. Otherwise the annotation is managed as a slow/complex annotation
  • COMPLEX: This is 'yes', if the annotation inherits from ComplexAnnotation
  • SIZE: Size of the annotation in bytes
Fast annotations are considerable faster than complex and slow annotations. However, only annotations which do not need constructor or destructor calls and which may be zero-initialized (on the memory level) are legible as fast annotations.

It is thus desirable to eliminate any complex and slow annotations, if possible. To optimize the annotation system, you may take the following steps:

  • If there are reasonably sized non-complex annotations which are larger than the current SENF_PACKET_ANNOTATION_SLOTSIZE value, increase this value accordingly
  • If there are more non-complex annotations with a size less than SENF_PACKET_ANNOTATION_SLOTSIZE than there are available slots, increase SENF_PACKET_ANNOTATION_SLOTS accordingly
  • If all fast annotations are smaller than SENF_PACKET_ANNOTATION_SLOTSIZE, you may decrease that value accordingly
  • If there are fewer than SENF_PACKET_ANNOTATION_SLOTS fast annotations, you may decrease that value accordingly
See also:
Annotations

Definition at line 215 of file PacketImpl.cc.

void senf::
dumpPacketRegistries ( std::ostream &  os )

Dump all packet registries.

This command will dump all packet registries to the given stream. This is to help debugging registration problems.

Definition at line 33 of file PacketRegistry.cci.

std::string senf::
fieldName ( std::string const &  s )

Definition at line 41 of file DumpFormat.cc.

void senf::
intrusive_ptr_add_ref ( PacketInterpreterBase const *  p )

Definition at line 175 of file PacketInterpreter.cci.

void senf::
intrusive_ptr_release ( PacketInterpreterBase const *  p )

Definition at line 183 of file PacketInterpreter.cci.

template<class LengthParser >
std::ostream & senf::
operator<< ( std::ostream &  os,
StringParser< LengthParser > const &  value )

Definition at line 76 of file StringParser.cti.