#include "icmp.h"Include dependency graph for icmp.cpp:

Go to the source code of this file.
Functions | |
| void | FillICMPData (char *pData, int size) |
| USHORT | IPChecksum (USHORT *pBuffer, int nSize) |
| void | EncodePacket (char *pPacket, int iDataSize, USHORT uSequence) |
| bool | DecodePacket (char *pPacket, int iSize, USHORT &uSequence, LONGLONG &llTick) |
Variables | |
| const char * | ICMPDATATEMPLATE = "abcdefghijklmnopqrstuvw" |
|
||||||||||||||||||||
|
Definition at line 57 of file icmp.cpp. References tagICMP_HEADER::cksum, tagICMP_HEADER::code, tagIP_HEADER::h_len, ICMP_DESTINATION_UNREACHABLE, ICMP_ECHO_REPLY, ICMP_TIME_EXCEEDED, tagICMP_HEADER::id, IPChecksum(), and tagICMP_HEADER::seq. Referenced by main(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 40 of file icmp.cpp. References tagICMP_HEADER::cksum, tagICMP_HEADER::code, FillICMPData(), ICMP_ECHO_REQUEST, tagICMP_HEADER::id, IPChecksum(), tagICMP_HEADER::seq, and tagICMP_HEADER::type. Referenced by main(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 7 of file icmp.cpp. References ICMPDATATEMPLATE. Referenced by EncodePacket(). |
|
||||||||||||
|
Definition at line 22 of file icmp.cpp. Referenced by DecodePacket(), and EncodePacket(). |
|
|
Definition at line 5 of file icmp.cpp. Referenced by FillICMPData(). |
1.4.3