| version 1.106, 2012/01/29 18:33:07 |
version 1.107, 2012/06/22 18:26:35 |
|
|
| #if defined(_NETBSD_SOURCE) |
#if defined(_NETBSD_SOURCE) |
| #define MSG_CMSG_CLOEXEC 0x0800 /* close on exec receiving fd */ |
#define MSG_CMSG_CLOEXEC 0x0800 /* close on exec receiving fd */ |
| #define MSG_NBIO 0x1000 /* use non-blocking I/O */ |
#define MSG_NBIO 0x1000 /* use non-blocking I/O */ |
| |
#define MSG_WAITFORONE 0x2000 /* recvmmsg() wait for one message */ |
| |
|
| |
struct mmsghdr { |
| |
struct msghdr msg_hdr; |
| |
unsigned int msg_len; |
| |
}; |
| #endif |
#endif |
| |
|
| /* Extra flags used internally only */ |
/* Extra flags used internally only */ |
| Line 629 __RENAME(__socket30) |
|
| Line 635 __RENAME(__socket30) |
|
| #endif |
#endif |
| ; |
; |
| int socketpair(int, int, int, int *); |
int socketpair(int, int, int, int *); |
| |
|
| |
#if defined(_NETBSD_SOURCE) |
| |
int sendmmsg(int, struct mmsghdr *, unsigned int, unsigned int); |
| |
struct timespec; |
| |
int recvmmsg(int, struct mmsghdr *, unsigned int, unsigned int, |
| |
struct timespec *); |
| |
#endif |
| __END_DECLS |
__END_DECLS |
| #endif /* !_KERNEL */ |
#endif /* !_KERNEL */ |
| |
|