Searched refs:SAFE_SETSOCKOPT_INT (Results 1 – 10 of 10) sorted by relevance
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 152 SAFE_SETSOCKOPT_INT(sd, SOL_SOCKET, SO_BUSY_POLL, busy_poll); in init_socket_opts() 161 SAFE_SETSOCKOPT_INT(sd, IPPROTO_TCP, in init_socket_opts() 165 SAFE_SETSOCKOPT_INT(sd, SOL_SOCKET, SO_ZEROCOPY, 1); in init_socket_opts() 168 SAFE_SETSOCKOPT_INT(sd, SOL_DCCP, DCCP_SOCKOPT_SERVICE, in init_socket_opts() 178 SAFE_SETSOCKOPT_INT(sd, SOL_UDPLITE, UDPLITE_SEND_CSCOV, cscov); in init_socket_opts() 179 SAFE_SETSOCKOPT_INT(sd, SOL_UDPLITE, UDPLITE_RECV_CSCOV, 8); in init_socket_opts() 316 SAFE_SETSOCKOPT_INT(sd, SOL_IP, IP_BIND_ADDRESS_NO_PORT, 1); in bind_before_connect() 318 SAFE_SETSOCKOPT_INT(sd, SOL_SOCKET, SO_REUSEPORT, 1); in bind_before_connect() 674 SAFE_SETSOCKOPT_INT(sfd, SOL_SOCKET, SO_REUSEADDR, 1); in server_init() 676 SAFE_SETSOCKOPT_INT(sfd, SOL_SOCKET, SO_REUSEPORT, 1); in server_init() [all …]
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto03.c | 75 SAFE_SETSOCKOPT_INT(dst_sock, SOL_PACKET, PACKET_VERSION, TPACKET_V2); in check_tiny_frame() 141 SAFE_SETSOCKOPT_INT(dst_sock, SOL_PACKET, PACKET_VERSION, TPACKET_V2); in check_vnet_hdr() 142 SAFE_SETSOCKOPT_INT(dst_sock, SOL_PACKET, PACKET_VNET_HDR, 1); in check_vnet_hdr() 143 SAFE_SETSOCKOPT_INT(dst_sock, SOL_PACKET, PACKET_RESERVE, 0xffff - 75); in check_vnet_hdr()
|
/external/ltp/testcases/cve/ |
D | cve-2017-16939.c | 58 SAFE_SETSOCKOPT_INT(fd, SOL_SOCKET, SO_RCVBUF, 0x100); in run()
|
D | icmp_rate_limit01.c | 97 SAFE_SETSOCKOPT_INT(fds[i], IPPROTO_IP, IP_RECVERR, 1); in setup()
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt05.c | 71 SAFE_SETSOCKOPT_INT(sock, SOL_SOCKET, SO_NO_CHECK, 1); in run()
|
D | setsockopt09.c | 81 SAFE_SETSOCKOPT_INT(sock, SOL_PACKET, PACKET_VERSION, in run()
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg03.c | 86 SAFE_SETSOCKOPT_INT(sockfd, SOL_IP, IP_HDRINCL, hdrincl); in run()
|
/external/ltp/include/ |
D | tst_safe_net.h | 29 #define SAFE_SETSOCKOPT_INT(fd, l, n, val) \ macro
|
/external/ltp/testcases/kernel/syscalls/io_uring/ |
D | io_uring02.c | 96 SAFE_SETSOCKOPT_INT(sockpair[0], SOL_SOCKET, SO_SNDBUF, in drain_fallback()
|
/external/ltp/doc/ |
D | network-c-api.txt | 58 - +int SAFE_SETSOCKOPT_INT(int sockfd, int level, int optname, int value)+ – 131 SAFE_SETSOCKOPT_INT(sockfd, SOL_SOCKET, SO_SNDBUF, 4096);
|