Searched refs:unpcb_compat (Results 1 - 2 of 2) sorted by relevance

/xnu-2422.115.4/bsd/sys/
H A Dunpcb.h161 struct unpcb_compat { struct
163 #define unpcb_compat unpcb
166 _UNPCB_LIST_ENTRY(unpcb_compat) unp_link; /* glue on list of all PCBs */
170 _UNPCB_PTR(struct unpcb_compat *) unp_conn; /* control block of connected socket */
176 _UNPCB_LIST_ENTRY(unpcb_compat) unp_reflink; /* link in unp_refs list */
190 _UNPCB_PTR(struct unpcb_compat *) xu_unpp; /* to help netstat, fstat */
191 struct unpcb_compat xu_unp; /* our information */
/xnu-2422.115.4/bsd/kern/
H A Duipc_usrreq.c175 static void unpcb_to_compat(struct unpcb *, struct unpcb_compat *);
1516 * unpcb_to_compat copies specific bits of a unpcb to a unpcb_compat format.
1517 * The unpcb_compat data structure is passed to user space and must not change.
1520 unpcb_to_compat(struct unpcb *up, struct unpcb_compat *cp)
1528 cp->unp_link.le_next = (struct unpcb_compat *)
1530 cp->unp_link.le_prev = (struct unpcb_compat **)
1538 cp->unp_conn = (_UNPCB_PTR(struct unpcb_compat *))
1548 (struct unpcb_compat *)VM_KERNEL_ADDRPERM(up->unp_reflink.le_next);
1550 (struct unpcb_compat **)VM_KERNEL_ADDRPERM(up->unp_reflink.le_prev);
1636 xu.xu_unpp = (_UNPCB_PTR(struct unpcb_compat *))
[all...]

Completed in 21 milliseconds