[ovs-discuss] packet from userspace

thasleem palara thasleemp at gmail.com
Sun Jan 5 11:04:14 UTC 2014


Justin, I'm trying OVS without kernel module, and I just want to know the
working of OVS without kernal module.
So I planned to check, which part of source is listening for packet  in
userspace. Can u please help me by pointing the
code where userspace is listening for packet.


On Sun, Jan 5, 2014 at 2:46 AM, Justin Pettit <jpettit at nicira.com> wrote:

> 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/20140105/ecb761b9/attachment.html>


More information about the discuss mailing list