Update Stellar export header and add stellar_get_current_thread_index() function

This commit is contained in:
luwenpeng
2024-04-22 20:01:15 +08:00
parent 8a41a79f06
commit 74f0504d3d
59 changed files with 134 additions and 87 deletions

View File

@@ -11,7 +11,7 @@
#include <linux/ppp_defs.h>
#include "uthash.h"
#include "packet_private.h"
#include "packet_priv.h"
#include "udp_utils.h"
#include "tcp_utils.h"
#include "ipv4_utils.h"

View File

@@ -1,5 +1,5 @@
#ifndef _PACKET_PRIVATE_H
#define _PACKET_PRIVATE_H
#ifndef _PACKET_PRIV_H
#define _PACKET_PRIV_H
#ifdef __cplusplus
extern "C"
@@ -10,8 +10,8 @@ extern "C"
#include <stdio.h>
#include "log.h"
#include "tuple.h"
#include "packet.h"
#include "stellar/tuple.h"
#include "stellar/packet.h"
#define PACKET_MAX_LAYERS 32
#define PACKET_LOG_ERROR(format, ...) LOG_ERROR("packet", format, ##__VA_ARGS__)

View File

@@ -2,7 +2,7 @@
#include <assert.h>
#include <string.h>
#include "packet_private.h"
#include "packet_priv.h"
#include "marsio.h"
/******************************************************************************

View File

@@ -1,7 +1,7 @@
#include <gtest/gtest.h>
#include <arpa/inet.h>
#include "packet_private.h"
#include "packet_priv.h"
/******************************************************************************
* Pcap file: 1-ETH_VLAN_VLAN_IP4_IP4_UDP.pcap

View File

@@ -1,6 +1,6 @@
#include <gtest/gtest.h>
#include "packet_private.h"
#include "packet_priv.h"
/******************************************************************************
* [Protocols in frame: eth:ethertype:ip:data]