Home
last modified time | relevance | path

Searched refs:xuc (Results 1 – 6 of 6) sorted by relevance

/freebsd/lib/libc/gen/
H A Dgetpeereid.c42 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 Dsctp6_usrreq.c368 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 Dudp6_usrreq.c611 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 Dudp_usrreq.c822 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 Dtcp_subr.c2634 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 Dsctp_usrreq.c353 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()