Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
Alexander Afanasyev | dfa52c4 | 2014-04-24 21:10:11 -0700 | [diff] [blame] | 2 | /** |
| 3 | * Copyright (c) 2013-2014, Regents of the University of California. |
| 4 | * All rights reserved. |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 5 | * |
Alexander Afanasyev | dfa52c4 | 2014-04-24 21:10:11 -0700 | [diff] [blame] | 6 | * 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 Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 8 | * |
Alexander Afanasyev | dfa52c4 | 2014-04-24 21:10:11 -0700 | [diff] [blame] | 9 | * This file licensed under New BSD License. See COPYING for detailed information about |
| 10 | * ndn-cxx library copyright, permissions, and redistribution restrictions. |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 11 | */ |
| 12 | |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 13 | #ifndef NDN_TLV_NDND_HPP |
| 14 | #define NDN_TLV_NDND_HPP |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 15 | |
| 16 | #include "tlv.hpp" |
| 17 | |
| 18 | namespace ndn { |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 19 | namespace tlv { |
| 20 | namespace ndnd { |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 21 | |
| 22 | enum { |
| 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 | |
| 38 | enum { |
| 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 Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 49 | } // namespace ndnd |
| 50 | } // namespace tlv |
| 51 | |
| 52 | |
| 53 | // temporary, until all the dependent code is updated |
| 54 | namespace Tlv { |
| 55 | namespace FaceManagement { |
| 56 | using namespace ::ndn::tlv::ndnd; |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 57 | } // namespace FaceManagement |
| 58 | } // namespace Tlv |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 59 | |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 60 | } // namespace ndn |
| 61 | |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 62 | #endif // NDN_TLV_NDND_HPP |