Searched refs:cmsg_type (Results 1 – 17 of 17) sorted by relevance
| /xnu-8792.41.9/tests/ |
| H A D | uipc_uaf.c | 49 ctrl_msg.cmsg.cmsg_type = SCM_RIGHTS; in send_scm_rights() 60 overwrite_ctrl_msg.cmsg.cmsg_type = SCM_RIGHTS; in send_scm_rights()
|
| H A D | fd_send.c | 37 cmsghdrp->cmsg_type = SCM_RIGHTS; in send_fd() 83 if (cmsghdrp->cmsg_type != SCM_RIGHTS) { in recv_fd()
|
| H A D | unp_externalize_fd_alloc.c | 45 cmsghdr->cmsg_type = SCM_RIGHTS;
|
| H A D | scm_rights_leak.c | 50 cmsg->cmsg_type = SCM_RIGHTS;
|
| H A D | tcp_send_implied_connect.c | 110 cmsghdrp->cmsg_type = SCM_RIGHTS; in tcp_send_implied_connect_v4() 186 cmsghdrp->cmsg_type = SCM_RIGHTS; in tcp_send_implied_connect_v6()
|
| H A D | v4mappedv6_recvpktinfo.c | 250 T_LOG("cmsg_level: %d, cmsg_type: %d\n", cmsg->cmsg_level, cmsg->cmsg_type); in handle_recv()
|
| H A D | recvmsg_x_test.c | 149 … T_LOG("level = %d, type = %d, length = %d\n", cmsg->cmsg_level, cmsg->cmsg_type, cmsg->cmsg_len); in recvPackets_x()
|
| /xnu-8792.41.9/bsd/kern/ |
| H A D | uipc_syscalls.c | 1839 if (cp->cmsg_level == SOL_SOCKET && cp->cmsg_type == SCM_TIMESTAMP) { in copyout_control() 1846 tmp_cp->cmsg_type = SCM_TIMESTAMP; in copyout_control() 1878 ((cp->cmsg_level == IPPROTO_IP && cp->cmsg_type == IP_RECVDSTADDR && inp != NULL && in copyout_control() 1880 …(cp->cmsg_level == IPPROTO_IPV6 && (cp->cmsg_type == IPV6_PKTINFO || cp->cmsg_type == IPV6_2292PKT… in copyout_control() 1899 (cp->cmsg_type == IPV6_PKTINFO || cp->cmsg_type == IPV6_2292PKTINFO)) { in copyout_control()
|
| H A D | socket_flows.c | 796 SOFLOW_LOG(LOG_DEBUG, so, true, "Check control type %d", cm->cmsg_type); in soflow_udp_get_address_from_control() 798 switch (cm->cmsg_type) { in soflow_udp_get_address_from_control()
|
| H A D | uipc_usrreq.c | 2446 if (cm->cmsg_type != SCM_RIGHTS || cm->cmsg_level != SOL_SOCKET || in unp_internalize() 2731 cm->cmsg_type != SCM_RIGHTS) { in unp_scan()
|
| H A D | uipc_socket.c | 3123 if (cm->cmsg_level == SOL_SOCKET && cm->cmsg_type == SCM_RIGHTS) { in sopeek_scm_rights() 3213 int cmsg_type; in soreceive_ctl() local 3218 cmsg_type = mtod(cm, struct cmsghdr *)->cmsg_type; in soreceive_ctl() 3229 cmsg_type == SCM_RIGHTS) { in soreceive_ctl()
|
| H A D | uipc_socket2.c | 1943 cp->cmsg_type = type; in sbcreatecontrol() 1975 cp->cmsg_type = type; in sbcreatecontrol_mbuf()
|
| /xnu-8792.41.9/bsd/netinet/ |
| H A D | in_tclass.c | 1038 switch (cm->cmsg_type) { in so_tc_from_control() 1083 cm->cmsg_type == IP_TOS) || in so_tos_from_control() 1085 cm->cmsg_type == IPV6_TCLASS)) { in so_tos_from_control()
|
| H A D | udp_usrreq.c | 1435 cm->cmsg_type != IP_PKTINFO) { in udp_check_pktinfo()
|
| H A D | tcp_usrreq.c | 3188 cm->cmsg_type != SCM_MPKL_SEND_INFO) { in tcp_get_mpkl_send_info()
|
| /xnu-8792.41.9/bsd/sys/ |
| H A D | socket.h | 1093 int cmsg_type; /* [XSI] protocol-specific type */ member
|
| /xnu-8792.41.9/bsd/netinet6/ |
| H A D | ip6_output.c | 3624 error = ip6_setpktopt(cm->cmsg_type, CMSG_DATA(cm), in ip6_setpktopts()
|