version 1.110.4.3, 2016/04/22 15:44:19 |
version 1.121, 2017/02/08 17:58:41 |
Line 472 struct kinfo_pcb { |
|
Line 472 struct kinfo_pcb { |
|
* Fifth: type of info, defined below |
* Fifth: type of info, defined below |
* Sixth: flag(s) to mask with for NET_RT_FLAGS |
* Sixth: flag(s) to mask with for NET_RT_FLAGS |
*/ |
*/ |
#define NET_RT_DUMP 1 /* dump; may limit to a.f. */ |
#define NET_RT_DUMP 1 /* dump; may limit to a.f. */ |
#define NET_RT_FLAGS 2 /* by flags, e.g. RESOLVING */ |
#define NET_RT_FLAGS 2 /* by flags, e.g. RESOLVING */ |
#define NET_RT_OOIFLIST 3 /* old NET_RT_IFLIST (pre 1.5) */ |
#define NET_RT_OOOIFLIST 3 /* old NET_RT_IFLIST (pre 1.5) */ |
#define NET_RT_OIFLIST 4 /* survey interface list */ |
#define NET_RT_OOIFLIST 4 /* old NET_RT_IFLIST (pre-64bit time) */ |
#define NET_RT_IFLIST 5 |
#define NET_RT_OIFLIST 5 /* old NET_RT_IFLIST (pre 8.0) */ |
#define NET_RT_MAXID 6 |
#define NET_RT_IFLIST 6 /* survey interface list */ |
|
#define NET_RT_MAXID 7 |
|
|
#define CTL_NET_RT_NAMES { \ |
#define CTL_NET_RT_NAMES { \ |
{ 0, 0 }, \ |
{ 0, 0 }, \ |
|
|
|
|
__BEGIN_DECLS |
__BEGIN_DECLS |
int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); |
int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); |
|
int accept4(int, struct sockaddr * __restrict, socklen_t * __restrict, int); |
int bind(int, const struct sockaddr *, socklen_t); |
int bind(int, const struct sockaddr *, socklen_t); |
int connect(int, const struct sockaddr *, socklen_t); |
int connect(int, const struct sockaddr *, socklen_t); |
int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); |
int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); |