Public Member Functions | |
| ndn_LpPacketHeaderFieldType | getType () const |
| Get the type of this header field. More... | |
| const IncomingFaceIdLite & | getIncomingFaceId () const |
| Get this field as an IncomingFaceId. More... | |
| IncomingFaceIdLite & | getIncomingFaceId () |
| const NetworkNackLite & | getNetworkNack () const |
| Get this field as an NetworkNack. More... | |
| NetworkNackLite & | getNetworkNack () |
| const CongestionMarkLite & | getCongestionMark () const |
| Get this field as a CongestionMark. More... | |
| CongestionMarkLite & | getCongestionMark () |
Static Public Member Functions | |
| static LpPacketHeaderFieldLite & | downCast (ndn_LpPacketHeaderField &lpPacketHeaderField) |
| Downcast the reference to the ndn_LpPacketHeaderField struct to an LpPacketHeaderFieldLite. More... | |
|
static const LpPacketHeaderFieldLite & | downCast (const ndn_LpPacketHeaderField &lpPacketHeaderField) |
|
inlinestatic |
Downcast the reference to the ndn_LpPacketHeaderField struct to an LpPacketHeaderFieldLite.
| lpPacketHeaderField | A reference to the ndn_LpPacketHeaderField struct. |
|
inline |
Get this field as a CongestionMark.
This assumes you checked that getType() is ndn_LpPacketHeaderFieldType_CONGESTION_MARK.
|
inline |
Get this field as an IncomingFaceId.
This assumes you checked that getType() is ndn_LpPacketHeaderFieldType_INCOMING_FACE_ID.
|
inline |
Get this field as an NetworkNack.
This assumes you checked that getType() is ndn_LpPacketHeaderFieldType_NETWORK_NACK.
|
inline |
Get the type of this header field.
1.8.6