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 | 372 struct xucred xuc; in sctp6_getcred() local 428 cru2x(inp->sctp_socket->so_cred, &xuc); in sctp6_getcred() 430 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in sctp6_getcred()
|
| H A D | udp6_usrreq.c | 623 struct xucred xuc; in udp6_getcred() local 659 cru2x(inp->inp_cred, &xuc); in udp6_getcred() 664 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in udp6_getcred()
|
| /freebsd/sys/netinet/ |
| H A D | udp_usrreq.c | 864 struct xucred xuc; in udp_getcred() local 890 cru2x(inp->inp_cred, &xuc); in udp_getcred() 895 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in udp_getcred()
|
| H A D | tcp_subr.c | 2979 struct xucred xuc; in tcp_getcred() local 3001 cru2x(inp->inp_cred, &xuc); in tcp_getcred() 3006 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in tcp_getcred() 3021 struct xucred xuc; in tcp6_getcred() local 3069 cru2x(inp->inp_cred, &xuc); in tcp6_getcred() 3074 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 403 cru2x(inp->sctp_socket->so_cred, &xuc); in sctp_getcred() 405 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in sctp_getcred()
|