blob: aa3ed50ca7ef7bff0517f2a0dd57b24c72af9cc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef _PROJECT_REQUIREMENT_H_
#define _PROJECT_REQUIREMENT_H_
/* ���ļ���stream_project.h����Ϊ: ���ļ�ֻ����ƽ̨�ڲ�ʹ�� */
#include "private/stream_internal.h"
#include "private/ip_reassembly.h"
#ifdef __cplusplus
extern "C" {
#endif
#define RAW_FRAG_V4_MODULE_NAME "ipv4_frag_list"
#define RAW_FRAG_V6_MODULE_NAME "ipv6_frag_list"
void *project_requirement_create(int mem_use_type, int thread_num);
void project_requirement_destroy(int mem_used_type, int thread_num, void *pproject);
int raw_ip_frag_list_stream_attach(struct streaminfo *stream);
int raw_ip_frag_list_stream_detach(struct streaminfo *stream);
void raw_frags_list_free_one(int thread_seq, void *project_req_value);
raw_ipfrag_list_t *raw_ip_frag_list_move_pkt(struct streaminfo *stream);
int frags_list_append(struct frag_ipq *ipq, const raw_pkt_t *raw_pkt, int type, int thread_num);
const char *project_find_name_by_id(int project_id);
#ifdef __cplusplus
}
#endif
#endif
|