I'm only getting the in_port field back. I also would like to get the
eth_src/dst/type fields but they don't seem to exist.
I am sending an arp packet, looping through the packet everything is there,
it's just that I'd like to read the header fields instead of looping like this:
for p in pkt:
t = type(p)
if t != array.array:
#print p.protocol_name
if p.protocol_name == 'ethernet':
eth_hw_src = p.src
eth_hw_dst = p.dst
fields = msg.match.fields
print len(fields)
gives me back "1". So there is only one field set.
Thanks,
Michael
-----Original Message-----
From: FUJITA Tomonori [mailto:[email protected]]
Sent: Montag, 4. März 2013 16:22
To: Henkel, Michael
Cc: [email protected]
Subject: Re: [Ryu-devel] match fields of incoming packet
On Mon, 4 Mar 2013 12:52:02 +0000
"Henkel, Michael" <[email protected]> wrote:
> Using OF 1.2 I'm trying to match different header fields of incoming packets.
> Unfortunately on the in_port field seems to exist:
Sorry, I'm not sure what you mean. Your code looks fine. What's the problem?
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel