| version 1.75, 2005/03/09 19:02:22 |
version 1.76, 2005/09/24 15:52:03 |
| Line 524 struct cmsghdr { |
|
| Line 524 struct cmsghdr { |
|
| #define SHUT_WR 1 /* Disallow further sends. */ |
#define SHUT_WR 1 /* Disallow further sends. */ |
| #define SHUT_RDWR 2 /* Disallow further sends/receives. */ |
#define SHUT_RDWR 2 /* Disallow further sends/receives. */ |
| |
|
| #if defined(_NETBSD_SOURCE) |
|
| /* |
|
| * 4.3 compat sockaddr, move to compat file later |
|
| */ |
|
| struct osockaddr { |
|
| __uint16_t sa_family; /* address family */ |
|
| char sa_data[14]; /* up to 14 bytes of direct address */ |
|
| }; |
|
| |
|
| /* |
|
| * 4.3-compat message header (move to compat file later). |
|
| */ |
|
| struct omsghdr { |
|
| __caddr_t msg_name; /* optional address */ |
|
| int msg_namelen; /* size of address */ |
|
| struct iovec *msg_iov; /* scatter/gather array */ |
|
| int msg_iovlen; /* # elements in msg_iov */ |
|
| __caddr_t msg_accrights; /* access rights sent/received */ |
|
| int msg_accrightslen; |
|
| }; |
|
| #endif |
|
| |
|
| #include <sys/cdefs.h> |
#include <sys/cdefs.h> |
| |
|
| __BEGIN_DECLS |
__BEGIN_DECLS |