Home
last modified time | relevance | path

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

/external/valgrind/main/none/tests/
Dfdleak_cmsg.c69 cmsg->cmsg_type = SCM_RIGHTS; in server()
133 cmsg->cmsg_type == SCM_RIGHTS && 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.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.c320 "cmsg %d %d\n", cm->cmsg_level, cm->cmsg_type);)
325 && cm->cmsg_type == IPV6_PKTINFO
350 && cm->cmsg_type == IP_PKTINFO
367 && cm->cmsg_type == IPV6_RECVDSTADDR
384 && cm->cmsg_type == IP_RECVDSTADDR
486 cm->cmsg_type = IPV6_PKTINFO;
546 cm->cmsg_type = IP_PKTINFO;
Dprivsep.c1608 cmsg->cmsg_type = SCM_RIGHTS;
/external/bluetooth/bluez/audio/
Dipc.c109 && cmsg->cmsg_type == SCM_RIGHTS) { in bt_audio_service_get_data_fd()
Dunix.c157 cmsg->cmsg_type = SCM_RIGHTS; in unix_sendmsg_fd()
/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/webkit/Source/WebKit2/Platform/CoreIPC/unix/
DConnectionUnix.cpp205 …if (controlMessage && controlMessage->cmsg_level == SOL_SOCKET && controlMessage->cmsg_type == SCM… in readyReadHandler()
362 cmsg->cmsg_type = SCM_RIGHTS; in sendOutgoingMessage()
/external/ping6/
Dping6.c869 scmsgp->cmsg_type = IPV6_PKTINFO; in main()
887 scmsgp->cmsg_type = IPV6_HOPLIMIT; in main()
896 scmsgp->cmsg_type = IPV6_REACHCONF; in main()
910 scmsgp->cmsg_type = IPV6_RTHDR; in main()
1719 switch (cm->cmsg_type) { in pr_exthdrs()
2019 cm->cmsg_type == IPV6_HOPLIMIT && in get_hoplim()
2038 cm->cmsg_type == IPV6_PKTINFO && in get_rcvpktinfo()
2059 cm->cmsg_type == IPV6_PATHMTU && in get_pathmtu()
/external/kernel-headers/original/linux/
Dsocket.h76 int cmsg_type; /* protocol-specific type */ member
/external/strace/
Dnet.c1100 printxval(scmvals, cmsg->cmsg_type, "SCM_???");
1103 if (cmsg->cmsg_type == SCM_RIGHTS
1119 if (cmsg->cmsg_type == SCM_CREDENTIALS
/external/dbus/dbus/
Ddbus-sysdeps-unix.c333 if (cm->cmsg_level == SOL_SOCKET && cm->cmsg_type == SCM_RIGHTS) in _dbus_read_socket_with_unix_fds()
443 cm->cmsg_type = SCM_RIGHTS; in _dbus_write_socket_with_unix_fds_two()
1521 cmsg.hdr.cmsg_type = SCM_CREDS; in write_credentials_byte()
1674 || cmsg.hdr.cmsg_type != SCM_CREDS) in _dbus_read_credentials_socket()
/external/ping/
Dping.c682 c->cmsg_type != SO_TIMESTAMP) in main_loop()
998 if (cmsg->cmsg_type == IP_RECVERR) in receive_error_msg()
/external/bluetooth/hcidump/src/
Dhcidump.c285 switch (cmsg->cmsg_type) { in process_frames()
/external/iproute2/doc/
Dapi-ip6-flowlabels.tex208 c->cmsg_type != IPV6_FLOWINFO)
/external/valgrind/main/include/vki/
Dvki-linux.h602 int cmsg_type; /* protocol-specific type */ member
/external/qemu/
Dqemu-char.c2079 cmsg->cmsg_type != SCM_RIGHTS) in unix_process_msgfd()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-generic.c915 cm->cmsg_type == VKI_SCM_RIGHTS ) { in check_cmsg_for_fds()