Home
last modified time | relevance | path

Searched refs:SAFE_SETSOCKOPT (Results 1 – 10 of 10) sorted by relevance

/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_initmsg_connect.c66 SAFE_SETSOCKOPT(sk1, SOL_SCTP, SCTP_INITMSG, &sinmsg, len); in test_sctp()
69 SAFE_SETSOCKOPT(sk3, SOL_SCTP, SCTP_INITMSG, &sinmsg, len); in test_sctp()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept02.c50 SAFE_SETSOCKOPT(server_sockfd, SOL_SOCKET, SO_REUSEADDR, &op, op_len); in server_thread()
51 SAFE_SETSOCKOPT(server_sockfd, SOL_IP, MCAST_JOIN_GROUP, in server_thread()
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt04.c36 SAFE_SETSOCKOPT(sockfd, SOL_SOCKET, SO_SNDBUFFORCE, &sndbuf, optlen); in run()
/external/ltp/testcases/cve/
Dcve-2017-16939.c69 SAFE_SETSOCKOPT(fd, SOL_SOCKET, SO_RCVBUF, &var, sizeof(int)); in run()
/external/ltp/include/
Dtst_safe_net.h38 #define SAFE_SETSOCKOPT(fd, level, optname, optval, optlen) \ macro
/external/ltp/testcases/kernel/syscalls/bpf/
Dbpf_prog01.c131 SAFE_SETSOCKOPT(sk[1], SOL_SOCKET, SO_ATTACH_BPF, in run()
Dbpf_prog03.c151 SAFE_SETSOCKOPT(sk[1], SOL_SOCKET, SO_ATTACH_BPF, in run()
Dbpf_prog02.c119 SAFE_SETSOCKOPT(sk[1], SOL_SOCKET, SO_ATTACH_BPF, in run()
/external/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c74 SAFE_SETSOCKOPT(lfd, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof(optval)); in create_listening_socket()
/external/ltp/testcases/network/netstress/
Dnetstress.c146 SAFE_SETSOCKOPT(sd, SOL_SOCKET, SO_BINDTODEVICE, dev, in init_socket_opts()