Lines Matching refs:require_action
708 …require_action( sd >= 0, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTransaction", "socket" … in UDPServerTransaction()
718 …require_action( res == (int) request->len, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTrans… in UDPServerTransaction()
725 …require_action( res >= 0, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTransaction", "select"… in UDPServerTransaction()
726 …require_action( ( res > 0 ) && FD_ISSET( sd, &rset ), exit, err = mStatus_UnknownErr; Log( "UDPSer… in UDPServerTransaction()
731 …require_action( ( ( int ) reply->len ) >= 0, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTra… in UDPServerTransaction()
732 …require_action( reply->len >= sizeof( DNSMessageHeader ), exit, err = mStatus_UnknownErr; Log( "UD… in UDPServerTransaction()
915 require_action( sock, exit, err = mStatus_UnknownErr; Log( "UpdateSRV: ConnectToServer failed" ) ); in UpdateSRV()
933 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
938 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
940 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
942 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
947 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
949 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
957 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
959 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
961 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
965 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
967 …require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
975 require_action( ptr, exit, Log("UpdateSRV: Error constructing lease expiration update" ) ); in UpdateSRV()
983 require_action( !err, exit, Log( "UpdateSRV: SendPacket failed" ) ); in UpdateSRV()
986 …require_action( reply, exit, err = mStatus_UnknownErr; Log( "UpdateSRV: RecvPacket returned NULL" … in UpdateSRV()
1069 require_action( cfgfile, arg_error, err = mStatus_NoMemoryErr ); in ProcessArgs()
1102 …case 'f': free( cfgfile ); cfgfile = strdup( optarg ); require_action( cfgfile, arg_error, err = m… in ProcessArgs()
1115 require_action( d->zones, arg_error, err = mStatus_UnknownErr ); in ProcessArgs()
1169 …require_action( dnssd_SocketValid(self->tcpsd), exit, err = mStatus_UnknownErr; LogErr( "SetupSock… in SetupSockets()
1173 require_action( !err, exit, LogErr( "SetupSockets", "SO_REUSEADDR self->tcpsd" ) ); in SetupSockets()
1177 require_action( !err, exit, LogErr( "SetupSockets", "bind self->tcpsd" ) ); in SetupSockets()
1180 require_action( !err, exit, LogErr( "SetupSockets", "listen" ) ); in SetupSockets()
1183 …require_action( dnssd_SocketValid(self->udpsd), exit, err = mStatus_UnknownErr; LogErr( "SetupSock… in SetupSockets()
1187 require_action( !err, exit, LogErr( "SetupSockets", "SO_REUSEADDR self->udpsd" ) ); in SetupSockets()
1191 require_action( !err, exit, LogErr( "SetupSockets", "bind self->udpsd" ) ); in SetupSockets()
1208 …require_action( dnssd_SocketValid(self->llq_tcpsd), exit, err = mStatus_UnknownErr; LogErr( "Setup… in SetupSockets()
1212 require_action( !err, exit, LogErr( "SetupSockets", "SO_REUSEADDR self->llq_tcpsd" ) ); in SetupSockets()
1216 require_action( !err, exit, LogErr( "SetupSockets", "bind self->llq_tcpsd" ) ); in SetupSockets()
1219 require_action( !err, exit, LogErr( "SetupSockets", "listen" ) ); in SetupSockets()
1222 …require_action( dnssd_SocketValid(self->llq_udpsd), exit, err = mStatus_UnknownErr; LogErr( "Setup… in SetupSockets()
1226 require_action( !err, exit, LogErr( "SetupSockets", "SO_REUSEADDR self->llq_udpsd" ) ); in SetupSockets()
1230 require_action( !err, exit, LogErr( "SetupSockets", "bind self->llq_udpsd" ) ); in SetupSockets()
1236 require_action( !err, exit, LogErr( "SetupSockets", "socketpair" ) ); in SetupSockets()
1244 …require_action( dnssd_SocketValid(self->tlssd), exit, err = mStatus_UnknownErr; LogErr( "SetupSock… in SetupSockets()
1251 …require_action( dnssd_SocketValid(self->tlssd), exit, err = mStatus_UnknownErr; LogErr( "SetupSock… in SetupSockets()
1255 require_action( !err, exit, LogErr( "SetupSockets", "SO_REUSEADDR self->tlssd" ) ); in SetupSockets()
1259 require_action( !err, exit, LogErr( "SetupSockets", "bind self->tlssd" ) ); in SetupSockets()
1262 require_action( !err, exit, LogErr( "SetupSockets", "listen" ) ); in SetupSockets()
1278 require_action( !err, exit, LogErr( "SetupSockets", "mDNSPlatformTLSSetupCerts" ) ); in SetupSockets()
1327 require_action( reply, end, Log( "DeleteOneRecord: RecvPacket returned NULL" ) ); in DeleteOneRecord()
1589 …require_action( ok, exit, err = mStatus_UnknownErr; VLog( "Message from %s not a successful update… in HandleRequest()
1780 require_action( reply, end, Log( "AnswerQuestion: RecvPacket returned NULL" ) ); in AnswerQuestion()
2313 …require_action( res == ( int ) pkt->len, exit, err = mStatus_UnknownErr; LogErr( "RecvNotify", "se… in RecvNotify()
2540 require_action( reply, exit, err = mStatus_UnknownErr ); in UDPMessageHandler()
2577 require_action( context, exit, err = mStatus_NoMemoryErr ; LogErr( "RecvUDPMessage", "malloc" ) ); in RecvUDPMessage()
2585 …require_action( res >= 0, exit, err = mStatus_UnknownErr ; LogErr( "RecvUDPMessage", "recvfrom" ) … in RecvUDPMessage()
2587 …require_action( clisize == sizeof( context->cliaddr ), exit, err = mStatus_UnknownErr ; Log( "Clie… in RecvUDPMessage()
2621 require_action( !err, exit, LogErr( "RecvUDPMessage", "pthread_create" ) ); in RecvUDPMessage()
2690 …require_action( res >= 0, exit, LogMsg("TCPMessageHandler: Unable to send reply to client %s", ine… in TCPMessageHandler()
2727 require_action( pkt || !closed, exit, err = mStatus_UnknownErr; LogMsg( "client disconnected" ) ); in RecvTCPMessage()
2816 …require_action( context, exit, err = mStatus_NoMemoryErr; LogErr( "AcceptTCPConnection", "malloc" … in AcceptTCPConnection()
2820 …require_action( newSock != -1, exit, err = mStatus_UnknownErr; LogErr( "AcceptTCPConnection", "acc… in AcceptTCPConnection()
2823 …require_action( context->sock, exit, err = mStatus_UnknownErr; LogErr( "AcceptTCPConnection", "mDN… in AcceptTCPConnection()
2826 require_action( !err, exit, LogErr( "AcceptTCPConnection", "AddSourceToEventLoop" ) ); in AcceptTCPConnection()
3014 require_action( elem, exit, err = mStatus_NoMemoryErr ); in SetPublicSRV()