/third_party/pulseaudio/src/pulsecore/ |
H A D | socket-util.c | 164 #if defined(IPTOS_LOWDELAY) && defined(IP_TOS) && (defined(SOL_IP) || defined(IPPROTO_IP)) in pa_make_tcp_socket_low_delay() 167 #ifdef SOL_IP in pa_make_tcp_socket_low_delay() 168 if (setsockopt(fd, SOL_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_tcp_socket_low_delay() 182 #if defined(IPTOS_LOWDELAY) && defined(IP_TOS) && (defined(SOL_IP) || defined(IPPROTO_IP)) in pa_make_udp_socket_low_delay() 185 #ifdef SOL_IP in pa_make_udp_socket_low_delay() 186 if (setsockopt(fd, SOL_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_udp_socket_low_delay()
|
/third_party/ltp/testcases/kernel/syscalls/sendmsg/ |
H A D | sendmsg03.c | 72 setsockopt(sockfd, SOL_IP, IP_HDRINCL, &val, sizeof(val)); in thread_run() 86 SAFE_SETSOCKOPT_INT(sockfd, SOL_IP, IP_HDRINCL, hdrincl); in run()
|
/third_party/ltp/testcases/kernel/syscalls/accept/ |
H A D | accept02.c | 54 SAFE_SETSOCKOPT(server_sockfd, SOL_IP, MCAST_JOIN_GROUP, in server_thread() 68 TEST(setsockopt(clone_server_sockfd, SOL_IP, MCAST_LEAVE_GROUP, in server_thread()
|
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
H A D | setsockopt03.c | 71 ret = setsockopt(sock_fd, SOL_IP, IPT_SO_SET_REPLACE, in run()
|
/third_party/ltp/testcases/network/sockets/ |
H A D | ltpClient.c | 500 if (setsockopt(rawSocket, SOL_IP, IP_TTL, &value, sizeof(value)) != 0) { in ping_network() 583 if (setsockopt(rawTraceSocket, SOL_IP, SO_ERROR, &flag, sizeof(flag)) != in ltp_traceroute() 593 (rawTraceSocket, SOL_IP, IP_TTL, &TimeToLive, in ltp_traceroute()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | iapp.c | 471 if (setsockopt(iapp->udp_sock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, in iapp_init() 528 if (setsockopt(iapp->udp_sock, SOL_IP, IP_DROP_MEMBERSHIP, in iapp_deinit()
|
/third_party/ltp/testcases/cve/ |
H A D | icmp_rate_limit01.c | 144 if (cmsg->cmsg_level != SOL_IP) in count_icmp_errors()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | socket.h | 297 #define SOL_IP 0 macro
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | socket.h | 288 #define SOL_IP 0 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | socket.h | 297 #define SOL_IP 0 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | socket.h | 299 #define SOL_IP 0 macro
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | socket.h | 303 #define SOL_IP 0 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | socket.h | 297 #define SOL_IP 0 macro
|
/third_party/musl/include/sys/ |
H A D | socket.h | 303 #define SOL_IP 0 macro
|
/third_party/toybox/toys/net/ |
H A D | ping.c | 185 xsetsockopt(TT.sock, SOL_IP, IP_RECVTTL, &len, sizeof(len)); in ping_main()
|
/third_party/rust/crates/nix/src/sys/socket/ |
H A D | sockopt.rs | 667 libc::SOL_IP, 716 libc::SOL_IP,
|
/third_party/libcoap/src/ |
H A D | coap_io.c | 835 #if !defined(WITH_CONTIKI) && !defined(SOL_IP) 837 #define SOL_IP IPPROTO_IP macro 842 #define COAP_SOL_IP SOL_IP
|
/third_party/ltp/testcases/network/netstress/ |
H A D | netstress.c | 316 SAFE_SETSOCKOPT_INT(sd, SOL_IP, IP_BIND_ADDRESS_NO_PORT, 1); in bind_before_connect()
|
/third_party/curl/lib/ |
H A D | cf-socket.c | 614 (void)setsockopt(sockfd, SOL_IP, IP_BIND_ADDRESS_NO_PORT, &on, sizeof(on)); in bindlocal()
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
H A D | mod.rs | 676 pub const SOL_IP: ::c_int = 0; consts
|
/third_party/python/Modules/ |
H A D | socketmodule.c | 7806 #ifdef SOL_IP 7807 PyModule_AddIntMacro(m, SOL_IP); 7809 PyModule_AddIntConstant(m, "SOL_IP", 0);
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 1653 pub const SOL_IP: ::c_int = 0; consts
|