| version 1.21, 1997/03/18 03:47:42 |
version 1.22, 1997/05/02 01:01:43 |
|
|
| #define AF_MAX 30 |
#define AF_MAX 30 |
| |
|
| /* |
/* |
| * Structure used by kernel to store most |
* Structure used by kernel to store most addresses. |
| * addresses. |
* Force this to have the host's natural alignment. |
| */ |
*/ |
| struct sockaddr { |
struct sockaddr { |
| u_char sa_len; /* total length */ |
u_char sa_len; /* total length */ |
| u_char sa_family; /* address family */ |
u_char sa_family; /* address family */ |
| char sa_data[14]; /* actually longer; address value */ |
char sa_data[14]; /* actually longer; address value */ |
| }; |
} __attribute__((aligned(sizeof(long)))); |
| |
|
| /* |
/* |
| * Structure used by kernel to pass protocol |
* Structure used by kernel to pass protocol |