-enum netflow_output_ports {
- NF_OUT_FLOOD = UINT16_MAX,
- NF_OUT_MULTI = UINT16_MAX - 1,
- NF_OUT_DROP = UINT16_MAX - 2
-};
-
-struct netflow_flow {
- long long int last_expired; /* Time this flow last timed out. */
- long long int created; /* Time flow was created since time out. */
-
- uint64_t packet_count_off; /* Packet count at last time out. */
- uint64_t byte_count_off; /* Byte count at last time out. */
-
- uint16_t output_iface; /* Output interface index. */
- uint8_t ip_tos; /* Last-seen IP type-of-service. */
- uint8_t tcp_flags; /* Bitwise-OR of all TCP flags seen. */
-};
+#define NF_OUT_FLOOD OFP_PORT_C(UINT16_MAX)
+#define NF_OUT_MULTI OFP_PORT_C(UINT16_MAX - 1)
+#define NF_OUT_DROP OFP_PORT_C(UINT16_MAX - 2)