If you want to modify the OpenFlow reference switch, you may have better luck by contacting one of the OpenFlow mailing lists (maybe openflow-discuss ... https://mailman.stanford.edu/mailman/listinfo/openflow-discuss ?).
But I'd suggest you consider carefully if there is a way to do what you want within the OpenFlow spec or a common extension. Can you not install a flow that matches the packets you want to modify? Or maybe you can accomplish what you want using multiple tables (though support for this is a bit sketchy... it exists in OpenFlow 1.1 and Open vSwitch though the two differ somewhat)? Good luck! -- Murphy On Nov 29, 2011, at 6:48 AM, Hyogi Jung wrote: > Hi Murphy > > Thank you for reply. I understood your point. > The actual work of rewriting the packet header happens on the switch. > (I'm sorry, I omit carbon copy.) > > And I want to modify packet in switch before checking flow table. > Is it possible in openflow switch? > > Original openflow process : Receive packet -> Check flow table(Find > highest-priority matching flow entry) -> Apply instructions(Modify packet etc) > I want to do this : > Receive packet -> Modify packet in each OF switch -> Check flow table(Find > highest-priority matching flow entry) -> Apply instructions(Modify packet etc) > > So I search receiving callback in OF switch. I think it maybe relate with > hw_drv.c (openflow\hw-lib\skeleton\hw_drv.c) ? > But I don't know exactly. > > Could you give some advice or where is the packet receiving callback? > > Thank you for your favor. > > Best Regards > > - Hyogi > > 2011/11/29 Murphy McCauley <jam...@nau.edu> > This depends on exactly what you mean, though I wonder if you are operating > under a misconception. > > If you use NOX to install a flow with, for example, an OFPAT_SET_DL_DST > action to set the ethernet address... the actual work of rewriting the packet > header happens on the switch. It's only the instruction to do so that comes > from the controller. > > Hope that helps. > > -- Murphy > > On Nov 28, 2011, at 7:12 AM, Hyogi Jung wrote: > >> I want to modify the packet's header in Openflow Switch(Router) not NOX >> controller. >> >> Do you know where event handler is called? >> >> I try to search google and mailinglist, but I coundn't search. There is no >> information. >> >> Could you give some advice or reference site? >> >> >> _______________________________________________ >> nox-dev mailing list >> nox-dev@noxrepo.org >> http://noxrepo.org/mailman/listinfo/nox-dev > > > > > -- > Hyogi Jung, MS Student > Multimedia & Mobile Communications Lab > School of Computer Science and Engineering > Seoul National University, Korea > Tel: +82-2-880-9147 >
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev