FD.io VPP
v16.09
Vector Packet Processing
Main Page
Related Pages
Data Structures
Source
Files
Symbols
flow_report_classify.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 Cisco and/or its affiliates.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at:
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
#ifndef __included_flow_report_classify_h__
16
#define __included_flow_report_classify_h__
17
18
/* Note: add +2 to udp (src,dst) port enum values to get TCP values */
19
#define foreach_ipfix_field \
20
_(ip->src_address.as_u32, 0xffffffff, sourceIPv4Address, 4) \
21
_(ip->dst_address.as_u32, 0xffffffff, destinationIPv4Address, 4) \
22
_(ip->protocol, 0xFF, protocolIdentifier, 1) \
23
_(udp->src_port, 0xFFFF, udpSourcePort, 2) \
24
_(udp->dst_port, 0xFFFF, udpDestinationPort, 2)
25
26
#endif
/* __included_flow_report_classify_h__ */
vnet
vnet
flow
flow_report_classify.h
Generated on Fri Nov 18 2016 06:17:47 for FD.io VPP by
1.8.11