| version 1.25, 1997/05/02 22:23:13 |
version 1.26, 1997/05/05 06:29:09 |
|
|
| #define AF_MAX 30 |
#define AF_MAX 30 |
| |
|
| /* |
/* |
| * Structure used by kernel to store most addresses. |
* Structure used by kernel to store most |
| * Force this to have 4-byte alignment. |
* addresses. |
| */ |
*/ |
| 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(4))); |
}; |
| |
|
| /* |
/* |
| * Structure used by kernel to pass protocol |
* Structure used by kernel to pass protocol |