Searched refs:lsock (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/test/os-tests/tests/sockfs/ |
H A D | conn.c | 83 int lsock; in listener() local 87 lsock = socket(AF_UNIX, SOCK_STREAM, 0); in listener() 88 if (lsock == -1) { in listener() 93 ret = bind(lsock, (struct sockaddr *)addr, sizeof (*addr)); in listener() 99 ret = listen(lsock, 5); in listener() 106 asock = accept(lsock, NULL, 0); in listener()
|
/illumos-gate/usr/src/test/os-tests/tests/oclo/ |
H A D | oclo.c | 435 int lsock, csock, asock; in oclo_accept_common() local 450 lsock = socket(PF_INET, ltype, 0); in oclo_accept_common() 451 if (lsock < 0) { in oclo_accept_common() 456 oclo_record(c, lsock, c->clo_flags, "listen"); in oclo_accept_common() 462 if (bind(lsock, (struct sockaddr *)&in, sizeof (in)) != 0) { in oclo_accept_common() 468 if (getsockname(lsock, (struct sockaddr *)&in, &slen) != 0) { in oclo_accept_common() 473 if (listen(lsock, 5) < 0) { in oclo_accept_common() 491 asock = accept4(lsock, NULL, NULL, atype); in oclo_accept_common() 493 asock = accept(lsock, NULL, NULL); in oclo_accept_common()
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | Makefile | 36 LDLIBS += -lsock
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | Makefile | 46 LDLIBS += -linet -lsock -lxdr
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | Makefile | 56 LDLIBS += -lsock
|