/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 588 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/libchrome/base/posix/ |
D | unix_domain_socket_linux.cc | 69 cmsg->cmsg_type = SCM_RIGHTS; in SendMsg() 142 cmsg->cmsg_type == SCM_RIGHTS) { in RecvMsgWithFlags() 152 cmsg->cmsg_type == SCM_CREDENTIALS) { in RecvMsgWithFlags()
|
/external/strace/ |
D | net.c | 311 int cmsg_type; member 475 print_cmsg_type_data(struct tcb *tcp, const int cmsg_level, const int cmsg_type, in print_cmsg_type_data() argument 480 printxval(scmvals, cmsg_type, "SCM_???"); in print_cmsg_type_data() 481 switch (cmsg_type) { in print_cmsg_type_data() 494 printxval(ip_cmsg_types, cmsg_type, "IP_???"); in print_cmsg_type_data() 495 switch (cmsg_type) { in print_cmsg_type_data() 524 tprintf("%u", cmsg_type); in print_cmsg_type_data() 559 int cmsg_type = in printcmsghdr() local 561 (current_wordsize < sizeof(long)) ? u.cmsg32->cmsg_type : in printcmsghdr() 563 u.cmsg->cmsg_type; in printcmsghdr() [all …]
|
/external/avahi/avahi-core/ |
D | socket.c | 523 cmsg->cmsg_type = IP_PKTINFO; in avahi_send_dns_packet_ipv4() 552 cmsg->cmsg_type = IP_SENDSRCADDR; in avahi_send_dns_packet_ipv4() 609 cmsg->cmsg_type = IPV6_PKTINFO; in avahi_send_dns_packet_ipv6() 715 switch (cmsg->cmsg_type) { in avahi_recv_dns_packet_ipv4() 770 avahi_log_warn("Unhandled cmsg_type: %d", cmsg->cmsg_type); in avahi_recv_dns_packet_ipv4() 867 switch (cmsg->cmsg_type) { in avahi_recv_dns_packet_ipv6() 892 avahi_log_warn("Unhandled cmsg_type: %d", cmsg->cmsg_type); in avahi_recv_dns_packet_ipv6()
|
D | netlink.c | 78 if (!cmsg || cmsg->cmsg_type != SCM_CREDENTIALS) { in avahi_netlink_work()
|
/external/avahi/avahi-daemon/ |
D | chroot.c | 138 cmsg.hdr.cmsg_type = SCM_RIGHTS; in send_fd() 178 cmsg.hdr.cmsg_type = SCM_RIGHTS; in recv_fd() 200 assert(h->cmsg_type == SCM_RIGHTS); in recv_fd()
|
/external/strace/tests/ |
D | inet-cmsg.c | 164 switch (c->cmsg_type) { in main() 186 printf("%d", c->cmsg_type); in main()
|
D | scm_rights.c | 74 control.cmsg.cmsg_type = SCM_RIGHTS; in main()
|
/external/valgrind/none/tests/ |
D | fdleak_cmsg.c | 69 cmsg->cmsg_type = SCM_RIGHTS; in server() 133 cmsg->cmsg_type == SCM_RIGHTS && in client()
|
/external/dnsmasq/src/ |
D | tftp.c | 100 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()
|
D | forward.c | 73 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()
|
D | dhcp.c | 176 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/iputils/ |
D | tracepath6.c | 175 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()
|
D | tracepath.c | 151 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()
|
D | ping6.c | 212 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/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 233 if (hdr->cmsg_type == SCM_RIGHTS) { in ClientEvent() 247 } else if (hdr->cmsg_type == SCM_CREDENTIALS) { in ClientEvent()
|
D | crash_generation_client.cc | 70 hdr->cmsg_type = SCM_RIGHTS; in RequestDump()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 430 "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/ |
D | ninfod.c | 318 (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/iproute2/include/ |
D | bpf_scm.h | 57 cmsg->cmsg_type = SCM_RIGHTS; in bpf_map_set_init()
|
/external/libnl/lib/ |
D | nl.c | 264 cmsg->cmsg_type = SCM_CREDENTIALS; in nl_send_iovec() 474 cmsg->cmsg_type == SCM_CREDENTIALS) { in nl_recv()
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 905 hdr->cmsg_type = SCM_RIGHTS; in CrashHandler() 910 hdr->cmsg_type = SCM_CREDENTIALS; in CrashHandler() 971 if (hdr->cmsg_type == SCM_RIGHTS) { in TEST() 976 } else if (hdr->cmsg_type == SCM_CREDENTIALS) { in TEST()
|
/external/libpcap/ |
D | pcap-bt-monitor-linux.c | 112 if (cmsg->cmsg_type == SCM_TIMESTAMP) { in bt_monitor_read()
|
/external/iproute2/examples/bpf/ |
D | bpf_agent.c | 188 if (!cmsg || cmsg->cmsg_type != SCM_RIGHTS) in bpf_map_set_recv()
|
/external/avahi/avahi-autoipd/ |
D | iface-linux.c | 211 if (!(cmsghdr = CMSG_FIRSTHDR(&msghdr)) || cmsghdr->cmsg_type != SCM_CREDENTIALS) { in process_response()
|