Sure. Thanks!
-Gandhimathi
On 1 April 2016 at 02:22, Iwase Yusuke wrote:
> Hi,
>
>
> On 2016年03月31日 14:08, Gandhimathi Velusamy wrote:
>
>> Hi Iwase,
>>
>> Thank you for your reply.
>> Sure I will use binary_str().
>> But why the contents from payload are seen differently for pkt[-1]( I
>>
Hi,
On 2016年03月31日 14:08, Gandhimathi Velusamy wrote:
> Hi Iwase,
>
> Thank you for your reply.
> Sure I will use binary_str().
> But why the contents from payload are seen differently for pkt[-1]( I mean
> when the packet contains payload) and for pkt.data. The pkt.data prints out
> some s
Hi Iwase,
Thank you for your reply.
Sure I will use binary_str().
But why the contents from payload are seen differently for pkt[-1]( I mean
when the packet contains payload) and for pkt.data. The pkt.data prints out
some symbols while pkt[-1] does not.
The actual text file does not have these
Hi,
pkt.data contains the raw binary data of packets,
so outputs of "print" is not human readable format.
To convert it human readable, how about using ryu.utils.binary_str()?
$ git diff
diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py
index 3e7c598..f39b374 100644
--- a/r
Hi,
I trying to get first few bytes of payload of the packet_in.
if I use *pkt[-1]* to extract the payload, I am getting " 'tcp' object is
not iterable" error.
other wise, if I use *pkt.data* , I am seeing some unknown symbols
prepended with payload.
def _packet_in_handler(self, ev):
# I