Lines Matching refs:require_action

708require_action( sd >= 0, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTransaction", "socket" …  in UDPServerTransaction()
718require_action( res == (int) request->len, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTrans… in UDPServerTransaction()
725require_action( res >= 0, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTransaction", "select"… in UDPServerTransaction()
726require_action( ( res > 0 ) && FD_ISSET( sd, &rset ), exit, err = mStatus_UnknownErr; Log( "UDPSer… in UDPServerTransaction()
731require_action( ( ( int ) reply->len ) >= 0, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTra… in UDPServerTransaction()
732require_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()
933require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
938require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
940require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
942require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
947require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
949require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
957require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
959require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
961require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
965require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
967require_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()
986require_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()
1169require_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()
1183require_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()
1208require_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()
1222require_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()
1244require_action( dnssd_SocketValid(self->tlssd), exit, err = mStatus_UnknownErr; LogErr( "SetupSock… in SetupSockets()
1251require_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()
1589require_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()
2313require_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()
2585require_action( res >= 0, exit, err = mStatus_UnknownErr ; LogErr( "RecvUDPMessage", "recvfrom" ) … in RecvUDPMessage()
2587require_action( clisize == sizeof( context->cliaddr ), exit, err = mStatus_UnknownErr ; Log( "Clie… in RecvUDPMessage()
2621 require_action( !err, exit, LogErr( "RecvUDPMessage", "pthread_create" ) ); in RecvUDPMessage()
2690require_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()
2816require_action( context, exit, err = mStatus_NoMemoryErr; LogErr( "AcceptTCPConnection", "malloc" … in AcceptTCPConnection()
2820require_action( newSock != -1, exit, err = mStatus_UnknownErr; LogErr( "AcceptTCPConnection", "acc… in AcceptTCPConnection()
2823require_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()