Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 1 | /* -*- 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 Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 10 | #ifndef NDN_TLV_NDND_HPP |
| 11 | #define NDN_TLV_NDND_HPP |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 12 | |
| 13 | #include "tlv.hpp" |
| 14 | |
| 15 | namespace ndn { |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 16 | namespace tlv { |
| 17 | namespace ndnd { |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 18 | |
| 19 | enum { |
| 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 | |
| 35 | enum { |
| 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 Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 46 | } // namespace ndnd |
| 47 | } // namespace tlv |
| 48 | |
| 49 | |
| 50 | // temporary, until all the dependent code is updated |
| 51 | namespace Tlv { |
| 52 | namespace FaceManagement { |
| 53 | using namespace ::ndn::tlv::ndnd; |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 54 | } // namespace FaceManagement |
| 55 | } // namespace Tlv |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 56 | |
Alexander Afanasyev | 10d902e | 2014-01-03 15:27:40 -0800 | [diff] [blame] | 57 | } // namespace ndn |
| 58 | |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 59 | #endif // NDN_TLV_NDND_HPP |