上传者: zdfczqm
|
上传时间: 2021-12-13 15:13:38
|
文件大小: 3KB
|
文件类型: -
IPv4转发实验代码
/*
* THIS FILE IS FOR IP FORWARD TEST
*/
#include "sysInclude.h"
#include
using std::vector;
// system support
extern void fwd_LocalRcv(char *pBuffer, int length);
extern void fwd_SendtoLower(char *pBuffer, int length, unsigned int nexthop);
extern void fwd_DiscardPkt(char *pBuffer, int type);
extern unsigned int getIpv4Address( ); 。。。。。。