Searched refs:SAFE_SETSOCKOPT (Results 1 – 10 of 10) sorted by relevance
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_initmsg_connect.c | 66 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/ |
D | accept02.c | 50 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/ |
D | setsockopt04.c | 36 SAFE_SETSOCKOPT(sockfd, SOL_SOCKET, SO_SNDBUFFORCE, &sndbuf, optlen); in run()
|
/external/ltp/testcases/cve/ |
D | cve-2017-16939.c | 69 SAFE_SETSOCKOPT(fd, SOL_SOCKET, SO_RCVBUF, &var, sizeof(int)); in run()
|
/external/ltp/include/ |
D | tst_safe_net.h | 38 #define SAFE_SETSOCKOPT(fd, level, optname, optval, optlen) \ macro
|
/external/ltp/testcases/kernel/syscalls/bpf/ |
D | bpf_prog01.c | 131 SAFE_SETSOCKOPT(sk[1], SOL_SOCKET, SO_ATTACH_BPF, in run()
|
D | bpf_prog03.c | 151 SAFE_SETSOCKOPT(sk[1], SOL_SOCKET, SO_ATTACH_BPF, in run()
|
D | bpf_prog02.c | 119 SAFE_SETSOCKOPT(sk[1], SOL_SOCKET, SO_ATTACH_BPF, in run()
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 74 SAFE_SETSOCKOPT(lfd, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof(optval)); in create_listening_socket()
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 146 SAFE_SETSOCKOPT(sd, SOL_SOCKET, SO_BINDTODEVICE, dev, in init_socket_opts()
|