Searched refs:xuc (Results 1 – 6 of 6) sorted by relevance
/freebsd/lib/libc/gen/ |
H A D | getpeereid.c | 42 struct xucred xuc; in getpeereid() local 46 xuclen = sizeof(xuc); in getpeereid() 47 error = _getsockopt(s, SOL_LOCAL, LOCAL_PEERCRED, &xuc, &xuclen); in getpeereid() 50 if (xuc.cr_version != XUCRED_VERSION) { in getpeereid() 54 *euid = xuc.cr_uid; in getpeereid() 55 *egid = xuc.cr_gid; in getpeereid()
|
/freebsd/sys/netinet6/ |
H A D | sctp6_usrreq.c | 368 struct xucred xuc; in sctp6_getcred() local 422 cru2x(inp->sctp_socket->so_cred, &xuc); in sctp6_getcred() 424 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in sctp6_getcred()
|
H A D | udp6_usrreq.c | 611 struct xucred xuc; in udp6_getcred() local 645 cru2x(inp->inp_cred, &xuc); in udp6_getcred() 650 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in udp6_getcred()
|
/freebsd/sys/netinet/ |
H A D | udp_usrreq.c | 822 struct xucred xuc; in udp_getcred() local 846 cru2x(inp->inp_cred, &xuc); in udp_getcred() 851 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in udp_getcred()
|
H A D | tcp_subr.c | 2634 struct xucred xuc; in tcp_getcred() local 2654 cru2x(inp->inp_cred, &xuc); in tcp_getcred() 2659 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in tcp_getcred() 2674 struct xucred xuc; in tcp6_getcred() local 2720 cru2x(inp->inp_cred, &xuc); in tcp6_getcred() 2725 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in tcp6_getcred()
|
H A D | sctp_usrreq.c | 353 struct xucred xuc; in sctp_getcred() local 402 cru2x(inp->sctp_socket->so_cred, &xuc); in sctp_getcred() 404 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in sctp_getcred()
|