Home
last modified time | relevance | path

Searched refs:cmsg_level (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium_org/mojo/embedder/
Dplatform_channel_utils_posix.cc96 cmsg->cmsg_level = SOL_SOCKET; in PlatformChannelSendmsgWithHandles()
123 cmsg->cmsg_level = SOL_SOCKET; in PlatformChannelSendHandles()
171 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in PlatformChannelRecvmsg()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c587 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
602 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
614 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
634 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
639 else if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
647 if (cmptr->cmsg_level == IPPROTO_IPV6 && in recvfrom_flags()
666 if (cmptr->cmsg_level == IPPROTO_IPV6 && in recvfrom_flags()
/external/chromium_org/base/posix/
Dunix_domain_socket_linux.cc60 cmsg->cmsg_level = SOL_SOCKET; in SendMsg()
126 if (cmsg->cmsg_level == SOL_SOCKET && in RecvMsgWithFlags()
133 if (cmsg->cmsg_level == SOL_SOCKET && in RecvMsgWithFlags()
/external/valgrind/main/none/tests/
Dfdleak_cmsg.c68 cmsg->cmsg_level = SOL_SOCKET; in server()
132 if (cmsg->cmsg_level == SOL_SOCKET && in client()
/external/dnsmasq/src/
Dtftp.c100 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in tftp_request()
108 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in tftp_request()
110 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in tftp_request()
116 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in tftp_request()
118 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in tftp_request()
Dforward.c72 cmptr->cmsg_level = SOL_IP; in send_from()
78 cmptr->cmsg_level = IPPROTO_IP; in send_from()
90 cmptr->cmsg_level = IPV6_LEVEL; in send_from()
652 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in receive_query()
661 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in receive_query()
663 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in receive_query()
676 if (cmptr->cmsg_level == IPV6_LEVEL && cmptr->cmsg_type == IPV6_PKTINFO) in receive_query()
Ddhcp.c176 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in dhcp_packet()
186 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in dhcp_packet()
193 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in dhcp_packet()
299 cmptr->cmsg_level = SOL_IP; in dhcp_packet()
/external/ipsec-tools/src/racoon/
Dsockmisc.c430 "cmsg %d %d\n", cm->cmsg_level, cm->cmsg_type);)
434 && cm->cmsg_level == IPPROTO_IPV6
460 && cm->cmsg_level == IPPROTO_IP
478 && cm->cmsg_level == IPPROTO_IPV6
496 && cm->cmsg_level == IPPROTO_IP
597 cm->cmsg_level = IPPROTO_IPV6;
657 cm->cmsg_level = IPPROTO_IP;
/external/chromium_org/net/tools/quic/
Dquic_socket_utils.cc161 cmsg->cmsg_level = IPPROTO_IP; in SetIpInfoInCmsg()
170 cmsg->cmsg_level = IPPROTO_IPV6; in SetIpInfoInCmsg()
/external/strace/tests/
Dscm_rights.c49 cmsg->cmsg_level = SOL_SOCKET; in main()
/external/chromium_org/chrome/utility/image_writer/
Dimage_writer_mac.cc136 if (cmsg_socket_header && cmsg_socket_header->cmsg_level == SOL_SOCKET && in OpenDevice()
/external/chromium_org/sandbox/linux/seccomp-bpf/
Ddemo.cc77 cmsg->cmsg_level = SOL_SOCKET; in SendFds()
134 cmsg->cmsg_level != SOL_SOCKET || in GetFds()
/external/dhcpcd/
Dlpf.c204 if (cmsg->cmsg_level == SOL_PACKET && in get_raw_packet()
Dipv6rs.c207 cm->cmsg_level = IPPROTO_IPV6; in ipv6rs_sendprobe()
216 cm->cmsg_level = IPPROTO_IPV6; in ipv6rs_sendprobe()
311 if (cm->cmsg_level != IPPROTO_IPV6) in ipv6rs_handledata()
/external/bluetooth/bluedroid/btif/src/
Dbtif_sock_util.c126 cmsg->cmsg_level = SOL_SOCKET; in sock_send_fd()
/external/libnl/lib/
Dnl.c263 cmsg->cmsg_level = SOL_SOCKET; in nl_send_iovec()
473 if (cmsg->cmsg_level == SOL_SOCKET && in nl_recv()
/external/iputils/
Dping6.c211 cmsg->cmsg_level = SOL_IPV6; in inet6_srcrt_init()
849 srcrt->cmsg_level = IPPROTO_IPV6; in main()
1049 cmsg->cmsg_level = SOL_IPV6; in main()
1300 if (cmsg->cmsg_level == SOL_IPV6) { in receive_error_msg()
1598 if (c->cmsg_level != SOL_IPV6) in parse_reply()
Dtracepath.c150 if (cmsg->cmsg_level == SOL_IP) { in recverr()
/external/iputils/ninfod/
Dninfod.c317 if (cmsg->cmsg_level == IPPROTO_IPV6 && in ni_recv()
358 cmsg->cmsg_level = IPPROTO_IPV6; in ni_send()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsocket.h330 int cmsg_level; /* originating protocol */ member
/external/chromium_org/ipc/
Dipc_channel_posix.cc432 cmsg->cmsg_level = SOL_SOCKET; in ProcessOutgoingMessages()
921 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in ExtractFileDescriptorsFromMsghdr()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h389 int cmsg_level; member
404 int cmsg_level; member
/external/openssl/crypto/bio/
Dbss_dgram.c1041 if (cmsg->cmsg_level != IPPROTO_SCTP) in dgram_sctp_read()
1278 cmsg->cmsg_level = IPPROTO_SCTP; in dgram_sctp_write()
1290 cmsg->cmsg_level = IPPROTO_SCTP; in dgram_sctp_write()
1300 cmsg->cmsg_level = IPPROTO_SCTP; in dgram_sctp_write()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_recv_thread.c580 if ((cmsgptr->cmsg_level == IPPROTO_IPV6) && (cmsgptr->cmsg_type == IPV6_PKTINFO)) { in recv_function_raw6()
771 if ((cmsgptr->cmsg_level == IPPROTO_IP) && (cmsgptr->cmsg_type == IP_PKTINFO)) { in recv_function_udp()
783 if ((cmsgptr->cmsg_level == IPPROTO_IP) && (cmsgptr->cmsg_type == IP_RECVDSTADDR)) { in recv_function_udp()
978 if ((cmsgptr->cmsg_level == IPPROTO_IPV6) && (cmsgptr->cmsg_type == IPV6_PKTINFO)) { in recv_function_udp6()
/external/chromium_org/third_party/openssl/openssl/crypto/bio/
Dbss_dgram.c1041 if (cmsg->cmsg_level != IPPROTO_SCTP) in dgram_sctp_read()
1278 cmsg->cmsg_level = IPPROTO_SCTP; in dgram_sctp_write()
1290 cmsg->cmsg_level = IPPROTO_SCTP; in dgram_sctp_write()
1300 cmsg->cmsg_level = IPPROTO_SCTP; in dgram_sctp_write()

12