Definition in file pcicmp.h.
Go to the source code of this file.
Data Structures | |
| struct | ICMP_unused |
| struct | ICMP_pointer |
| struct | ICMP_ip |
| struct | ICMP_echo |
| struct | ICMP_timestamp |
| struct | ICMP_info |
| struct | ICMP_addr_mask |
| struct | ICMP_traceroute |
| struct | ICMP_needfrag |
| union | ICMP_PKT |
| struct | ping_pkt |
Typedefs | |
| typedef ICMP_PKT | ICMP_PKT |
Functions | |
| W32_FUNC DWORD | _chk_ping (DWORD host, DWORD *ping_num) |
| Check for ICMP echo reply in ping-cache. | |
| void | icmp_handler (const in_Header *ip, BOOL broadcast) |
| Handler for incoming ICMP packets. | |
| void | icmp_doredirect (const char *value) |
| Determine which protocols we shall act upon when ICMP redirect is received. | |
| int | icmp_send_timexceed (const in_Header *ip, const void *mac_dest) |
| Send an "ICMP Time Exceeded" (reassebly timeout) back to 'ip->source'. | |
| int | icmp_send_unreach (const in_Header *ip, int code) |
| Send an ICMP destination/protocol unreachable back to 'ip->source'. | |
| int | icmp_send_mask_req (void) |
Variables | |
| const char * | icmp_type_str [ICMP_MAXTYPE+1] |
| const char * | icmp_unreach_str [16] |
| const char * | icmp_redirect_str [4] |
| const char * | icmp_exceed_str [2] |
|
||||||||||||
|
Check for ICMP echo reply in ping-cache.
|
|
||||||||||||
|
Handler for incoming ICMP packets.
< < < < Definition at line 377 of file pcicmp.c. References _do_mask_req, _tcp_cancel(), _udp_cancel(), add_ping(), addr_mask_id, block_icmp, BYTE, in_Header::destination, DWORD, icmp_bogus(), icmp_redirect(), in_Header::length, in_Header::proto, set_timeout(), sin_mask, in_Header::source, UINT, and WORD. |
|
||||||||||||
|
Send an ICMP destination/protocol unreachable back to 'ip->source'. Limit the rate of these to 20 per second. Ref. RFC-1812. Definition at line 195 of file pcicmp.c. References _eth_formatpacket(), BYTE, chk_timeout(), DWORD, icmp_check(), icmp_send(), in_Header::length, and set_timeout(). |
1.3.8