X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ofproto%2Fofproto-provider.h;h=2c6e4839f2da4869a2b294d95fb8ef3aef80d7db;hb=6c6eedc5d6730835a0d9724e2e8cfe9cdf03b07d;hp=5fa03b59014b1e72a3ba46f958e1cd70fd308d70;hpb=9aad5a5a96bac423b05b5bb3afb7add2df44bba9;p=cascardo%2Fovs.git diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index 5fa03b590..2c6e4839f 100644 --- a/ofproto/ofproto-provider.h +++ b/ofproto/ofproto-provider.h @@ -256,8 +256,11 @@ struct oftable { #define EVICTION_OPENFLOW (1 << 1) /* Set to 1 if OpenFlow enables eviction. */ unsigned int eviction; - /* If true, vacancy events are enabled; otherwise they are disabled. */ - bool vacancy_enabled; + /* If zero, vacancy events are disabled. If nonzero, this is the type of + vacancy event that is enabled: either OFPTR_VACANCY_DOWN or + OFPTR_VACANCY_UP. Only one type of vacancy event can be enabled at a + time. */ + enum ofp14_table_reason vacancy_event; /* Non-zero values for vacancy_up and vacancy_down indicates that vacancy * is enabled by table-mod, else these values are set to zero when @@ -1326,6 +1329,9 @@ struct ofproto_class { const struct ofpact *ofpacts, size_t ofpacts_len); + enum ofperr (*nxt_resume)(struct ofproto *ofproto, + const struct ofputil_packet_in_private *); + /* ## ------------------------- ## */ /* ## OFPP_NORMAL configuration ## */ /* ## ------------------------- ## */