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 | |
| 10 | #ifndef NDN_TLV_FACE_MANAGEMENT_HPP |
| 11 | #define NDN_TLV_FACE_MANAGEMENT_HPP |
| 12 | |
| 13 | #include "tlv.hpp" |
| 14 | |
| 15 | namespace ndn { |
| 16 | namespace Tlv { |
| 17 | namespace FaceManagement { |
| 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 | |
| 46 | } // namespace FaceManagement |
| 47 | } // namespace Tlv |
| 48 | } // namespace ndn |
| 49 | |
| 50 | #endif // NDN_TLV_FACE_MANAGEMENT_HPP |