sockaddr_(in|in6) compatiblity

2004-03-09 Thread Lukasz Stelmach
Greetings All. Tell me please is it normal what i get? 1. I open socket AF_INET6/SOCK_DGRAM... OK 2. bind it to :::127.0.0.1/53...OK 3. recvfrom() data from the socket... OK 4. *from (the 5th parameter to recvfrom) gets filled in like it was a sockaddr_in (ipv4) structure which means t

if_stf bug/feature

2004-05-01 Thread Lukasz Stelmach
Greetings. stf interface has one very inconvinient for me feature. As far as i could read the source it returns ENETDOWN if the inet4 address of the machine's net interface (primary or the one would be used) does not match proper part of stf's address. This is ok if one has public, routable ip4 ad