packet Struct Reference
[Packet management system]

Packet header. More...

#include <packet_header.h>

Data Fields

packet_id_t packet_id
 Packet identifier.
size_t order
 Packet queue sorting value.
size_t metric
 Packet metric.
packet_id_t previous
 Previous packet in the queue.
packet_id_t next
 Next packet in the queue.
size_t length
 Total length of the packet.
size_t addr_len
 Stored source and destination addresses length.
size_t src_addr
 Souce address offset in bytes from the beginning of the packet header.
size_t dest_addr
 Destination address offset in bytes from the beginning of the packet header.
size_t max_prefix
 Reserved data prefix length in bytes.
size_t max_content
 Reserved content length in bytes.
size_t data_start
 Actual data start offset in bytes from the beginning of the packet header.
size_t data_end
 Actual data end offset in bytes from the beginning of the packet header.
int magic_value
 Integrity check magic value.

Detailed Description

Packet header.


Field Documentation

Stored source and destination addresses length.

Actual data end offset in bytes from the beginning of the packet header.

Actual data start offset in bytes from the beginning of the packet header.

Destination address offset in bytes from the beginning of the packet header.

Total length of the packet.

Contains the header, the addresses and the data of the packet. Corresponds to the mapped sharable memory block.

Referenced by icmp_echo(), icmp_process_client_messages(), icmp_process_packet(), packet_create(), packet_destroy(), packet_get(), packet_release(), and packet_reply().

Integrity check magic value.

Referenced by packet_create(), and packet_is_valid().

Reserved content length in bytes.

Reserved data prefix length in bytes.

Packet metric.

Next packet in the queue.

Referenced by packet_get().

size_t packet::order

Packet queue sorting value.

The packet queue is sorted the ascending order.

Packet identifier.

Referenced by packet_create().

Previous packet in the queue.

Souce address offset in bytes from the beginning of the packet header.


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

Generated on Thu Mar 11 20:48:29 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1