When the switch wants to send experimenter-specific multipart message, it should send an OFPMP_EXPERIMENTER
multipart message (ofp_multipart_request
) to controller.
The message format that should be used by the switch for forming the multipart message is defined in the Introduction section of Chapter 5, Handling Multipart Statistics Messages (Part 1).
The body
field should be filled with the following structure:
/* Body for ofp_multipart_request/reply of type * OFPMP_EXPERIMENTER. */ struct ofp_experimenter_multipart_header { uint32_t experimenter; /* Experimenter ID. */ uint32_t exp_type; /* Experimenter defined. */ /* Experimenter-defined arbitrary additional data. */ };
The experimenter
field should be filled with an experimenter ID and the exp_type
field should be filled with an experimenter type.
The body
field could be filled with experimenter-defined values.