OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sockp
(Results
1 - 4
of
4
) sorted by relevancy
/src/lib/libc/rpc/
rpc_soc.c
109
int *
sockp
, u_int sendsz, u_int recvsz, const char *tp)
118
_DIAGASSERT(
sockp
!= NULL);
121
fd = *
sockp
;
164
*
sockp
= fd;
184
clntudp_bufcreate(struct sockaddr_in *raddr, u_long prog, u_long vers, struct timeval wait, int *
sockp
, u_int sendsz, u_int recvsz)
189
_DIAGASSERT(
sockp
!= NULL);
191
cl = clnt_com_create(raddr, (rpcprog_t)prog, (rpcvers_t)vers,
sockp
,
202
struct timeval wait, int *
sockp
)
204
return clntudp_bufcreate(raddr, program, version, wait,
sockp
,
209
clnttcp_create(struct sockaddr_in *raddr, u_long prog, u_long vers, int *
sockp
,
[
all
...]
/src/tests/net/inpcb/
inpcb_bind.c
34
runtest(int *
sockp
, struct addrinfo *ai, int reuseaddr, int reuseport,
39
*
sockp
= socket(ai->ai_family, ai->ai_socktype, 0);
40
if (*
sockp
== -1) {
47
error = setsockopt(*
sockp
, SOL_SOCKET, SO_REUSEADDR,
57
error = setsockopt(*
sockp
, SOL_SOCKET, SO_REUSEPORT,
68
error = setsockopt(*
sockp
, IPPROTO_IPV6, IPV6_JOIN_GROUP,
77
error = setsockopt(*
sockp
, IPPROTO_IP, IP_ADD_MEMBERSHIP,
93
error = bind(*
sockp
, ai->ai_addr, ai->ai_addrlen);
/src/sys/net/
bpf.c
326
struct mbuf **mp, struct sockaddr *
sockp
, struct bpf_filter **wfilter)
347
sockp
->sa_family = AF_INET;
353
sockp
->sa_family = AF_UNSPEC;
359
sockp
->sa_family = AF_UNSPEC;
367
sockp
->sa_family = AF_UNSPEC;
373
sockp
->sa_family = AF_LINK;
380
sockp
->sa_family = AF_UNSPEC;
386
sockp
->sa_family = AF_UNSPEC;
451
sockp
->sa_family = af;
454
memcpy(
sockp
->sa_data, mtod(m0, void *), hlen)
[
all
...]
/src/sys/netinet/
tcp_usrreq.c
1394
copyout_uid(struct socket *
sockp
, void *oldp, size_t *oldlenp)
1401
if (
sockp
->so_cred == NULL)
1404
uid = kauth_cred_geteuid(
sockp
->so_cred);
1420
struct socket *
sockp
;
local
1424
if (inp == NULL || (
sockp
= inp->inp_socket) == NULL)
1444
return copyout_uid(
sockp
, oldp, oldlenp);
1455
struct socket *
sockp
;
local
1459
if (inp == NULL || (
sockp
= inp->inp_socket) == NULL)
1479
return copyout_uid(
sockp
, oldp, oldlenp);
Completed in 17 milliseconds
Indexes created Sun Feb 22 08:20:21 UTC 2026