mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
flow: Get rid of flow_t typedef.
When userspace and the kernel were using the same structure for flows, flow_t was a useful way to indicate that a structure was really a userspace flow instead of a kernel one, but now it's better to just write "struct flow" for consistency, since OVS doesn't use typedefs for structs elsewhere. Acked-by: Jesse Gross <jesse@nicira.com>
This commit is contained in:
@@ -305,7 +305,7 @@ process_switch_features(struct lswitch *sw, struct rconn *rconn OVS_UNUSED,
|
||||
}
|
||||
|
||||
static uint16_t
|
||||
lswitch_choose_destination(struct lswitch *sw, const flow_t *flow)
|
||||
lswitch_choose_destination(struct lswitch *sw, const struct flow *flow)
|
||||
{
|
||||
uint16_t out_port;
|
||||
|
||||
@@ -372,7 +372,7 @@ process_packet_in(struct lswitch *sw, struct rconn *rconn, void *opi_)
|
||||
|
||||
size_t pkt_ofs, pkt_len;
|
||||
struct ofpbuf pkt;
|
||||
flow_t flow;
|
||||
struct flow flow;
|
||||
|
||||
/* Ignore packets sent via output to OFPP_CONTROLLER. This library never
|
||||
* uses such an action. You never know what experiments might be going on,
|
||||
|
||||
Reference in New Issue
Block a user