Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 12:05:20 +1200
From:      David Preece <davep@afterswish.com>
To:        davidc@acns.ab.ca, sridharv@ufl.edu, bright@mu.org
Cc:        hackers@freebsd.org
Subject:   Raw sockets: Stevens shall provide.
Message-ID:  <01092112052007.36513@development.wgtn.csg.co.nz>

next in thread | raw e-mail | index | archive | help
Thanks for your help, as suggested the combination of IP_HDRINCL and reading 
Stevens seems to have me back on the right path. Part of the confusion was 
the Linux implementation of IP_HDRINCL appears to need the hardware addresses 
writing as well, consequently there are lots of examples of this being done 
in order to forge arp replies etc - not what I needed. Or rather, it was 
actually.

Anyway, the code is now refusing to send packets entirely, which is actually 
good because it implies a checksum is broken somewhere and that's a bug, not 
a misunderstanding about the API.

Thanks again,
Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01092112052007.36513>