#include <icmp_header.hpp>
|
enum | {
echo_reply = 0,
destination_unreachable = 3,
source_quench = 4,
redirect = 5,
echo_request = 8,
time_exceeded = 11,
parameter_problem = 12,
timestamp_request = 13,
timestamp_reply = 14,
info_request = 15,
info_reply = 16,
address_request = 17,
address_reply = 18
} |
|
Definition at line 33 of file icmp_header.hpp.
Enumerator |
---|
echo_reply |
|
destination_unreachable |
|
source_quench |
|
redirect |
|
echo_request |
|
time_exceeded |
|
parameter_problem |
|
timestamp_request |
|
timestamp_reply |
|
info_request |
|
info_reply |
|
address_request |
|
address_reply |
|
Definition at line 36 of file icmp_header.hpp.
icmp_header::icmp_header |
( |
| ) |
|
|
inline |
unsigned short icmp_header::checksum |
( |
| ) |
const |
|
inline |
void icmp_header::checksum |
( |
unsigned short |
n | ) |
|
|
inline |
unsigned char icmp_header::code |
( |
| ) |
const |
|
inline |
void icmp_header::code |
( |
unsigned char |
n | ) |
|
|
inline |
unsigned short icmp_header::identifier |
( |
| ) |
const |
|
inline |
void icmp_header::identifier |
( |
unsigned short |
n | ) |
|
|
inline |
unsigned short icmp_header::sequence_number |
( |
| ) |
const |
|
inline |
void icmp_header::sequence_number |
( |
unsigned short |
n | ) |
|
|
inline |
unsigned char icmp_header::type |
( |
| ) |
const |
|
inline |
void icmp_header::type |
( |
unsigned char |
n | ) |
|
|
inline |
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const icmp_header & |
header |
|
) |
| |
|
friend |
std::istream& operator>> |
( |
std::istream & |
is, |
|
|
icmp_header & |
header |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file:
- /home/martin/ver/3DLab/code/asio-1.10.6/src/examples/cpp03/icmp/icmp_header.hpp