blob: c7f362011ed08042c2a33b13b7382946143591e7 [file] [log] [blame]
Alexander Afanasyeveaf105c2014-01-30 17:40:24 -08001/* -*- 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 Afanasyev6d48bc12014-02-18 00:10:51 -080010#ifndef NDN_TLV_NFD_HPP
11#define NDN_TLV_NFD_HPP
Alexander Afanasyeveaf105c2014-01-30 17:40:24 -080012
13namespace ndn {
14namespace tlv {
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080015namespace nfd {
Alexander Afanasyeveaf105c2014-01-30 17:40:24 -080016
17enum {
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 Yud3370492014-02-12 17:17:11 -080030 FaceManagementOptions = 108,
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080031 Uri = 114
Alexander Afanasyeveaf105c2014-01-30 17:40:24 -080032};
33
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080034enum {
35 // Local Control Header
36 LocalControlHeader = 80,
37 IncomingFaceId = 81,
38 NextHopFaceId = 82
39};
Alexander Afanasyeveaf105c2014-01-30 17:40:24 -080040
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080041} // namespace nfd
Alexander Afanasyeveaf105c2014-01-30 17:40:24 -080042} // namespace tlv
hilataa99e37e2014-02-15 23:52:46 -060043
44namespace nfd {
45
46const uint64_t INVALID_FACE_ID = std::numeric_limits<uint64_t>::max();
47
48} // namespace nfd
49
Alexander Afanasyeveaf105c2014-01-30 17:40:24 -080050} // namespace ndn
51
Alexander Afanasyev6d48bc12014-02-18 00:10:51 -080052#endif // NDN_TLV_NFD_HPP