OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
default_gateway.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  */
4 
5 #ifndef SRC_BGP_EXTENDED_COMMUNITY_DEFAULT_GATEWAY_H_
6 #define SRC_BGP_EXTENDED_COMMUNITY_DEFAULT_GATEWAY_H_
7 
9 
10 #include <boost/array.hpp>
11 #include <stdint.h>
12 
13 #include <string>
14 
16 public:
17  static const int kSize = 8;
18  typedef boost::array<uint8_t, kSize> bytes_type;
19 
20  explicit DefaultGateway(const bytes_type &data);
21  std::string ToString() const;
22 
23 private:
25 };
26 
27 #endif // SRC_BGP_EXTENDED_COMMUNITY_DEFAULT_GATEWAY_H_
DefaultGateway(const bytes_type &data)
std::string ToString() const
boost::array< uint8_t, kSize > bytes_type
bytes_type data_
static const int kSize