#include <atalk/cnid_bdb_private.h>Go to the source code of this file.
Macros | |
| #define | OSSH_ALIGNBYTES (sizeof(int) - 1) |
| #define | u_int unsigned int |
| #define | __CMSG_ALIGN(p) (((u_int)(p) + OSSH_ALIGNBYTES) &~ OSSH_ALIGNBYTES) |
| #define | CMSG_LEN(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) |
| #define | CMSG_SPACE(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(len)) |
Functions | |
| int | usockfd_create (char *, mode_t, int) |
| int | tsockfd_create (char *, char *, int) |
| int | usockfd_check (int, const sigset_t *) |
| #define __CMSG_ALIGN | ( | p | ) | (((u_int)(p) + OSSH_ALIGNBYTES) &~ OSSH_ALIGNBYTES) |
| #define CMSG_LEN | ( | len | ) | (__CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) |
| #define CMSG_SPACE | ( | len | ) | (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(len)) |
| #define OSSH_ALIGNBYTES (sizeof(int) - 1) |
| #define u_int unsigned int |
| int tsockfd_create | ( | char * | host, |
| char * | port, | ||
| int | backlog | ||
| ) |
create a tcp socket
| int usockfd_check | ( | int | sockfd, |
| const sigset_t * | sigset | ||
| ) |
| int usockfd_create | ( | char * | , |
| mode_t | , | ||
| int | |||
| ) |