X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.h;h=2828c645b3ce805ab331b567da7dddeb1dc59e65;hb=0b13821fe00d918e24c71419355a10b65081a71a;hp=8e4e2a65d315ecae409ccf85651e94f6c2c8b20a;hpb=bffc058934d43fb5a2c8629ee914a949ddf80c8e;p=openvswitch diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index 8e4e2a65..2828c645 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -149,10 +149,12 @@ struct ofhooks { bool (*normal_cb)(const struct flow *, const struct ofpbuf *packet, struct ofpbuf *odp_actions, tag_type *, uint16_t *nf_output_iface, void *aux); + bool (*special_cb)(const struct flow *flow, const struct ofpbuf *packet, + void *aux); void (*account_flow_cb)(const struct flow *, tag_type tags, const struct nlattr *odp_actions, size_t actions_len, - unsigned long long int n_bytes, void *aux); + uint64_t n_bytes, void *aux); void (*account_checkpoint_cb)(void *aux); }; void ofproto_revalidate(struct ofproto *, tag_type);