Home
last modified time | relevance | path

Searched refs:cmsg_type (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/net/tools/quic/
Dquic_socket_utils.cc33 if (cmsg->cmsg_type == IPV6_PKTINFO) { in GetAddressFromMsghdr()
38 } else if (cmsg->cmsg_type == IP_PKTINFO) { in GetAddressFromMsghdr()
61 if (cmsg->cmsg_type == SO_RXQ_OVFL) { in GetOverflowFromMsghdr()
162 cmsg->cmsg_type = IP_PKTINFO; in SetIpInfoInCmsg()
171 cmsg->cmsg_type = IPV6_PKTINFO; in SetIpInfoInCmsg()
/external/chromium_org/mojo/embedder/
Dplatform_channel_utils_posix.cc97 cmsg->cmsg_type = SCM_RIGHTS; in PlatformChannelSendmsgWithHandles()
124 cmsg->cmsg_type = SCM_RIGHTS; in PlatformChannelSendHandles()
170 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in PlatformChannelRecvmsg()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c588 cmptr->cmsg_type == IP_PKTINFO) { in recvfrom_flags()
603 cmptr->cmsg_type == IP_RECVDSTADDR) { in recvfrom_flags()
615 cmptr->cmsg_type == IP_RECVIF) { in recvfrom_flags()
635 cmptr->cmsg_type == IP_RECVTTL) { in recvfrom_flags()
640 … cmptr->cmsg_type == IP_TTL) { // some implementations seem to send IP_TTL instead of IP_RECVTTL in recvfrom_flags()
648 cmptr->cmsg_type == IPV6_2292_PKTINFO) { in recvfrom_flags()
667 cmptr->cmsg_type == IPV6_2292_HOPLIMIT) { in recvfrom_flags()
/external/chromium_org/base/posix/
Dunix_domain_socket_linux.cc61 cmsg->cmsg_type = SCM_RIGHTS; in SendMsg()
127 cmsg->cmsg_type == SCM_RIGHTS) { in RecvMsgWithFlags()
134 cmsg->cmsg_type == SCM_CREDENTIALS) { in RecvMsgWithFlags()
/external/valgrind/main/none/tests/
Dfdleak_cmsg.c69 cmsg->cmsg_type = SCM_RIGHTS; in server()
133 cmsg->cmsg_type == SCM_RIGHTS && in client()
/external/iputils/
Dtracepath6.c175 switch(cmsg->cmsg_type) { in recverr()
186 printf("cmsg6:%d\n ", cmsg->cmsg_type); in recverr()
190 switch(cmsg->cmsg_type) { in recverr()
198 printf("cmsg4:%d\n ", cmsg->cmsg_type); in recverr()
Dtracepath.c151 if (cmsg->cmsg_type == IP_RECVERR) { in recverr()
153 } else if (cmsg->cmsg_type == IP_TTL) { in recverr()
156 printf("cmsg:%d\n ", cmsg->cmsg_type); in recverr()
Dping6.c212 cmsg->cmsg_type = IPV6_RTHDR; in inet6_srcrt_init()
850 srcrt->cmsg_type = IPV6_RTHDR; in main()
1050 cmsg->cmsg_type = IPV6_PKTINFO; in main()
1301 if (cmsg->cmsg_type == IPV6_RECVERR) in receive_error_msg()
1600 switch(c->cmsg_type) { in parse_reply()
/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.c73 cmptr->cmsg_type = IP_PKTINFO; in send_from()
79 cmptr->cmsg_type = IP_SENDSRCADDR; in send_from()
89 cmptr->cmsg_type = IPV6_PKTINFO; 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()
300 cmptr->cmsg_type = IP_PKTINFO; in dhcp_packet()
/external/ipsec-tools/src/racoon/
Dsockmisc.c430 "cmsg %d %d\n", cm->cmsg_level, cm->cmsg_type);)
435 && cm->cmsg_type == IPV6_PKTINFO
461 && cm->cmsg_type == IP_PKTINFO
479 && cm->cmsg_type == IPV6_RECVDSTADDR
497 && cm->cmsg_type == IP_RECVDSTADDR
598 cm->cmsg_type = IPV6_PKTINFO;
658 cm->cmsg_type = IP_PKTINFO;
/external/strace/tests/
Dscm_rights.c50 cmsg->cmsg_type = SCM_RIGHTS; in main()
/external/iputils/ninfod/
Dninfod.c318 (cmsg->cmsg_type == IPV6_PKTINFO in ni_recv()
320 || cmsg->cmsg_type == IPV6_2292PKTINFO in ni_recv()
359 cmsg->cmsg_type = ipv6_pktinfo; in ni_send()
/external/chromium_org/components/crash/browser/
Dcrash_handler_host_linux.cc219 if (hdr->cmsg_type == SCM_RIGHTS) { in OnFileCanReadWithoutBlocking()
237 } else if (hdr->cmsg_type == SCM_CREDENTIALS) { in OnFileCanReadWithoutBlocking()
/external/chromium_org/chrome/utility/image_writer/
Dimage_writer_mac.cc151 cmsg_socket_header->cmsg_type == SCM_RIGHTS) { in OpenDevice()
/external/dhcpcd/
Dlpf.c205 cmsg->cmsg_type == PACKET_AUXDATA) { in get_raw_packet()
Dipv6rs.c208 cm->cmsg_type = IPV6_PKTINFO; in ipv6rs_sendprobe()
217 cm->cmsg_type = IPV6_HOPLIMIT; in ipv6rs_sendprobe()
313 switch(cm->cmsg_type) { in ipv6rs_handledata()
/external/bluetooth/bluedroid/btif/src/
Dbtif_sock_util.c125 cmsg->cmsg_type = SCM_RIGHTS; in sock_send_fd()
/external/libnl/lib/
Dnl.c264 cmsg->cmsg_type = SCM_CREDENTIALS; in nl_send_iovec()
474 cmsg->cmsg_type == SCM_CREDENTIALS) { in nl_recv()
/external/strace/
Dnet.c324 printxval(scmvals, cmsg->cmsg_type, "SCM_???"); in printcmsghdr()
327 if (cmsg->cmsg_type == SCM_RIGHTS in printcmsghdr()
343 if (cmsg->cmsg_type == SCM_CREDENTIALS in printcmsghdr()
/external/openssl/crypto/bio/
Dbss_dgram.c1044 if (cmsg->cmsg_type == SCTP_RCVINFO) in dgram_sctp_read()
1059 if (cmsg->cmsg_type == SCTP_SNDRCV) in dgram_sctp_read()
1279 cmsg->cmsg_type = SCTP_SNDINFO; in dgram_sctp_write()
1291 cmsg->cmsg_type = SCTP_PRINFO; in dgram_sctp_write()
1301 cmsg->cmsg_type = SCTP_SNDRCV; in dgram_sctp_write()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsocket.h331 int cmsg_type; /* protocol-specific type */ member
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h390 int cmsg_type; member
405 int cmsg_type; member
/external/chromium_org/ipc/
Dipc_channel_posix.cc433 cmsg->cmsg_type = SCM_RIGHTS; in ProcessOutgoingMessages()
920 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in ExtractFileDescriptorsFromMsghdr()

12