Hi,

I know this is a while in coming, but now that I'm looking at getting 
ppp(8) to talk IPv6 (with the help of some KAME patches), I've looked 
at how TUNSLMODE is implemented... it doesn't look good to me.

What's the rationale behind stuffing the entire sockaddr in front of 
the packet ?  AFAIK the only information of any use is the address 
family.

By default, OpenBSD has a u_int32_t in front of every packet (I 
believe this is unconfigurable), and I think this is about the most 
sensible thing to do - I don't see that alignment issues will cause 
problems.

Alfred, this was originally submitted by you.  Do you have any 
argument against me changing it to just stuff the address family 
as a 4-byte network-byte-order quantity there ?

Any other opinions/arguments ?

Cheers.
-- 
Brian <[EMAIL PROTECTED]>                        <[EMAIL PROTECTED]>
      <http://www.Awfulhak.org>                   <[EMAIL PROTECTED]>
Don't _EVER_ lose your sense of humour !          <[EMAIL PROTECTED]>




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to