Home
last modified time | relevance | path

Searched refs:TRACE_ERROR (Results 1 – 25 of 32) sorted by relevance

12

/mOS-networking-stack/samples/epserver/
H A Depserver-mp.c281 TRACE_ERROR("Invalid socket id %d.\n", c); in AcceptConnection()
296 TRACE_ERROR("mtcp_accept() error %s\n", in AcceptConnection()
338 TRACE_ERROR("mtcp_listen() failed!\n"); in CreateListeningSocket()
371 TRACE_ERROR("Failed to open %s.\n", www_main); in GlobInitServer()
438 TRACE_ERROR("Failed to create thread context!\n"); in InitServer()
485 TRACE_ERROR("Failed to create event struct!\n"); in RunServer()
576 TRACE_ERROR("calloc failure\n"); in RunApplication()
597 TRACE_ERROR("Failed to craete mtcp context.\n"); in RunMTCP()
626 TRACE_ERROR("Invalid core id!\n"); in main()
641 TRACE_ERROR("Failed to initialize mtcp.\n"); in main()
[all …]
H A Depserver.c282 TRACE_ERROR("Invalid socket id %d.\n", c); in AcceptConnection()
297 TRACE_ERROR("mtcp_accept() error %s\n", in AcceptConnection()
316 TRACE_ERROR("Failed to create listening socket!\n"); in CreateListeningSocket()
339 TRACE_ERROR("mtcp_listen() failed!\n"); in CreateListeningSocket()
372 TRACE_ERROR("Failed to open %s.\n", www_main); in GlobInitServer()
439 TRACE_ERROR("Failed to create thread context!\n"); in InitServer()
448 TRACE_ERROR("Failed to create epoll descriptor!\n"); in InitServer()
486 TRACE_ERROR("Failed to create event struct!\n"); in RunServer()
577 TRACE_ERROR("calloc failure\n"); in RunApplication()
598 TRACE_ERROR("Failed to craete mtcp context.\n"); in RunMTCP()
[all …]
/mOS-networking-stack/core/src/
H A Dmos_api.c106 TRACE_ERROR("filter not set!\n"); in mtcp_bind_monitor_filter()
113 TRACE_ERROR("sockid is invalid!\n"); in mtcp_bind_monitor_filter()
123 TRACE_ERROR("raw pkt filter is null"); in mtcp_bind_monitor_filter()
163 TRACE_ERROR("Invalid sock type!\n"); in mtcp_bind_monitor_filter()
951 TRACE_ERROR("Invalid mtcp!\n"); in mtcp_setlastpkt()
987 TRACE_ERROR("pctx is NULL!\n"); in mtcp_setlastpkt()
1023 TRACE_ERROR("Illegal call. " in mtcp_setlastpkt()
1028 TRACE_ERROR("Illegal call. " in mtcp_setlastpkt()
1174 TRACE_ERROR("Invalid option!\n"); in mtcp_setlastpkt()
1218 TRACE_ERROR("Invalid mtcp!\n"); in mtcp_cb_dropcurpkt()
[all …]
H A Dmemory_mgt.c45 TRACE_ERROR("The chunk size should be larger than %lu. current: %d\n", in MPCreate()
50 TRACE_ERROR("The chunk size should be multiply of 4!\n"); in MPCreate()
73 TRACE_ERROR("posix_memalign failed, size=%ld\n", total_size); in MPCreate()
82 TRACE_ERROR("posix_memalign failed, size=%ld\n", total_size); in MPCreate()
94 TRACE_ERROR("m_lock failed, size=%ld\n", total_size); in MPCreate()
H A Dpcap_module.c45 TRACE_ERROR("caplen = %u, len: %u\n", in pcap_recv_pkts()
136 TRACE_ERROR("Interface '%s' not found\n", ent[i]->dev_name); in pcap_load_module_upper_half()
142 TRACE_ERROR("Interface '%s' not found\n", ent[i]->dev_name); in pcap_load_module_upper_half()
148 TRACE_ERROR("Can't increase buffer size to %u bytes\n", in pcap_load_module_upper_half()
153 TRACE_ERROR("Failed to activate pcap handle!\n"); in pcap_load_module_upper_half()
H A Dconfig.c241 TRACE_ERROR("Could not allocate memory for netdev_entry!\n"); in FeedNetdevConfLine()
310 TRACE_ERROR("Could not allocate memory for arp_entry!\n"); in FeedArpConfLine()
341 TRACE_ERROR("Could not allocate memory for route_entry!\n"); in FeedRouteConfLine()
578 TRACE_ERROR("Could not allocate memory for app_conf!\n"); in InitAppBlock()
604 TRACE_ERROR("Could not allocate memory for mos_conf!\n"); in InitMosBlock()
689 TRACE_ERROR("Can't allocate memory for arp_entry\n"); in FetchARPKernelEntries()
696 TRACE_ERROR("Error reading the ARP entry\n"); in FetchARPKernelEntries()
796 TRACE_ERROR("Could not allocate memory for arp_conf!\n"); in InitArpBlock()
921 TRACE_ERROR("Cannot open the config file %s\n", fname); in ReadConf()
932 TRACE_ERROR("Can't allocate memory for file!\n"); in ReadConf()
[all …]
H A Dnetmap_module.c51 TRACE_ERROR("Failed to initialize ctxt->io_private_context: " in netmap_init_handle()
62 TRACE_ERROR("Failed to initialize interface %s with ifidx: %d - " in netmap_init_handle()
83 TRACE_ERROR("Unable to open %s: %s\n", in netmap_init_handle()
300 TRACE_ERROR("Couldn't open socket!\n"); in set_promisc()
306 TRACE_ERROR("Get ioctl for %s failed!\n", in set_promisc()
313 TRACE_ERROR("Interface %s is already set to " in set_promisc()
322 TRACE_ERROR("Set ioctl failed for %s\n", ifname); in set_promisc()
H A Dtcp_send_buffer.c33 TRACE_ERROR("SBManagerCreate() failed. %s\n", strerror(errno)); in SBManagerCreate()
43 TRACE_ERROR("Failed to create mem pool for sb.\n"); in SBManagerCreate()
50 TRACE_ERROR("Failed to create free buffer queue.\n"); in SBManagerCreate()
74 TRACE_ERROR("Failed to fetch memory chunk for data.\n"); in SBInit()
H A Dlogger.c52 TRACE_ERROR("free_buff_cnt(%d) + job_buff_cnt(%d) > NUM_LOG_BUFF(%d)\n", in EnqueueJobBuffer()
129 TRACE_ERROR("CPU %d: Exceed NUM_LOG_BUFF %d.\n", in ThreadLogMain()
135 TRACE_ERROR("CPU %d: Tried to write %d, but only write %ld\n", in ThreadLogMain()
156 TRACE_ERROR("CPU %d: " in ThreadLogMain()
H A Dcore.c616 TRACE_ERROR("Stream already closed.\n"); in HandleApplicationCalls()
660 TRACE_ERROR("Already closed connection!\n"); in HandleApplicationCalls()
689 TRACE_ERROR("Already closed connection!\n"); in HandleApplicationCalls()
708 TRACE_ERROR("Stream already closed.\n"); in HandleApplicationCalls()
725 TRACE_ERROR("Stream already closed.\n"); in HandleApplicationCalls()
751 TRACE_ERROR("Stream already closed.\n"); in HandleApplicationCalls()
1090 TRACE_ERROR("Failed to allocate mtcp_manager.\n"); in InitializeMTCPManager()
1298 TRACE_ERROR("Failed to calloc mtcp context.\n"); in MTCPRunThread()
1390 TRACE_ERROR("Failed initialize init_sem.\n"); in mtcp_create_context()
1396 TRACE_ERROR("Failed initialize done_sem.\n"); in mtcp_create_context()
[all …]
H A Dtcp_stream.c71 TRACE_ERROR("Invalid side requested!\n"); in GetFragInfo()
131 TRACE_ERROR("Invalid side requested!\n"); in GetBufInfo()
264 TRACE_ERROR("Exceeded epoll event queue! num_events: %d, " in RaiseReadEvent()
442 TRACE_ERROR("Cannot allocate memory for the stream. "
480 TRACE_ERROR("Stream %d: "
591 TRACE_ERROR("Can't create tcp_stream!\n");
599 TRACE_ERROR("Can't create tcp_stream!\n");
624 TRACE_ERROR("Can't create tcp_stream!\n");
659 TRACE_ERROR("Can't create tcp_stream!\n");
865 TRACE_ERROR("Can't determine interface idx!\n");
[all …]
H A Dtcp_out.c159 TRACE_ERROR("Payload size exceeds MSS.\n"); in SendTCPPacketStandalone()
260 TRACE_ERROR("Payload size exceeds MSS\n"); in SendTCPPacket()
302 TRACE_ERROR("Stream %u: not fss set. closed: %u\n", in SendTCPPacket()
429 TRACE_ERROR("Stream %d: No send buffer available.\n", cur_stream->id); in FlushTCPSendingBuffer()
447 TRACE_ERROR("Stream %d: Invalid sequence to send. " in FlushTCPSendingBuffer()
562 TRACE_ERROR("Stream %d: shouldn't send a control packet\n", in SendControlPacket()
610 TRACE_ERROR("Stream %d: not on control list.\n", cur_stream->id); in WriteTCPControlList()
697 TRACE_ERROR("Stream %d: not on send list.\n", cur_stream->id); in WriteTCPDataList()
805 TRACE_ERROR("Stream %d: not on ack list.\n", cur_stream->id); in WriteTCPACKList()
830 TRACE_ERROR("(NEVER HAPPEN) Failed to find appropriate sender.\n"); in GetSender()
[all …]
H A Dtimer.c19 TRACE_ERROR("calloc: InitHashStore"); in InitRTOHashstore()
41 TRACE_ERROR("Stream %u: cannot be in both " in AddtoRTOList()
313 TRACE_ERROR("Stream %d: not implemented state! state: %s, rto: %u\n", in HandleRTO()
331 TRACE_ERROR("Stream %u: fss not set.\n", cur_stream->id); in HandleRTO()
418 TRACE_ERROR("Stream %d: not on rto list.\n", walk->id); in CheckRtmTimeout()
483 TRACE_ERROR("Stream %d: not on timewait list.\n", walk->id); in CheckTimewaitExpire()
H A Ddpdk_module.c184 TRACE_ERROR("Failed to initialize ctxt->io_private_context: " in dpdk_init_handle()
199 TRACE_ERROR("Failed to allocate %d:wmbuf[%d] on device %d!\n", in dpdk_init_handle()
211 TRACE_ERROR("Can't open /dev/dpdk-iface for context->cpu: %d! " in dpdk_init_handle()
273 TRACE_ERROR("Failed to allocate %d:wmbuf[%d] on device %d!\n", in dpdk_send_pkts()
611 TRACE_ERROR("DPDK module requires # of memory channels " in dpdk_load_module_upper_half()
H A Dapi.c869 TRACE_ERROR("[NEVER HAPPEN] Empty accept queue!\n"); in mtcp_accept()
875 TRACE_ERROR("Failed to create new socket!\n"); in mtcp_accept()
1118 TRACE_ERROR("Socket %d: failed to create tcp_stream!\n", sockid); in mtcp_connect()
1159 TRACE_ERROR("Socket %d: failed to enqueue to conenct queue!\n", sockid); in mtcp_connect()
1175 TRACE_ERROR("STREAM DESTROYED\n"); in mtcp_connect()
1180 TRACE_ERROR("Socket %d: weird state %s\n", in mtcp_connect()
1262 TRACE_ERROR("(NEVER HAPPEN) Failed to enqueue the stream to close.\n"); in CloseStreamSocket()
1434 TRACE_ERROR("Stream %d: calling mtcp_abort() " in mtcp_abort()
1446 TRACE_ERROR("(NEVER HAPPEN) Failed to enqueue the stream to close.\n"); in mtcp_abort()
1755 TRACE_ERROR("SBPut failed. reason: %d (sndlen: %u, len: %u\n", in CopyFromUser()
H A Deventpoll.c432 TRACE_ERROR("pthread_cond_timedwait failed. ret: %d, error: %s\n", in mtcp_epoll_wait()
442 TRACE_ERROR("pthread_cond_wait failed. ret: %d, error: %s\n", in mtcp_epoll_wait()
570 TRACE_ERROR("Non-existing event queue type!\n"); in AddEpollEvent()
575 TRACE_ERROR("Exceeded epoll event queue! num_events: %d, size: %d\n", in AddEpollEvent()
H A Dip_out.c31 TRACE_ERROR("[WARNING] No route to %u.%u.%u.%u\n", in GetOutputInterface()
99 TRACE_ERROR("Failed to send a packet\n" in ForwardIPPacket()
H A Dtcp_rb_frag_queue.c110 TRACE_ERROR("Exceed capacity of frag queue!\n"); in RBFragEnqueue()
H A Dtcp_sb_queue.c110 TRACE_ERROR("Exceed capacity of buf queue!\n"); in SBEnqueue()
H A Dtcp_stream_queue.c194 TRACE_ERROR("Exceed capacity of stream queue!\n"); in StreamEnqueue()
/mOS-networking-stack/samples/nat/
H A Dnat.c68 TRACE_ERROR("mtcp_getpeer() failed for sock=%d\n", sock); in assign_port()
86 TRACE_ERROR("No suitable port found! (CPU %d)\n", mctx->cpu); in assign_port()
107 TRACE_ERROR("mtcp_setlastpkt() failed\n"); in set_addr()
114 TRACE_ERROR("mtcp_setlastpkt() failed\n"); in set_addr()
146 TRACE_ERROR("mtcp_getpeer() failed sock=%d side=%d\n", sock, side); in translate_addr()
179 TRACE_ERROR("Failed to create monitor raw socket!\n"); in init_monitor()
/mOS-networking-stack/samples/epwget/
H A Depwget.c183 TRACE_ERROR("Failed to set socket in nonblocking mode.\n"); in CreateConnection()
261 TRACE_ERROR("Socket %d: Sending HTTP request failed. " in SendHTTPRequest()
437 TRACE_ERROR("Failed to write.\n"); in HandleReadEvent()
636 TRACE_ERROR("Failed to create epoll struct!n"); in InitWget()
642 TRACE_ERROR("Failed to allocate events!\n"); in InitWget()
649 TRACE_ERROR("Failed to create wget variables!\n"); in InitWget()
744 TRACE_ERROR("Socket %d: event: %s\n", in RunWget()
775 TRACE_ERROR("calloc failure\n"); in RunApplication()
796 TRACE_ERROR("Failed to craete mtcp context.\n"); in RunMTCP()
834 TRACE_ERROR("Failed to initialize mtcp.\n"); in main()
[all …]
H A Depwget-mp.c182 TRACE_ERROR("Failed to set socket in nonblocking mode.\n"); in CreateConnection()
260 TRACE_ERROR("Socket %d: Sending HTTP request failed. " in SendHTTPRequest()
436 TRACE_ERROR("Failed to write.\n"); in HandleReadEvent()
634 TRACE_ERROR("Failed to create epoll struct!n"); in InitWget()
640 TRACE_ERROR("Failed to allocate events!\n"); in InitWget()
647 TRACE_ERROR("Failed to create wget variables!\n"); in InitWget()
742 TRACE_ERROR("Socket %d: event: %s\n", in RunWget()
773 TRACE_ERROR("calloc failure\n"); in RunApplication()
794 TRACE_ERROR("Failed to craete mtcp context.\n"); in RunMTCP()
823 TRACE_ERROR("Invalid core id!\n"); in main()
[all …]
/mOS-networking-stack/util/include/
H A Ddebug.h12 #define TRACE_ERROR(f, m...) { \ macro
18 #define TRACE_ERROR(f, m...) (void)0 macro
/mOS-networking-stack/core/src/include/
H A Ddebug.h29 #define TRACE_ERROR(f, m...) { \ macro
35 #define TRACE_ERROR(f, m...) (void)0 macro

12