39#ifndef UWICRP_HDR_DATA_H
40#define UWICRP_HDR_DATA_H
46#define HDR_UWICRP_DATA(p) (hdr_uwicrp_data::access(p))
hdr_uwicrp_data describes data packets used by UWICRP
int & pointer_to_list_of_hops()
Reference to the pointer_to_list_of_hops_ variable.
int pointer_to_list_of_hops_
Pointer used to keep track of the last IPs processed.
static struct hdr_uwicrp_data * access(const Packet *p)
int & list_of_hops_length()
Reference to the list_of_hops_length_ variable.
nsaddr_t * list_of_hops()
Pointer to the list_of_hops_ variable.
static int & offset()
Reference to the offset_ variable.
int list_of_hops_length_
Current number of IPs stored in the header.
static int offset_
Required by the PacketHeaderManager.
nsaddr_t list_of_hops_[MAX_HOP_NUMBER]
List of IPs saved in the header.
Common structures and definition used by UWICRP.
static const int MAX_HOP_NUMBER
Maximum number of hops contained in a SUN Path Establishment packet.