sa_len and sin_len

From: Du Jinsong (jinsong@internetappliance.com)
Date: Thu Jan 06 2000 - 02:52:48 EST


Hi, I noticed an e-mail by Alan Cox regarding this issue on August, 1999

http://www.uwsg.indiana.edu/hypermail/linux/net/9908.1/0018.html

According to him Linux does not need sa_len/sin_len, thus did not
implement them.

But when porting applications from BSD to Linux, how to circumvent this
problem?
In linux: /usr/include/bits/sockaddr.h:
#define SA_LEN(_x)

But it seems that this is not usable when trying to convert something
like ifrp->ifr_addr.sa_len , and how about sin_len?

Thanks a lot!

// jinsong

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:12 EST