blob: c76f00c2a33aa8506b10016f3de9210782343bcd [file] [log] [blame]
Alexander Afanasyev10d902e2014-01-03 15:27:40 -08001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/*
3 * Copyright (c) 2013, Regents of the University of California
4 *
5 * BSD license, See the LICENSE file for more information
6 *
7 * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
8 */
9
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080010#ifndef NDN_TLV_NDND_HPP
11#define NDN_TLV_NDND_HPP
Alexander Afanasyev10d902e2014-01-03 15:27:40 -080012
13#include "tlv.hpp"
14
15namespace ndn {
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080016namespace tlv {
17namespace ndnd {
Alexander Afanasyev10d902e2014-01-03 15:27:40 -080018
19enum {
20 FaceInstance = 128,
21 ForwardingEntry = 129,
22 StatusResponse = 130,
23 Action = 131,
24 FaceID = 132,
25 IPProto = 133,
26 Host = 134,
27 Port = 135,
28 MulticastInterface = 136,
29 MulticastTTL = 137,
30 ForwardingFlags = 138,
31 StatusCode = 139,
32 StatusText = 140
33};
34
35enum {
36 FORW_ACTIVE = 1,
37 FORW_CHILD_INHERIT = 2,
38 FORW_ADVERTISE = 4,
39 FORW_LAST = 8,
40 FORW_CAPTURE = 16,
41 FORW_LOCAL = 32,
42 FORW_TAP = 64,
43 FORW_CAPTURE_OK = 128
44};
45
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080046} // namespace ndnd
47} // namespace tlv
48
49
50// temporary, until all the dependent code is updated
51namespace Tlv {
52namespace FaceManagement {
53using namespace ::ndn::tlv::ndnd;
Alexander Afanasyev10d902e2014-01-03 15:27:40 -080054} // namespace FaceManagement
55} // namespace Tlv
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080056
Alexander Afanasyev10d902e2014-01-03 15:27:40 -080057} // namespace ndn
58
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080059#endif // NDN_TLV_NDND_HPP