X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fnetflow.h;h=e1a2443b732f539819156f239d67a02ba4a8896a;hb=13751fd88c4b7464f9453c03659201c10b3b87a0;hp=e2366f69f31066192878cc5d6e0cc8d2e0511b18;hpb=9b658910ab3c709f05f8d986f13aeae9bc53b233;p=sliver-openvswitch.git diff --git a/ofproto/netflow.h b/ofproto/netflow.h index e2366f69f..e1a2443b7 100644 --- a/ofproto/netflow.h +++ b/ofproto/netflow.h @@ -50,7 +50,7 @@ struct netflow_flow { uint64_t byte_count_off; /* Byte count at last time out. */ ofp_port_t output_iface; /* Output interface index. */ - uint8_t tcp_flags; /* Bitwise-OR of all TCP flags seen. */ + uint16_t tcp_flags; /* Bitwise-OR of all TCP flags seen. */ }; struct netflow *netflow_create(void); @@ -68,7 +68,7 @@ void netflow_flow_init(struct netflow_flow *); void netflow_flow_clear(struct netflow_flow *); void netflow_flow_update_time(struct netflow *, struct netflow_flow *, long long int used); -void netflow_flow_update_flags(struct netflow_flow *, uint8_t tcp_flags); +void netflow_flow_update_flags(struct netflow_flow *, uint16_t tcp_flags); bool netflow_active_timeout_expired(struct netflow *, struct netflow_flow *); #endif /* netflow.h */