blob: ddb3421e7e74e3e6d1825872aee9a09c52015169 [file] [log] [blame]
Alexander Afanasyev10d902e2014-01-03 15:27:40 -08001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
Alexander Afanasyevdfa52c42014-04-24 21:10:11 -07002/**
3 * Copyright (c) 2013-2014, Regents of the University of California.
4 * All rights reserved.
Alexander Afanasyev10d902e2014-01-03 15:27:40 -08005 *
Alexander Afanasyevdfa52c42014-04-24 21:10:11 -07006 * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
7 * See AUTHORS.md for complete list of ndn-cxx authors and contributors.
Alexander Afanasyev10d902e2014-01-03 15:27:40 -08008 *
Alexander Afanasyevdfa52c42014-04-24 21:10:11 -07009 * This file licensed under New BSD License. See COPYING for detailed information about
10 * ndn-cxx library copyright, permissions, and redistribution restrictions.
Alexander Afanasyev10d902e2014-01-03 15:27:40 -080011 */
12
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080013#ifndef NDN_TLV_NDND_HPP
14#define NDN_TLV_NDND_HPP
Alexander Afanasyev10d902e2014-01-03 15:27:40 -080015
16#include "tlv.hpp"
17
18namespace ndn {
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080019namespace tlv {
20namespace ndnd {
Alexander Afanasyev10d902e2014-01-03 15:27:40 -080021
22enum {
23 FaceInstance = 128,
24 ForwardingEntry = 129,
25 StatusResponse = 130,
26 Action = 131,
27 FaceID = 132,
28 IPProto = 133,
29 Host = 134,
30 Port = 135,
31 MulticastInterface = 136,
32 MulticastTTL = 137,
33 ForwardingFlags = 138,
34 StatusCode = 139,
35 StatusText = 140
36};
37
38enum {
39 FORW_ACTIVE = 1,
40 FORW_CHILD_INHERIT = 2,
41 FORW_ADVERTISE = 4,
42 FORW_LAST = 8,
43 FORW_CAPTURE = 16,
44 FORW_LOCAL = 32,
45 FORW_TAP = 64,
46 FORW_CAPTURE_OK = 128
47};
48
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080049} // namespace ndnd
50} // namespace tlv
51
52
53// temporary, until all the dependent code is updated
54namespace Tlv {
55namespace FaceManagement {
56using namespace ::ndn::tlv::ndnd;
Alexander Afanasyev10d902e2014-01-03 15:27:40 -080057} // namespace FaceManagement
58} // namespace Tlv
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080059
Alexander Afanasyev10d902e2014-01-03 15:27:40 -080060} // namespace ndn
61
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080062#endif // NDN_TLV_NDND_HPP