netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ipfix_protocol.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  ipfix_msg_hdr
 
struct  ipfix_templ_rec_hdr
 
struct  ipfix_ietf_field
 
struct  ipfix_vendor_field
 

Macros

#define IPFIX_VENDOR_IETF   0x00000000
 
#define IPFIX_VENDOR_NETFILTER   21373 /* FIXME: htonl? */
 

Enumerations

enum  {
  IPFIX_octetDeltaCount = 1,
  IPFIX_packetDeltaCount = 2,
  IPFIX_protocolIdentifier = 4,
  IPFIX_classOfServiceIPv4 = 5,
  IPFIX_tcpControlBits = 6,
  IPFIX_sourceTransportPort = 7,
  IPFIX_sourceIPv4Address = 8,
  IPFIX_sourceIPv4Mask = 9,
  IPFIX_ingressInterface = 10,
  IPFIX_destinationTransportPort = 11,
  IPFIX_destinationIPv4Address = 12,
  IPFIX_destinationIPv4Mask = 13,
  IPFIX_egressInterface = 14,
  IPFIX_ipNextHopIPv4Address = 15,
  IPFIX_bgpSourceAsNumber = 16,
  IPFIX_bgpDestinationAsNumber = 17,
  IPFIX_bgpNextHopIPv4Address = 18,
  IPFIX_postMCastPacketDeltaCount = 19,
  IPFIX_postMCastOctetDeltaCount = 20,
  IPFIX_flowEndSysUpTime = 21,
  IPFIX_flowStartSysUpTime = 22,
  IPFIX_postOctetDeltaCount = 23,
  IPFIX_postPacketDeltaCount = 24,
  IPFIX_minimumPacketLength = 25,
  IPFIX_maximumPacketLength = 26,
  IPFIX_sourceIPv6Address = 27,
  IPFIX_destinationIPv6Address = 28,
  IPFIX_sourceIPv6Mask = 29,
  IPFIX_destinationIPv6Mask = 30,
  IPFIX_flowLabelIPv6 = 31,
  IPFIX_icmpTypeCodeIPv4 = 32,
  IPFIX_igmpType = 33,
  IPFIX_flowActiveTimeOut = 36,
  IPFIX_flowInactiveTimeout = 37,
  IPFIX_exportedOctetTotalCount = 40,
  IPFIX_exportedMessageTotalCount = 41,
  IPFIX_exportedFlowTotalCount = 42,
  IPFIX_sourceIPv4Prefix = 44,
  IPFIX_destinationIPv4Prefix = 45,
  IPFIX_mplsTopLabelType = 46,
  IPFIX_mplsTopLabelIPv4Address = 47,
  IPFIX_minimumTtl = 52,
  IPFIX_maximumTtl = 53,
  IPFIX_identificationIPv4 = 54,
  IPFIX_postClassOfServiceIPv4 = 55,
  IPFIX_sourceMacAddress = 56,
  IPFIX_postDestinationMacAddr = 57,
  IPFIX_vlanId = 58,
  IPFIX_postVlanId = 59,
  IPFIX_ipVersion = 60,
  IPFIX_ipNextHopIPv6Address = 62,
  IPFIX_bgpNexthopIPv6Address = 63,
  IPFIX_ipv6ExtensionHeaders = 64,
  IPFIX_mplsTopLabelStackEntry = 70,
  IPFIX_mplsLabelStackEntry2 = 71,
  IPFIX_mplsLabelStackEntry3 = 72,
  IPFIX_mplsLabelStackEntry4 = 73,
  IPFIX_mplsLabelStackEntry5 = 74,
  IPFIX_mplsLabelStackEntry6 = 75,
  IPFIX_mplsLabelStackEntry7 = 76,
  IPFIX_mplsLabelStackEntry8 = 77,
  IPFIX_mplsLabelStackEntry9 = 78,
  IPFIX_mplsLabelStackEntry10 = 79,
  IPFIX_destinationMacAddress = 80,
  IPFIX_postSourceMacAddress = 81,
  IPFIX_octetTotalCount = 85,
  IPFIX_packetTotalCount = 86,
  IPFIX_fragmentOffsetIPv4 = 88,
  IPFIX_bgpNextAdjacentAsNumber = 128,
  IPFIX_bgpPrevAdjacentAsNumber = 129,
  IPFIX_exporterIPv4Address = 130,
  IPFIX_exporterIPv6Address = 131,
  IPFIX_droppedOctetDeltaCount = 132,
  IPFIX_droppedPacketDeltaCount = 133,
  IPFIX_droppedOctetTotalCount = 134,
  IPFIX_droppedPacketTotalCount = 135,
  IPFIX_flowEndReason = 136,
  IPFIX_classOfServiceIPv6 = 137,
  IPFIX_postClassOFServiceIPv6 = 138,
  IPFIX_icmpTypeCodeIPv6 = 139,
  IPFIX_mplsTopLabelIPv6Address = 140,
  IPFIX_lineCardId = 141,
  IPFIX_portId = 142,
  IPFIX_meteringProcessId = 143,
  IPFIX_exportingProcessId = 144,
  IPFIX_templateId = 145,
  IPFIX_wlanChannelId = 146,
  IPFIX_wlanSsid = 147,
  IPFIX_flowId = 148,
  IPFIX_sourceId = 149,
  IPFIX_flowStartSeconds = 150,
  IPFIX_flowEndSeconds = 151,
  IPFIX_flowStartMilliSeconds = 152,
  IPFIX_flowEndMilliSeconds = 153,
  IPFIX_flowStartMicroSeconds = 154,
  IPFIX_flowEndMicroSeconds = 155,
  IPFIX_flowStartNanoSeconds = 156,
  IPFIX_flowEndNanoSeconds = 157,
  IPFIX_flowStartDeltaMicroSeconds = 158,
  IPFIX_flowEndDeltaMicroSeconds = 159,
  IPFIX_systemInitTimeMilliSeconds = 160,
  IPFIX_flowDurationMilliSeconds = 161,
  IPFIX_flowDurationMicroSeconds = 162,
  IPFIX_observedFlowTotalCount = 163,
  IPFIX_ignoredPacketTotalCount = 164,
  IPFIX_ignoredOctetTotalCount = 165,
  IPFIX_notSentFlowTotalCount = 166,
  IPFIX_notSentPacketTotalCount = 167,
  IPFIX_notSentOctetTotalCount = 168,
  IPFIX_destinationIPv6Prefix = 169,
  IPFIX_sourceIPv6Prefix = 170,
  IPFIX_postOctetTotalCount = 171,
  IPFIX_postPacketTotalCount = 172,
  IPFIX_flowKeyIndicator = 173,
  IPFIX_postMCastPacketTotalCount = 174,
  IPFIX_postMCastOctetTotalCount = 175,
  IPFIX_icmpTypeIPv4 = 176,
  IPFIX_icmpCodeIPv4 = 177,
  IPFIX_icmpTypeIPv6 = 178,
  IPFIX_icmpCodeIPv6 = 179,
  IPFIX_udpSourcePort = 180,
  IPFIX_udpDestinationPort = 181,
  IPFIX_tcpSourcePort = 182,
  IPFIX_tcpDestinationPort = 183,
  IPFIX_tcpSequenceNumber = 184,
  IPFIX_tcpAcknowledgementNumber = 185,
  IPFIX_tcpWindowSize = 186,
  IPFIX_tcpUrgentPointer = 187,
  IPFIX_tcpHeaderLength = 188,
  IPFIX_ipHeaderLength = 189,
  IPFIX_totalLengthIPv4 = 190,
  IPFIX_payloadLengthIPv6 = 191,
  IPFIX_ipTimeToLive = 192,
  IPFIX_nextHeaderIPv6 = 193,
  IPFIX_ipClassOfService = 194,
  IPFIX_ipDiffServCodePoint = 195,
  IPFIX_ipPrecedence = 196,
  IPFIX_fragmentFlagsIPv4 = 197,
  IPFIX_octetDeltaSumOfSquares = 198,
  IPFIX_octetTotalSumOfSquares = 199,
  IPFIX_mplsTopLabelTtl = 200,
  IPFIX_mplsLabelStackLength = 201,
  IPFIX_mplsLabelStackDepth = 202,
  IPFIX_mplsTopLabelExp = 203,
  IPFIX_ipPayloadLength = 204,
  IPFIX_udpMessageLength = 205,
  IPFIX_isMulticast = 206,
  IPFIX_internetHeaderLengthIPv4 = 207,
  IPFIX_ipv4Options = 208,
  IPFIX_tcpOptions = 209,
  IPFIX_paddingOctets = 210,
  IPFIX_headerLengthIPv4 = 213,
  IPFIX_mplsPayloadLength = 214
}
 
