Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/unpcb.h
Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Lines | struct xunpcb { | ||||
struct xsocket xu_socket; | struct xsocket xu_socket; | ||||
} __aligned(MAX(8, sizeof(void *))); | } __aligned(MAX(8, sizeof(void *))); | ||||
struct xunpgen { | struct xunpgen { | ||||
ksize_t xug_len; | ksize_t xug_len; | ||||
u_int xug_count; | u_int xug_count; | ||||
unp_gen_t xug_gen; | unp_gen_t xug_gen; | ||||
so_gen_t xug_sogen; | so_gen_t xug_sogen; | ||||
} __aligned(8);; | } __aligned(8); | ||||
#endif /* _SYS_SOCKETVAR_H_ */ | #endif /* _SYS_SOCKETVAR_H_ */ | ||||
#if defined(_KERNEL) | #if defined(_KERNEL) | ||||
struct thread; | struct thread; | ||||
/* In uipc_userreq.c */ | /* In uipc_userreq.c */ | ||||
void | void | ||||
unp_copy_peercred(struct thread *td, struct unpcb *client_unp, | unp_copy_peercred(struct thread *td, struct unpcb *client_unp, | ||||
struct unpcb *server_unp, struct unpcb *listen_unp); | struct unpcb *server_unp, struct unpcb *listen_unp); | ||||
#endif | #endif | ||||
#endif /* _SYS_UNPCB_H_ */ | #endif /* _SYS_UNPCB_H_ */ |