X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=blobdiff_plain;f=ofproto%2Fofproto-provider.h;h=2c6e4839f2da4869a2b294d95fb8ef3aef80d7db;hp=180ed486bf85bafae3d5daddd1f82da66ce1b413;hb=6c6eedc5d6730835a0d9724e2e8cfe9cdf03b07d;hpb=1478295a219f24c2296eb887954afac537c3665f diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index 180ed486b..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