<div dir="ltr">Hello everyone,<div><br></div><div>First of all, I am new it this mailing list, and I would like to apologize if there is already a relative thread. I have searched for it, but I did not find anything similar.</div><div><br></div><div>So, to start with which is my goal. While I'm using an SDN controller (Ryu), I'm sending an Experimenter message ( specifically an ExperimenterStatsRequest message) to the open vswitch, and I would like the switch to decode it and reply with a respective (ExperimenterStatsReply) one. </div><div><br></div><div>Following the Documentation, I have already added these two new messages into <i>enum ofpraw</i> structure (ofp-msgs.h) like: </div><div>/* OFPST 1.3+ (65535): struct ofp_prop_experimenter. */<br>OFPRAW_OFPST13_EXPERIMENTER_REQUEST</div><div><br></div><div>/* OFPST 1.3+ (65535): struct ofp_prop_experimenter. */<br> OFPRAW_OFPST13_EXPERIMENTER_REPLY,<br></div><div><br></div><div><br></div><div>and into the <i>enum ofptype </i>structure (ofp-msgs.h)<i> </i></div><div><i><br></i></div><div>OFPTYPE_EXPERIMENTER_STATS_REQUEST</div><div>OFPTYPE_EXPERIMENTER_STATS_REPLY<br></div><div><br></div><div>After that, I compiled the source code and a debugging process followed, where I achieved no errors/warnings.</div><div>Actually, was needed to add the type of these messages into the below files:</div><div>ofp-bundle.c<br></div><div>ofp-print.c </div><div>rconn.c</div><div>ofproto.c</div><div><br></div><div>However, when I tested my "new" code, the result was the same as with the original code, that is, the switch cannot recognize the type of the message and returns a message like "OFPBRC_BAD_EXPERIMENTER" or "OFPBRC_BAD_SUBTYPE".<br></div><div><br></div><div>I continued the debugging and I found that the problem has to do with the hashing (HMAP_FOR_EACH_WITH_HASH) into the <i>ofpraw_from_ofphdrs() </i>function of the ofp-msgs.c file. However, I have stacked to this point and I would like to ask if there is anyone who could help or give me directions on how to continue.</div><div><br></div><div>Thanks in advance,</div><div>Apostolis</div><div><br></div></div>