Re: [nox-dev] Sending Entire packet to NOX contoller

2011-10-17 Thread Murphy McCauley
The problem is that this isn't true anymore.  Since OpenFlow 0.9 or 1.0, you 
should set it to 0x instead of 0.  0 does exactly what it seems like it 
should -- send 0 bytes of data.

-- Murphy

On Oct 17, 2011, at 4:39 AM, ali ahmad wrote:

> Hi all,
> 
> I have a query that how we can instruct the switch to send the entire packet 
> rather i found solution to this as in
> 
> "To instruct the switch to send the entire packet to NOX, we have to make 
> some changes to src/lib/openflow.cc. The following statement 
> osc.miss_send_len = htons(OFP_DEFAULT_MISS_SEND_LEN);
> has to be changed to 
> osc.miss_send_len = htons(0);"(1)
> But when i changed the parameter in the openflow.cc file and recompiled the 
> NOX it has started dropping the packet giving the error packet to short. My 
> question is that by sending entire packet do we mean sending application 
> level data..
> 
> Regards,
> 
> Ali Ahmad
>  
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


[nox-dev] Sending Entire packet to NOX contoller

2011-10-17 Thread ali ahmad

Hi all,

I have a query that how we can instruct the switch to send the entire packet 
rather i found solution to this as in

"To instruct the switch to send the entire packet to NOX, we have to make some 
changes to src/lib/openflow.cc.  The following statement

osc.miss_send_len = htons(OFP_DEFAULT_MISS_SEND_LEN);

has to be changed to

osc.miss_send_len = htons(0);"(1)
But when i changed the parameter in the openflow.cc file and recompiled the NOX 
it has started dropping the packet giving the error packet to short. My 
question is that by sending entire packet do we mean sending application level 
data..

Regards,

Ali Ahmad
 
  ___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev