CS43 Lab7 - A Router Stack
1.2019
|
Struct of an IP header, without options. More...
#include <sr_protocol.h>
Public Attributes | |
uint8_t | ip_tos |
type of service | |
uint16_t | ip_len |
total length | |
uint16_t | ip_id |
identification | |
uint16_t | ip_off |
fragment offset field | |
uint8_t | ip_ttl |
time to live | |
uint8_t | ip_p |
protocol of encapsulated packet | |
uint16_t | ip_sum |
IP checksum. | |
uint32_t | ip_src |
src IP address | |
uint32_t | ip_dst |
dest IP address | |
Struct of an IP header, without options.