OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lsock
(Results
1 - 2
of
2
) sorted by relevancy
/src/tests/net/tcp/
t_tcp_connect_port.c
199
int asock, csock, error, i,
lsock
;
local
211
lsock
= socket(domain, SOCK_STREAM, 0);
212
ATF_REQUIRE_MSG(
lsock
>= 0, "socket() for listen socket failed: %s",
214
error = bind(
lsock
, addr, addr->sa_len);
216
error = listen(
lsock
, 1);
224
error = getsockname(
lsock
, &su_srvr.saddr, &salen);
280
asock = accept(
lsock
, NULL, NULL);
/src/external/bsd/ntp/dist/ntpd/
ntp_io.c
4556
vsock_t *
lsock
= emalloc(sizeof(*
lsock
));
local
4558
lsock
->fd = fd;
4559
lsock
->type = type;
4561
LINK_SLIST(fd_list,
lsock
, link);
4572
vsock_t *
lsock
;
local
4574
UNLINK_EXPR_SLIST(
lsock
, fd_list, fd ==
4577
if (NULL ==
lsock
)
4580
switch (
lsock
->type) {
4588
closesocket(
lsock
->fd)
[
all
...]
Completed in 30 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026