Home
last modified time | relevance | path

Searched refs:SOL_SOCKET (Results 1 – 25 of 28) sorted by relevance

12

/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-socket-timestamp-compat.c92 int r = setsockopt (srv, SOL_SOCKET, COMPAT_SO_TIMESTAMP_OLD, &(int){1}, in do_test_large_buffer()
104 if (cmsg->cmsg_level != SOL_SOCKET) in do_test_large_buffer()
118 int r = setsockopt (srv, SOL_SOCKET, COMPAT_SO_TIMESTAMPNS_OLD, &(int){1}, in do_test_large_buffer()
130 if (cmsg->cmsg_level != SOL_SOCKET) in do_test_large_buffer()
155 int r = setsockopt (srv, SOL_SOCKET, COMPAT_SO_TIMESTAMP_OLD, &(int){1}, in do_test_small_buffer()
173 if (cmsg->cmsg_level != SOL_SOCKET) in do_test_small_buffer()
196 int r = setsockopt (srv, SOL_SOCKET, COMPAT_SO_TIMESTAMPNS_OLD, &(int){1}, in do_test_small_buffer()
214 if (cmsg->cmsg_level != SOL_SOCKET) in do_test_small_buffer()
Dtst-socket-timestamp.c112 if (cmsg->cmsg_level != SOL_SOCKET) in do_recvmsg_slack_ancillary()
152 int r = setsockopt (srv, SOL_SOCKET, SO_TIMESTAMP, &(int){1}, in do_test_slack_space()
176 int r = setsockopt (srv, SOL_SOCKET, SO_TIMESTAMPNS, &(int){1}, in do_test_slack_space()
256 if (cmsg->cmsg_level == SOL_SOCKET in do_recvmsg_multiple_ancillary()
277 int r = setsockopt (srv, SOL_SOCKET, SO_TIMESTAMP, &(int){1}, in do_test_multiple_ancillary()
Dconvert_scm_timestamps.c59 if (cmsg->cmsg_level != SOL_SOCKET) in __convert_scm_timestamps()
97 cmsg->cmsg_level = SOL_SOCKET; in __convert_scm_timestamps()
Dtst-scm_rights.c71 cmsg->cmsg_level = SOL_SOCKET; in subprocess()
130 cmsg->cmsg_level = SOL_SOCKET; in one_test()
Dgetsockopt.c42 if (level != SOL_SOCKET) in getsockopt32()
Dsetsockopt.c42 if (level != SOL_SOCKET) in setsockopt32()
Dtst-getcwd-smallbuff.c73 cmsg->cmsg_level = SOL_SOCKET; in send_fd()
/glibc-2.36/socket/
Dtst-sockopt.c31 TEST_COMPARE (getsockopt (fd, SOL_SOCKET, SO_LINGER, &value, &optlen), 0); in do_test()
38 TEST_COMPARE (setsockopt (fd, SOL_SOCKET, SO_LINGER, &value, sizeof (value)), in do_test()
43 TEST_COMPARE (getsockopt (fd, SOL_SOCKET, SO_LINGER, &value, &optlen), 0); in do_test()
/glibc-2.36/sysdeps/pthread/
Dtst-cancel4-common.h73 TEST_VERIFY_EXIT (setsockopt (s, SOL_SOCKET, SO_SNDBUF, &val, in set_socket_buffer()
75 TEST_VERIFY_EXIT (getsockopt (s, SOL_SOCKET, SO_SNDBUF, &val, &len) == 0); in set_socket_buffer()
/glibc-2.36/sysdeps/mach/hurd/
Dsendmsg.c113 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) in __libc_sendmsg()
125 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) in __libc_sendmsg()
Drecvmsg.c189 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) in __libc_recvmsg()
233 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) in __libc_recvmsg()
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/bits/
Dsocket-constants.h23 #define SOL_SOCKET 65535 macro
/glibc-2.36/support/
Dsupport_socket_so_timestamp_time64.c37 int level = SOL_SOCKET; in support_socket_so_timestamp_time64()
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/bits/
Dsocket-constants.h23 #define SOL_SOCKET 1 macro
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/bits/
Dsocket-constants.h23 #define SOL_SOCKET 65535 macro
/glibc-2.36/sysdeps/unix/sysv/linux/mips/bits/
Dsocket-constants.h23 #define SOL_SOCKET 65535 macro
/glibc-2.36/sysdeps/unix/sysv/linux/hppa/bits/
Dsocket-constants.h23 #define SOL_SOCKET 65535 macro
/glibc-2.36/sysdeps/unix/sysv/linux/bits/
Dsocket-constants.h25 #define SOL_SOCKET 1 macro
/glibc-2.36/sunrpc/
Dsvc_unix.c347 if (__setsockopt (sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof (on))) in __msgread()
388 cmsg->cmsg_level = SOL_SOCKET; in __msgwrite()
Dclnt_unix.c461 if (__setsockopt (sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof (on))) in __msgread()
502 cmsg->cmsg_level = SOL_SOCKET; in __msgwrite()
Dpmap_rmt.c249 if (__setsockopt (sock, SOL_SOCKET, SO_BROADCAST, &on, sizeof (on)) < 0) in clnt_broadcast()
/glibc-2.36/sysdeps/mach/hurd/bits/
Dsocket.h313 #define SOL_SOCKET 0xffff macro
/glibc-2.36/bits/
Dsocket.h309 #define SOL_SOCKET 0xffff macro
/glibc-2.36/conform/data/sys/
Dsocket.h-data58 macro SOL_SOCKET
/glibc-2.36/nscd/
Dnscd_helper.c292 cmsg->cmsg_level = SOL_SOCKET; in __nscd_get_mapping()

12