[ovs-discuss] packet from userspace

Justin Pettit jpettit at nicira.com
Sat Jan 4 21:16:59 UTC 2014


Why are you trying to modify the OVS code?  You can't accomplish what you want with OpenFlow?

--Justin


> On Jan 4, 2014, at 5:31 AM, thasleem palara <thasleemp at gmail.com> wrote:
> 
> justin,
> Thanks for the sudden reply. What I'm trying is, to send a DHCP or ARP packet (which is hard-coded by me) to OVS through any method (like socket programming). But Still I'm not able to  find the code in OVS where I can change to listen for my packet.
> All I knew is ,handle_upcalls() function handles the packet form kernal space.
> Can u please help me on this. 
> 
> Thanks
> 
> 
>> On Sat, Jan 4, 2014 at 2:04 AM, Justin Pettit <jpettit at nicira.com> wrote:
>> You can use the "packet-out" message, if you've got an OpenFlow connection to the switch.  If you're just looking to script something, you can use the "packet-out" command in ovs-ofctl.
>> 
>> --Justin
>> 
>> 
>> 
>> 
>>> On Fri, Jan 3, 2014 at 11:50 AM, thasleem palara <thasleemp at gmail.com> wrote:
>>> Is it possible to send packet into OVS through Userspace , I mean through ipc socket programming. Please help...
>>> 
>>> _______________________________________________
>>> discuss mailing list
>>> discuss at openvswitch.org
>>> http://openvswitch.org/mailman/listinfo/discuss
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140104/793433f2/attachment.html>


More information about the discuss mailing list