CS43 Lab7 - A Router Stack  1.2019
Public Attributes | List of all members
sr_icmp_hdr Struct Reference

General struct of a ICMP header. More...

#include <sr_protocol.h>

Public Attributes

uint8_t icmp_type
 icmp type
 
uint8_t icmp_code
 icmp code, if needed
 
uint16_t icmp_sum
 icmp checksum
 
uint16_t icmp_id
 icmp identifier, you shouldn't need to use this
 
uint16_t icmp_seq
 icmp sequence number, you shouldn't need to use this
 

Detailed Description

General struct of a ICMP header.

See here for more details.


The documentation for this struct was generated from the following file: