rename log_private.h to log_internal.h
This commit is contained in:
2
deps/logger/log.c
vendored
2
deps/logger/log.c
vendored
@@ -10,7 +10,7 @@
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
#include "toml.h"
|
#include "toml.h"
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
|
|
||||||
enum log_output
|
enum log_output
|
||||||
{
|
{
|
||||||
|
|||||||
2
deps/logger/test/gtest_log.cpp
vendored
2
deps/logger/test/gtest_log.cpp
vendored
@@ -1,6 +1,6 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
TEST(LOG, STDERR)
|
TEST(LOG, STDERR)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "marsio.h"
|
#include "marsio.h"
|
||||||
#include "marsio_io.h"
|
#include "marsio_io.h"
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "packet_parser.h"
|
#include "packet_parser.h"
|
||||||
#include "packet_internal.h"
|
#include "packet_internal.h"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include "toml.h"
|
#include "toml.h"
|
||||||
#include "pcap_io.h"
|
#include "pcap_io.h"
|
||||||
#include "marsio_io.h"
|
#include "marsio_io.h"
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
|
|
||||||
#define PACKET_IO_LOG_ERROR(format, ...) STELLAR_LOG_ERROR(__thread_local_logger, "packet_io", format, ##__VA_ARGS__)
|
#define PACKET_IO_LOG_ERROR(format, ...) STELLAR_LOG_ERROR(__thread_local_logger, "packet_io", format, ##__VA_ARGS__)
|
||||||
#define PACKET_IO_LOG_INFO(format, ...) STELLAR_LOG_INFO(__thread_local_logger, "packet_io", format, ##__VA_ARGS__)
|
#define PACKET_IO_LOG_INFO(format, ...) STELLAR_LOG_INFO(__thread_local_logger, "packet_io", format, ##__VA_ARGS__)
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include "tuple.h"
|
#include "tuple.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "pcap_io.h"
|
#include "pcap_io.h"
|
||||||
#include "packet_dump.h"
|
#include "packet_dump.h"
|
||||||
#include "packet_parser.h"
|
#include "packet_parser.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "checksum.h"
|
#include "checksum.h"
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "packet_helper.h"
|
#include "packet_helper.h"
|
||||||
#include "packet_parser.h"
|
#include "packet_parser.h"
|
||||||
#include "packet_internal.h"
|
#include "packet_internal.h"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "packet_dump.h"
|
#include "packet_dump.h"
|
||||||
#include "packet_parser.h"
|
#include "packet_parser.h"
|
||||||
#include "packet_helper.h"
|
#include "packet_helper.h"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <netinet/ip_icmp.h>
|
#include <netinet/ip_icmp.h>
|
||||||
#include <linux/ppp_defs.h>
|
#include <linux/ppp_defs.h>
|
||||||
|
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "packet_helper.h"
|
#include "packet_helper.h"
|
||||||
#include "packet_internal.h"
|
#include "packet_internal.h"
|
||||||
#include "packet_parser.h"
|
#include "packet_parser.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "tuple.h"
|
#include "tuple.h"
|
||||||
#include "uthash.h"
|
#include "uthash.h"
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "packet_helper.h"
|
#include "packet_helper.h"
|
||||||
#include "packet_internal.h"
|
#include "packet_internal.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "session_internal.h"
|
#include "session_internal.h"
|
||||||
#include "session_transition.h"
|
#include "session_transition.h"
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "packet_io.h"
|
#include "packet_io.h"
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "stellar_stat.h"
|
#include "stellar_stat.h"
|
||||||
#include "packet_internal.h"
|
#include "packet_internal.h"
|
||||||
#include "session_internal.h"
|
#include "session_internal.h"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "stellar_stat.h"
|
#include "stellar_stat.h"
|
||||||
#include "fieldstat/fieldstat_easy.h"
|
#include "fieldstat/fieldstat_easy.h"
|
||||||
#include "fieldstat/fieldstat_exporter.h"
|
#include "fieldstat/fieldstat_exporter.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <sys/queue.h>
|
#include <sys/queue.h>
|
||||||
|
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
#include "interval_tree.h"
|
#include "interval_tree.h"
|
||||||
#include "tcp_reassembly.h"
|
#include "tcp_reassembly.h"
|
||||||
#include "stellar/stellar.h"
|
#include "stellar/stellar.h"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ extern "C"
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "toml.h"
|
#include "toml.h"
|
||||||
#include "log_private.h"
|
#include "log_internal.h"
|
||||||
|
|
||||||
#define RX_BURST_MAX 32
|
#define RX_BURST_MAX 32
|
||||||
#define MAX_THREAD_NUM 256 // limit by snowflake
|
#define MAX_THREAD_NUM 256 // limit by snowflake
|
||||||
|
|||||||
Reference in New Issue
Block a user