[ovs-dev] Query related to OF1.4 Group and Meter change notification

Ben Pfaff blp at nicira.com
Tue Jul 21 15:23:28 UTC 2015


On Tue, Jul 21, 2015 at 03:50:55PM +0530, niti Rohilla wrote:
> We are implementing Group and meter change notification messages(EXT-235).
> 
> As per the specification, the structure of Request forward message is:-
> struct ofp_requestforward_header {
>     struct ofp_header header;  /* Type OFPT_REQUESTFORWARD. */
>     struct ofp_header request; /* Request being forwarded. */
> };
> OFP_ASSERT(sizeof(struct ofp_requestforward_header) == 16);
> 
> Please clarify what will be the contents of the 'request' ofp_header.
> 'request' will contain only the "group_mod" or "meter_mod" request
> ofp_header or complete "group_mod" or "meter_mod" request i.e. this
> complete structure

It's the whole message.  The header by itself wouldn't be useful.

> Whereas if I include the header+data part of "group/meter_mod" request then
> the size of packet will become 24 bytes (requestforward ofp_header (8
> bytes) + ofp_group_mod (16 bytes)) which is against the size of
> ofp_requestforward_header mentioned in specification(16 bytes).

struct ofp_requestforward_header is still 16 bytes regardless of how
much data follows it.



More information about the dev mailing list