Alexander Afanasyev | eaf105c | 2014-01-30 17:40:24 -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_NFD_HPP |
| 11 | #define NDN_TLV_NFD_HPP |
Alexander Afanasyev | eaf105c | 2014-01-30 17:40:24 -0800 | [diff] [blame] | 12 | |
| 13 | namespace ndn { |
| 14 | namespace tlv { |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 15 | namespace nfd { |
Alexander Afanasyev | eaf105c | 2014-01-30 17:40:24 -0800 | [diff] [blame] | 16 | |
| 17 | enum { |
| 18 | // ControlResponse |
| 19 | ControlResponse = 101, |
| 20 | StatusCode = 102, |
| 21 | StatusText = 103, |
| 22 | |
| 23 | // FIB Management Protocol |
| 24 | FibManagementOptions = 104, |
| 25 | FaceId = 105, |
| 26 | Cost = 106, |
| 27 | Strategy = 107, |
| 28 | |
| 29 | // Face Management Protocol |
Yingdi Yu | d337049 | 2014-02-12 17:17:11 -0800 | [diff] [blame] | 30 | FaceManagementOptions = 108, |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 31 | Uri = 114 |
Alexander Afanasyev | eaf105c | 2014-01-30 17:40:24 -0800 | [diff] [blame] | 32 | }; |
| 33 | |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 34 | enum { |
| 35 | // Local Control Header |
| 36 | LocalControlHeader = 80, |
| 37 | IncomingFaceId = 81, |
| 38 | NextHopFaceId = 82 |
| 39 | }; |
Alexander Afanasyev | eaf105c | 2014-01-30 17:40:24 -0800 | [diff] [blame] | 40 | |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 41 | } // namespace nfd |
Alexander Afanasyev | eaf105c | 2014-01-30 17:40:24 -0800 | [diff] [blame] | 42 | } // namespace tlv |
hilata | a99e37e | 2014-02-15 23:52:46 -0600 | [diff] [blame] | 43 | |
| 44 | namespace nfd { |
| 45 | |
| 46 | const uint64_t INVALID_FACE_ID = std::numeric_limits<uint64_t>::max(); |
| 47 | |
| 48 | } // namespace nfd |
| 49 | |
Alexander Afanasyev | eaf105c | 2014-01-30 17:40:24 -0800 | [diff] [blame] | 50 | } // namespace ndn |
| 51 | |
Alexander Afanasyev | 6d48bc1 | 2014-02-18 00:10:51 -0800 | [diff] [blame] | 52 | #endif // NDN_TLV_NFD_HPP |