TSG-7784 PacketAdapter支持CI自动构建RPM; 修改代码结构
This commit is contained in:
18
platform/include/inject_pkt.h
Normal file
18
platform/include/inject_pkt.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _INJECT_PKT_H
|
||||
#define _INJECT_PKT_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "public.h"
|
||||
|
||||
int inject_ipv4_pkt(char *ip4_addr, uint8_t *data, uint32_t len);
|
||||
int inject_ipv6_pkt(char *ip6_addr, uint8_t *data, uint32_t len);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user