Home
last modified time | relevance | path

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

12

/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/libchrome/base/posix/
Dunix_domain_socket_linux.cc68 cmsg->cmsg_level = SOL_SOCKET; in SendMsg()
141 if (cmsg->cmsg_level == SOL_SOCKET && in RecvMsgWithFlags()
151 if (cmsg->cmsg_level == SOL_SOCKET && in RecvMsgWithFlags()
/external/avahi/avahi-daemon/
Dchroot.c137 cmsg.hdr.cmsg_level = SOL_SOCKET; in send_fd()
177 cmsg.hdr.cmsg_level = SOL_SOCKET; in recv_fd()
199 assert(h->cmsg_level = SOL_SOCKET); in recv_fd()
/external/valgrind/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/strace/
Dnet.c310 int cmsg_level; member
475 print_cmsg_type_data(struct tcb *tcp, const int cmsg_level, const int cmsg_type, in print_cmsg_type_data() argument
478 switch (cmsg_level) { in print_cmsg_type_data()
554 int cmsg_level = in printcmsghdr() local
556 (current_wordsize < sizeof(long)) ? u.cmsg32->cmsg_level : in printcmsghdr()
558 u.cmsg->cmsg_level; in printcmsghdr()
568 printxval(socketlayers, cmsg_level, "SOL_???"); in printcmsghdr()
574 print_cmsg_type_data(tcp, cmsg_level, cmsg_type, in printcmsghdr()
/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/avahi/avahi-core/
Dsocket.c522 cmsg->cmsg_level = IPPROTO_IP; in avahi_send_dns_packet_ipv4()
551 cmsg->cmsg_level = IPPROTO_IP; in avahi_send_dns_packet_ipv4()
608 cmsg->cmsg_level = IPPROTO_IPV6; in avahi_send_dns_packet_ipv6()
713 if (cmsg->cmsg_level == IPPROTO_IP) { in avahi_recv_dns_packet_ipv4()
865 if (cmsg->cmsg_level == IPPROTO_IPV6) { in avahi_recv_dns_packet_ipv6()
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_client.cc69 hdr->cmsg_level = SOL_SOCKET; in RequestDump()
Dcrash_generation_server.cc231 if (hdr->cmsg_level != SOL_SOCKET) in ClientEvent()
/external/iproute2/include/
Dbpf_scm.h56 cmsg->cmsg_level = SOL_SOCKET; in bpf_map_set_init()
/external/strace/tests/
Dscm_rights.c73 control.cmsg.cmsg_level = SOL_SOCKET; in main()
Dinet-cmsg.c158 if (IPPROTO_IP != c->cmsg_level) in main()
/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()
Dtracepath6.c173 switch (cmsg->cmsg_level) { in recverr()
Dping.c638 if (cmsg->cmsg_level == SOL_IP) { in receive_error_msg()
815 if (cmsg->cmsg_level != SOL_IP) in parse_reply()
/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/ninfod/
Dninfod.c317 if (cmsg->cmsg_level == IPPROTO_IPV6 && in ni_recv()
358 cmsg->cmsg_level = IPPROTO_IPV6; in ni_send()
/external/libpcap/
Dpcap-bt-monitor-linux.c110 if (cmsg->cmsg_level != SOL_SOCKET) continue; in bt_monitor_read()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc904 hdr->cmsg_level = SOL_SOCKET; in CrashHandler()
909 hdr->cmsg_level = SOL_SOCKET; in CrashHandler()
969 if (hdr->cmsg_level != SOL_SOCKET) in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_linux.cc333 if (cmsg->cmsg_level != SOL_SOCKET || cmsg->cmsg_type != SCM_RIGHTS) in ExtractRecvmsgFDs()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h410 int cmsg_level; member
425 int cmsg_level; member

12