> On Nov 6, 2013, at 5:32 PM, Anu Mercian <anumerc...@live.com> wrote: > > > > Hi Jarno, > > Thank you very much for the reply. > > 1. I want to recognize a new routing scheme over Ethertype, so keeping > dl_type as ethertype, I want to add a new field that recognizes the new > routing protocol. In this case, which files of ovs-ofctl do I have to modify? > > 2. Another way of seeing this is, as of now (as per man pages of ovs-ofctl), > nw_proto recognizes ip (0x0800), ipv6 (0x86dd), arp (0x0806) and rarp > (0x8035), what if I want to recognize another protocol (say 0x0802), do I > have to modify the ovs-ofctl.c file?
You can match on any ethertype you want. In your case you would match on "dl_type=0x0802". Matching anything within a new ethertype, however, is not possible. Jarno
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev