|
AquilaOS documentation
How it works, and its code
|
An IPv4 packet's header. More...
#include <inet.h>
Data Fields | |
| uint8_t | ver_ihl |
| uint8_t | tos |
| uint16_t | len |
| uint16_t | id |
| uint16_t | frag |
| uint8_t | ttl |
| uint8_t | proto |
| uint16_t | checksum |
| uint32_t | src |
| uint32_t | dst |
| uint16_t ipv4_hdr::checksum |
Definition at line 54 of file inet.h.
Referenced by ipv4_output().
| uint32_t ipv4_hdr::dst |
Definition at line 56 of file inet.h.
Referenced by icmp_unreachable_input(), ipv4_input(), ipv4_output(), listen_input(), tcp_input(), tcp_reply_rst(), and udp_input().
| uint16_t ipv4_hdr::frag |
Definition at line 51 of file inet.h.
Referenced by ipv4_input(), and ipv4_output().
| uint16_t ipv4_hdr::id |
Definition at line 50 of file inet.h.
Referenced by ipv4_output().
| uint16_t ipv4_hdr::len |
Definition at line 49 of file inet.h.
Referenced by icmp_unreachable(), icmp_unreachable_input(), ipv4_input(), and ipv4_output().
| uint8_t ipv4_hdr::proto |
Definition at line 53 of file inet.h.
Referenced by icmp_unreachable_input(), ipv4_input(), and ipv4_output().
| uint32_t ipv4_hdr::src |
Definition at line 55 of file inet.h.
Referenced by icmp_unreachable(), icmp_unreachable_input(), ipv4_input(), ipv4_output(), listen_input(), tcp_input(), tcp_reply_rst(), and udp_input().
| uint8_t ipv4_hdr::tos |
Definition at line 48 of file inet.h.
Referenced by ipv4_output().
| uint8_t ipv4_hdr::ttl |
Definition at line 52 of file inet.h.
Referenced by ipv4_output().
| uint8_t ipv4_hdr::ver_ihl |
Definition at line 47 of file inet.h.
Referenced by icmp_unreachable(), icmp_unreachable_input(), ipv4_input(), and ipv4_output().