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( ); 。。。。。。
2021-12-13 15:13:38
3KB
IPv4转发
1