Paul,
This is where I'm picking up the garbage data:
ftnet.loc_addr.sin_addr.s_addr = ftnet.msgip.ip.s_addr
The kernel is GENERIC plus IPFW. Nothing terribly oddball. I'm wondering
if this is a variable type issue somewhere. Running a 32bit build on
amd64 and the same box doesn't
Paul,
Upon further investigation, it appears as if there is an alignment issue in
'struct msgip' inside of 'struct ftnet'. I've looked at some other code, and
there appear to be a handful of useful CMSG_* macros to help deal with this.
RFC 2292 details them.
The attached patch works