[Click] set_ip_header semantics

Bart Braem bart.braem at ua.ac.be
Fri Nov 7 04:23:18 EST 2008


On 04 Nov 2008, at 17:14, Eddie Kohler wrote:

> I'm interested to look at the patch.  But note that for consistency,  
> Packet::set_ip_header_anno() would probably imply that that one  
> accesses the IP header via Packet::ip_header_anno(), and so forth.   
> We currently use Packet::ip_header(), which is better....


Eddie,

Please find in attachment a patch to do this.
I do not know whether a ip_header_anno() call is needed, it does not  
matter whether it is an annotation or not to the user.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anno.patch
Type: application/octet-stream
Size: 19771 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20081107/a18946b2/attachment-0001.obj 
-------------- next part --------------

Regards,
Bart Braem
-- 
Bart Braem
PATS research group - IBBT
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.30
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.32.91
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be



More information about the click mailing list