Home
last modified time | relevance | path

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

12

/external/chromium_org/net/tools/quic/
Dquic_socket_utils.cc32 if (cmsg->cmsg_type == IPV6_PKTINFO) { in GetAddressFromMsghdr()
37 } else if (cmsg->cmsg_type == IP_PKTINFO) { in GetAddressFromMsghdr()
60 if (cmsg->cmsg_type == SO_RXQ_OVFL) { in GetOverflowFromMsghdr()
174 cmsg->cmsg_type = IP_PKTINFO; in WritePacket()
187 cmsg->cmsg_type = IPV6_PKTINFO; in WritePacket()
/external/openssh/
Dmonitor_fdpass.c73 cmsg->cmsg_type = SCM_RIGHTS; in mm_send_fd()
169 if (cmsg->cmsg_type != SCM_RIGHTS) { in mm_receive_fd()
171 SCM_RIGHTS, cmsg->cmsg_type); in mm_receive_fd()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c581 cmptr->cmsg_type == IP_PKTINFO) { in recvfrom_flags()
596 cmptr->cmsg_type == IP_RECVDSTADDR) { in recvfrom_flags()
608 cmptr->cmsg_type == IP_RECVIF) { in recvfrom_flags()
628 cmptr->cmsg_type == IP_RECVTTL) { in recvfrom_flags()
633 … cmptr->cmsg_type == IP_TTL) { // some implementations seem to send IP_TTL instead of IP_RECVTTL in recvfrom_flags()
641 cmptr->cmsg_type == IPV6_2292_PKTINFO) { in recvfrom_flags()
660 cmptr->cmsg_type == IPV6_2292_HOPLIMIT) { in recvfrom_flags()
/external/valgrind/main/none/tests/
Dfdleak_cmsg.c69 cmsg->cmsg_type = SCM_RIGHTS; in server()
133 cmsg->cmsg_type == SCM_RIGHTS && in client()
/external/chromium_org/base/posix/
Dunix_domain_socket_linux.cc39 cmsg->cmsg_type = SCM_RIGHTS; in SendMsg()
92 cmsg->cmsg_type == SCM_RIGHTS) { in RecvMsgWithFlags()
/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()
1047 cmsg->cmsg_type = IPV6_PKTINFO; in main()
1298 if (cmsg->cmsg_type == IPV6_RECVERR) in receive_error_msg()
1597 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()
640 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in receive_query()
649 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in receive_query()
651 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in receive_query()
664 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/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/chrome/browser/
Dcrash_handler_host_linux.cc190 if (hdr->cmsg_type == SCM_RIGHTS) { in OnFileCanReadWithoutBlocking()
207 } else if (hdr->cmsg_type == SCM_CREDENTIALS) { in OnFileCanReadWithoutBlocking()
/external/chromium_org/components/breakpad/browser/
Dcrash_handler_host_linux.cc228 if (hdr->cmsg_type == SCM_RIGHTS) { in OnFileCanReadWithoutBlocking()
245 } else if (hdr->cmsg_type == SCM_CREDENTIALS) { in OnFileCanReadWithoutBlocking()
/external/chromium_org/sandbox/linux/seccomp-bpf/
Ddemo.cc75 cmsg->cmsg_type = SCM_RIGHTS; in SendFds()
132 cmsg->cmsg_type != SCM_RIGHTS || in GetFds()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h78 int cmsg_type; member
93 int cmsg_type; member
/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.c127 cmsg->cmsg_type = SCM_RIGHTS; in sock_send_fd()
/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/third_party/openssl/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.h332 int cmsg_type; /* protocol-specific type */ member
/external/kernel-headers/original/linux/
Dsocket.h89 int cmsg_type; /* protocol-specific type */ member
/external/chromium_org/ipc/
Dipc_channel_posix.cc421 cmsg->cmsg_type = SCM_RIGHTS; in ProcessOutgoingMessages()
905 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in ExtractFileDescriptorsFromMsghdr()

12