Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fib: fib api updates
[vpp.git]
/
extras
/
vom
/
vom
/
prefix.hpp
diff --git
a/extras/vom/vom/prefix.hpp
b/extras/vom/vom/prefix.hpp
index
1b6a068
..
b75dc66
100644
(file)
--- a/
extras/vom/vom/prefix.hpp
+++ b/
extras/vom/vom/prefix.hpp
@@
-56,8
+56,8
@@
public:
const static l3_proto_t IPV6;
const static l3_proto_t MPLS;
const static l3_proto_t IPV6;
const static l3_proto_t MPLS;
- bool is_ipv4();
- bool is_ipv6();
+ bool is_ipv4()
const
;
+ bool is_ipv6()
const
;
static const l3_proto_t& from_address(const boost::asio::ip::address& addr);
static const l3_proto_t& from_address(const boost::asio::ip::address& addr);
@@
-233,8
+233,8
@@
public:
mprefix_t(const boost::asio::ip::address& gaddr, uint8_t len);
/**
mprefix_t(const boost::asio::ip::address& gaddr, uint8_t len);
/**
-*Constructor for (S,G)
-*/
+
*Constructor for (S,G)
+
*/
mprefix_t(const boost::asio::ip::address& saddr,
const boost::asio::ip::address& gaddr,
uint16_t len);
mprefix_t(const boost::asio::ip::address& saddr,
const boost::asio::ip::address& gaddr,
uint16_t len);
@@
-300,11
+300,6
@@
public:
*/
l3_proto_t l3_proto() const;
*/
l3_proto_t l3_proto() const;
- void to_vpp(uint8_t* is_ip6,
- uint8_t* saddr,
- uint8_t* gaddr,
- uint16_t* len) const;
-
private:
/**
* The address
private:
/**
* The address