have
mentioned in mininet?
regards,
kalapriya.
From: Murphy McCauley jam...@nau.edu
To: Kalapriya Kannan1/India/IBM@IBMIN
Cc: nox-dev@noxrepo.org
Date: 08/24/2011 07:30 AM
Subject:Re: [nox-dev] IP header rewriting in PySwitch
It's difficult to guess from here.
One
:Murphy McCauley jam...@nau.edu
To:Kalapriya Kannan1/India/IBM@IBMIN
Cc:nox-dev@noxrepo.org
Date:08/21/2011 01:04 AM
Subject:Re: [nox-dev] IP header rewriting in PySwitch
Well for one thing, the checksum in the TCP portion is going to be wrong
since you
To: Kalapriya Kannan1/India/IBM@IBMIN
Cc: nox-dev@noxrepo.org
Date: 08/21/2011 01:04 AM
Subject:Re: [nox-dev] IP header rewriting in PySwitch
Well for one thing, the checksum in the TCP portion is going to be wrong
since you changed the IP address.
So you'll need to have something similar
To:Kalapriya Kannan1/India/IBM@IBMIN
Cc:nox-dev@noxrepo.org
Date:08/21/2011 01:04 AM
Subject:Re: [nox-dev] IP header rewriting in PySwitch
Well for one thing, the checksum in the TCP portion is going to be wrong
since you changed the IP address.
So you'll
hi,
I am trying to re-write IP header in pyswitch using the following code
below
/* obtain ip header and packet for the incoming packet*.
if packet.type == ethernet.IP_TYPE:
iph = packet.find('ipv4')
/* if there is a incoming packet in port 1, rewrite the header to have
Well for one thing, the checksum in the TCP portion is going to be wrong since
you changed the IP address.
So you'll need to have something similar to the following in there before you
actually send it:
tcppkt = replypkt.find('tcp')
if tcppkt is not None: tcppkt.csum = tcppkt.checksum()
(That's