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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to