Home
last modified time | relevance | path

Searched refs:SOL_IP (Results 1 - 22 of 22) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
H A Dsocket-util.c164 #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 Dsendmsg03.c72 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 Daccept02.c54 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 Dsetsockopt03.c71 ret = setsockopt(sock_fd, SOL_IP, IPT_SO_SET_REPLACE, in run()
/third_party/ltp/testcases/network/sockets/
H A DltpClient.c500 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 Diapp.c471 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 Dicmp_rate_limit01.c144 if (cmsg->cmsg_level != SOL_IP) in count_icmp_errors()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dsocket.h297 #define SOL_IP 0 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dsocket.h288 #define SOL_IP 0 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dsocket.h297 #define SOL_IP 0 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dsocket.h299 #define SOL_IP 0 macro
/third_party/musl/porting/linux/user/include/sys/
H A Dsocket.h303 #define SOL_IP 0 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dsocket.h297 #define SOL_IP 0 macro
/third_party/musl/include/sys/
H A Dsocket.h303 #define SOL_IP 0 macro
/third_party/toybox/toys/net/
H A Dping.c185 xsetsockopt(TT.sock, SOL_IP, IP_RECVTTL, &len, sizeof(len)); in ping_main()
/third_party/rust/crates/nix/src/sys/socket/
H A Dsockopt.rs667 libc::SOL_IP,
716 libc::SOL_IP,
/third_party/libcoap/src/
H A Dcoap_io.c835 #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 Dnetstress.c316 SAFE_SETSOCKOPT_INT(sd, SOL_IP, IP_BIND_ADDRESS_NO_PORT, 1); in bind_before_connect()
/third_party/curl/lib/
H A Dcf-socket.c614 (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 Dmod.rs676 pub const SOL_IP: ::c_int = 0; consts
/third_party/python/Modules/
H A Dsocketmodule.c7806 #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 Dmod.rs1653 pub const SOL_IP: ::c_int = 0; consts

Completed in 42 milliseconds