Searched refs:cmsg_type (Results 1 – 20 of 20) sorted by relevance
69 cmsg->cmsg_type = SCM_RIGHTS; in server()133 cmsg->cmsg_type == SCM_RIGHTS && in client()
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()
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()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()
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()
320 "cmsg %d %d\n", cm->cmsg_level, cm->cmsg_type);)325 && cm->cmsg_type == IPV6_PKTINFO350 && cm->cmsg_type == IP_PKTINFO367 && cm->cmsg_type == IPV6_RECVDSTADDR384 && cm->cmsg_type == IP_RECVDSTADDR486 cm->cmsg_type = IPV6_PKTINFO;546 cm->cmsg_type = IP_PKTINFO;
1608 cmsg->cmsg_type = SCM_RIGHTS;
109 && cmsg->cmsg_type == SCM_RIGHTS) { in bt_audio_service_get_data_fd()
157 cmsg->cmsg_type = SCM_RIGHTS; in unix_sendmsg_fd()
190 if (hdr->cmsg_type == SCM_RIGHTS) { in OnFileCanReadWithoutBlocking()207 } else if (hdr->cmsg_type == SCM_CREDENTIALS) { in OnFileCanReadWithoutBlocking()
205 …if (controlMessage && controlMessage->cmsg_level == SOL_SOCKET && controlMessage->cmsg_type == SCM… in readyReadHandler()362 cmsg->cmsg_type = SCM_RIGHTS; in sendOutgoingMessage()
869 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()
76 int cmsg_type; /* protocol-specific type */ member
1100 printxval(scmvals, cmsg->cmsg_type, "SCM_???");1103 if (cmsg->cmsg_type == SCM_RIGHTS1119 if (cmsg->cmsg_type == SCM_CREDENTIALS
333 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()
682 c->cmsg_type != SO_TIMESTAMP) in main_loop()998 if (cmsg->cmsg_type == IP_RECVERR) in receive_error_msg()
285 switch (cmsg->cmsg_type) { in process_frames()
208 c->cmsg_type != IPV6_FLOWINFO)
602 int cmsg_type; /* protocol-specific type */ member
2079 cmsg->cmsg_type != SCM_RIGHTS) in unix_process_msgfd()
915 cm->cmsg_type == VKI_SCM_RIGHTS ) { in check_cmsg_for_fds()