Worked fine! Thanks. Another question. In *miniflow_extract* function (lib/flow.c), the OVS uses different packets.h structs (lib/packets.h) depending on the traffic. For instance, if the traffic is SCTP, the *sctp_header *struct will be used (around Line 917 of flow.c file)*. *Now, here is my problem. I'm not finding where the *sctp_header *struct fields (such as: *sctp_src* and *sctp_dst*) are being written. I thought these fields were being filled out on *packet_set_sctp_port* (packets.c) or *flow_compose_l4 *(flow.c) functions. However, after debugging the code, the *packet_set_sctp_port* function is not being called at all and the *sctp_header* struct of *flow_compose_l4 *is not being accessed. Please, where is the function responsible to fill out the *sctp_header* fields?
PS: I turned off the kernel datapath and am using only the userspace path. Moreover, the SCTP traffic is being sent between the end hosts perfectly, no problem at all. Thanks in advance, 2018-05-21 14:07 GMT-04:00 Ashish Varma <[email protected]>: > Try debugging from functions: > > ofputil_pull_ofp11_match --> > oxm_pull_match > > "ofputil_match_from_ofp11_match" is called for "OFPMT_STANDARD" case > which is deprecated in the openflow 1.4 standard. > > Thanks, > Ashish > > On Mon, May 21, 2018 at 10:32 AM, Pedro Henrique < > [email protected]> wrote: > >> Dear members, >> >> I'm looking for the OVS's function(s) responsible for processing the >> match fields from the OpenFlow FlowMod message, which is sent by the the >> SDN controller. I thought it was this function from lib/ofp-util.c: >> "ofputil_match_to_ofp11_match(const struct match *match, struct >> ofp11_match *ofmatch)". However, this function is not being called, >> according to some debug code I inserted on it. >> >> P.S.: I'm using OVS 2.9.0 and OpenFlow 1.4. >> >> Thank you, >> >> -- >> Pedro Henrique Amorim Rezende >> >> _______________________________________________ >> discuss mailing list >> [email protected] >> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss >> >> > -- Pedro Henrique Amorim Rezende
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
