Sorry for "spamming" so much with my porting issues.

Now it seems that BSD (at least Free/OpenBSD) TUN devices send AF_INET
as a u_int32_t in network byte order first, which Linux tun-devs
dont.

That's why my last mail contains sending of "00000002" as the first
32 bits, it's telling the other end which AF to use.

When initiated from the Linux end, the BSD will say
"unknown address family" or something very similar, which is true
since it gets "45000054" as the first data.

Is there two types of tun or is the BSD tuns just slightly different and
incompatible by design?


-- 
Janne Johansson
jan.johans...@biomatsys.com
BioMat Systems AB
Klarabergsg 37 3tr
111 21 Stockholm

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to