sendpacket.h
来自「mystar v0.11 用于锐捷的linux认证」· C头文件 代码 · 共 17 行
H
17 行
#include <string.h>#include <sys/types.h>#include <libnet.h>/********************************************************************************************** Those 5 functions below return 0 if ok, -1 if fail. However they should never fail normally, so we usually ignore the return values JUST FOR CONVENIENCE. If detecting the errors,which might happen, is very important to your program, don't ingore it.**********************************************************************************************/int SendFindServerPacket(libnet_t *l);int SendNamePacket(libnet_t *l, const u_char *pkt_data);int SendPasswordPacket(libnet_t *l,const u_char *pkt_data);int SendEchoPacket(libnet_t *l,const u_char *pkt_data);int SendEndCertPacket(libnet_t *l);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?