EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
IP4 protocol schema definition. More...
#include <packet_decoder.h>
Data Fields | |
char | id [MAX_RANDOM_UUID_LEN] |
char | ip_src [OS_INET_ADDRSTRLEN] |
char | ip_dst [OS_INET_ADDRSTRLEN] |
uint8_t | ip_hl |
uint8_t | ip_v |
uint8_t | ip_tos |
uint16_t | ip_len |
uint16_t | ip_id |
uint16_t | ip_off |
uint8_t | ip_ttl |
uint8_t | ip_p |
uint16_t | ip_sum |
IP4 protocol schema definition.
char ip4_schema::id[MAX_RANDOM_UUID_LEN] |
Packet id
char ip4_schema::ip_dst[OS_INET_ADDRSTRLEN] |
Packet dest address
uint8_t ip4_schema::ip_hl |
Packet header length
uint16_t ip4_schema::ip_id |
Packet identification
uint16_t ip4_schema::ip_len |
Packet total length
uint16_t ip4_schema::ip_off |
Packet fragment offset field
uint8_t ip4_schema::ip_p |
Packet protocol
char ip4_schema::ip_src[OS_INET_ADDRSTRLEN] |
Packet source address
uint16_t ip4_schema::ip_sum |
Packet checksum
uint8_t ip4_schema::ip_tos |
Packet type of service
uint8_t ip4_schema::ip_ttl |
Packet time to live
uint8_t ip4_schema::ip_v |
Packet version