22 lines
377 B
C
22 lines
377 B
C
#ifndef KNI_REPLACE_H
|
|
#define KNI_REPLACE_H
|
|
|
|
#include "kni_entry.h"
|
|
|
|
|
|
|
|
struct kni_replace_info
|
|
{
|
|
int original_len;
|
|
int replace_len;
|
|
char find[KNI_SERVICE_LEN];
|
|
char replace[KNI_SERVICE_LEN];
|
|
};
|
|
|
|
|
|
char kni_replace_scan();
|
|
char kni_process_replace(unsigned char dir,int thread_seq,const struct streaminfo* pstream,const void* a_packet,struct kni_pme_info* pmeinfo);
|
|
#endif
|
|
|
|
|