38#ifndef PACKER_COMMON_H
39#define PACKER_COMMON_H
103 size_t packMyHdr(Packet *,
unsigned char *,
size_t);
112 size_t unpackMyHdr(
unsigned char *,
size_t, Packet *);
Definition packer-common.h:53
size_t aomdv_salvage_count_Bits
Definition packer-common.h:163
size_t TIMESTAMP_Bits
Definition packer-common.h:134
size_t PREV_HOP_Bits
Definition packer-common.h:139
size_t TXTIME_Bits
Definition packer-common.h:149
size_t xmit_failure_data_Bits
Definition packer-common.h:168
size_t unpackMyHdr(unsigned char *, size_t, Packet *)
Definition packer-common.cpp:251
void printMyHdrFields(Packet *)
Definition packer-common.cpp:454
size_t SIZE_Bits
Definition packer-common.h:128
size_t src_rt_valid_Bits
Definition packer-common.h:159
size_t DIRECTION_Bits
Definition packer-common.h:136
size_t xmit_failure_Bits
Definition packer-common.h:166
size_t ADDR_TYPE_Bits
Definition packer-common.h:144
packerCOMMON()
Definition packer-common.cpp:60
size_t num_forwards_Bits
Definition packer-common.h:173
void printMyHdrMap()
Definition packer-common.cpp:375
size_t ERROR_Bits
Definition packer-common.h:132
~packerCOMMON()
Definition packer-common.cpp:145
size_t xmit_reason_Bits
Definition packer-common.h:171
size_t fecsize_Bits
Definition packer-common.h:155
nbits_index
Definition packer-common.h:68
@ PTYPE
Definition packer-common.h:69
@ DIRECTION
Definition packer-common.h:74
@ PREV_HOP
Definition packer-common.h:75
@ opt_num_forwards_
Definition packer-common.h:90
@ ts_arr_
Definition packer-common.h:84
@ ERROR
Definition packer-common.h:72
@ errbitcnt_
Definition packer-common.h:80
@ UID
Definition packer-common.h:71
@ TXTIME
Definition packer-common.h:79
@ TIMESTAMP
Definition packer-common.h:73
@ num_forwards_
Definition packer-common.h:89
@ src_rt_valid
Definition packer-common.h:83
@ ADDR_TYPE
Definition packer-common.h:77
@ xmit_failure_
Definition packer-common.h:86
@ LAST_HOP
Definition packer-common.h:78
@ iface_
Definition packer-common.h:82
@ xmit_failure_data_
Definition packer-common.h:87
@ xmit_reason_
Definition packer-common.h:88
@ NEXT_HOP
Definition packer-common.h:76
@ SIZE
Definition packer-common.h:70
@ fecsize_
Definition packer-common.h:81
@ aomdv_salvage_count_
Definition packer-common.h:85
size_t packMyHdr(Packet *, unsigned char *, size_t)
Definition packer-common.cpp:185
size_t NEXT_HOP_Bits
Definition packer-common.h:142
size_t UID_Bits
Definition packer-common.h:130
size_t ts_arr_Bits
Definition packer-common.h:161
void init()
Definition packer-common.cpp:150
size_t LAST_HOP_Bits
Definition packer-common.h:147
size_t PTYPE_Bits
Definition packer-common.h:126
size_t iface_Bits
Definition packer-common.h:157
size_t opt_num_forwards_Bits
Definition packer-common.h:175
size_t errbitcnt_Bits
Definition packer-common.h:153
Header of the class responsible to map an NS-Miracle packet into a bit stream, and vice-versa.