enum  {
  IPFIX_NF_rawpacket = 1,
  IPFIX_NF_rawpacket_length = 2,
  IPFIX_NF_prefix = 3,
  IPFIX_NF_mark = 4,
  IPFIX_NF_hook = 5,
  IPFIX_NF_conntrack_id = 6,
  IPFIX_NF_seq_local = 7,
  IPFIX_NF_seq_global = 8
}
 

Macro Definition Documentation

#define IPFIX_VENDOR_IETF   0x00000000
#define IPFIX_VENDOR_NETFILTER   21373 /* FIXME: htonl? */

Enumeration Type Documentation

anonymous enum
Enumerator
IPFIX_octetDeltaCount 
IPFIX_packetDeltaCount 
IPFIX_protocolIdentifier 
IPFIX_classOfServiceIPv4 
IPFIX_tcpControlBits 
IPFIX_sourceTransportPort 
IPFIX_sourceIPv4Address 
IPFIX_sourceIPv4Mask 
IPFIX_ingressInterface 
IPFIX_destinationTransportPort 
IPFIX_destinationIPv4Address 
IPFIX_destinationIPv4Mask 
IPFIX_egressInterface 
IPFIX_ipNextHopIPv4Address 
IPFIX_bgpSourceAsNumber 
IPFIX_bgpDestinationAsNumber 
IPFIX_bgpNextHopIPv4Address 
IPFIX_postMCastPacketDeltaCount 
IPFIX_postMCastOctetDeltaCount 
IPFIX_flowEndSysUpTime 
IPFIX_flowStartSysUpTime 
IPFIX_postOctetDeltaCount 
IPFIX_postPacketDeltaCount 
IPFIX_minimumPacketLength 
IPFIX_maximumPacketLength 
IPFIX_sourceIPv6Address 
IPFIX_destinationIPv6Address 
IPFIX_sourceIPv6Mask 
IPFIX_destinationIPv6Mask 
IPFIX_flowLabelIPv6 
IPFIX_icmpTypeCodeIPv4 
IPFIX_igmpType 
IPFIX_flowActiveTimeOut 
IPFIX_flowInactiveTimeout 
IPFIX_exportedOctetTotalCount 
IPFIX_exportedMessageTotalCount 
IPFIX_exportedFlowTotalCount 
IPFIX_sourceIPv4Prefix 
IPFIX_destinationIPv4Prefix 
IPFIX_mplsTopLabelType 
IPFIX_mplsTopLabelIPv4Address 
IPFIX_minimumTtl 
IPFIX_maximumTtl 
IPFIX_identificationIPv4 
IPFIX_postClassOfServiceIPv4 
IPFIX_sourceMacAddress 
IPFIX_postDestinationMacAddr 
IPFIX_vlanId 
IPFIX_postVlanId 
IPFIX_ipVersion 
IPFIX_ipNextHopIPv6Address 
IPFIX_bgpNexthopIPv6Address 
IPFIX_ipv6ExtensionHeaders 
IPFIX_mplsTopLabelStackEntry 
IPFIX_mplsLabelStackEntry2 
IPFIX_mplsLabelStackEntry3 
IPFIX_mplsLabelStackEntry4 
IPFIX_mplsLabelStackEntry5 
IPFIX_mplsLabelStackEntry6 
IPFIX_mplsLabelStackEntry7 
IPFIX_mplsLabelStackEntry8 
IPFIX_mplsLabelStackEntry9 
IPFIX_mplsLabelStackEntry10 
IPFIX_destinationMacAddress 
IPFIX_postSourceMacAddress 
IPFIX_octetTotalCount 
IPFIX_packetTotalCount 
IPFIX_fragmentOffsetIPv4 
IPFIX_bgpNextAdjacentAsNumber 
IPFIX_bgpPrevAdjacentAsNumber 
IPFIX_exporterIPv4Address 
IPFIX_exporterIPv6Address 
IPFIX_droppedOctetDeltaCount 
IPFIX_droppedPacketDeltaCount 
IPFIX_droppedOctetTotalCount 
IPFIX_droppedPacketTotalCount 
IPFIX_flowEndReason 
IPFIX_classOfServiceIPv6 
IPFIX_postClassOFServiceIPv6 
IPFIX_icmpTypeCodeIPv6 
IPFIX_mplsTopLabelIPv6Address 
IPFIX_lineCardId 
IPFIX_portId 
IPFIX_meteringProcessId 
IPFIX_exportingProcessId 
IPFIX_templateId 
IPFIX_wlanChannelId 
IPFIX_wlanSsid 
IPFIX_flowId 
IPFIX_sourceId 
IPFIX_flowStartSeconds 
IPFIX_flowEndSeconds 
IPFIX_flowStartMilliSeconds 
IPFIX_flowEndMilliSeconds 
IPFIX_flowStartMicroSeconds 
IPFIX_flowEndMicroSeconds 
IPFIX_flowStartNanoSeconds 
IPFIX_flowEndNanoSeconds 
IPFIX_flowStartDeltaMicroSeconds 
IPFIX_flowEndDeltaMicroSeconds 
IPFIX_systemInitTimeMilliSeconds 
IPFIX_flowDurationMilliSeconds 
IPFIX_flowDurationMicroSeconds 
IPFIX_observedFlowTotalCount 
IPFIX_ignoredPacketTotalCount 
IPFIX_ignoredOctetTotalCount 
IPFIX_notSentFlowTotalCount 
IPFIX_notSentPacketTotalCount 
IPFIX_notSentOctetTotalCount 
IPFIX_destinationIPv6Prefix 
IPFIX_sourceIPv6Prefix 
IPFIX_postOctetTotalCount 
IPFIX_postPacketTotalCount 
IPFIX_flowKeyIndicator 
IPFIX_postMCastPacketTotalCount 
IPFIX_postMCastOctetTotalCount 
IPFIX_icmpTypeIPv4 
IPFIX_icmpCodeIPv4 
IPFIX_icmpTypeIPv6 
IPFIX_icmpCodeIPv6 
IPFIX_udpSourcePort 
IPFIX_udpDestinationPort 
IPFIX_tcpSourcePort 
IPFIX_tcpDestinationPort 
IPFIX_tcpSequenceNumber 
IPFIX_tcpAcknowledgementNumber 
IPFIX_tcpWindowSize 
IPFIX_tcpUrgentPointer 
IPFIX_tcpHeaderLength 
IPFIX_ipHeaderLength 
IPFIX_totalLengthIPv4 
IPFIX_payloadLengthIPv6 
IPFIX_ipTimeToLive 
IPFIX_nextHeaderIPv6 
IPFIX_ipClassOfService 
IPFIX_ipDiffServCodePoint 
IPFIX_ipPrecedence 
IPFIX_fragmentFlagsIPv4 
IPFIX_octetDeltaSumOfSquares 
IPFIX_octetTotalSumOfSquares 
IPFIX_mplsTopLabelTtl 
IPFIX_mplsLabelStackLength 
IPFIX_mplsLabelStackDepth 
IPFIX_mplsTopLabelExp 
IPFIX_ipPayloadLength 
IPFIX_udpMessageLength 
IPFIX_isMulticast 
IPFIX_internetHeaderLengthIPv4 
IPFIX_ipv4Options 
IPFIX_tcpOptions 
IPFIX_paddingOctets 
IPFIX_headerLengthIPv4 
IPFIX_mplsPayloadLength 
anonymous enum
Enumerator
IPFIX_NF_rawpacket 
IPFIX_NF_rawpacket_length 
IPFIX_NF_prefix 
IPFIX_NF_mark 
IPFIX_NF_hook 
IPFIX_NF_conntrack_id 
IPFIX_NF_seq_local 
IPFIX_NF_seq_global