| version 1.84, 2007/03/04 06:03:41 |
version 1.84.2.2, 2007/06/09 23:58:17 |
|
|
| #define MSG_MCAST 0x0200 /* this message was rcvd using link-level mcast */ |
#define MSG_MCAST 0x0200 /* this message was rcvd using link-level mcast */ |
| #define MSG_NOSIGNAL 0x0400 /* do not generate SIGPIPE on EOF */ |
#define MSG_NOSIGNAL 0x0400 /* do not generate SIGPIPE on EOF */ |
| |
|
| |
/* Extra flags used internally only */ |
| |
#define MSG_USERFLAGS 0x0ffffff |
| |
#define MSG_NAMEMBUF 0x1000000 /* msg_name is an mbuf */ |
| |
#define MSG_CONTROLMBUF 0x2000000 /* msg_control is an mbuf */ |
| |
#define MSG_IOVUSRSPACE 0x4000000 /* msg_iov is in user space */ |
| |
|
| /* |
/* |
| * Header for ancillary data objects in msg_control buffer. |
* Header for ancillary data objects in msg_control buffer. |
| * Used for additional information with/about a datagram |
* Used for additional information with/about a datagram |
|
|
| int __cmsg_alignbytes(void); |
int __cmsg_alignbytes(void); |
| __END_DECLS |
__END_DECLS |
| |
|
| |
#ifdef _KERNEL |
| |
__BEGIN_DECLS |
| |
struct sockaddr *sockaddr_copy(struct sockaddr *, const struct sockaddr *); |
| |
struct sockaddr *sockaddr_alloc(sa_family_t, int); |
| |
int sockaddr_cmp(const struct sockaddr *, const struct sockaddr *); |
| |
struct sockaddr *sockaddr_dup(const struct sockaddr *, int); |
| |
void sockaddr_free(struct sockaddr *); |
| |
__END_DECLS |
| |
#endif /* _KERNEL */ |
| |
|
| #ifndef _KERNEL |
#ifndef _KERNEL |
| |
|
| __BEGIN_DECLS |
__BEGIN_DECLS |