/// @brief Returns interface index.
///
/// @return interface index
- int64_t getIndex() const { return ifindex_; }
+ int getIndex() const { return ifindex_; }
/// @brief Returns interface name.
///
std::string name_;
/// Interface index (a value that uniquely identifies an interface).
- int64_t ifindex_;
+ int ifindex_;
/// List of assigned addresses.
AddressCollection addrs_;
boost::multi_index::hashed_unique<
// Use the interface index as the key.
boost::multi_index::const_mem_fun<
- Iface, int64_t, &Iface::getIndex
+ Iface, int, &Iface::getIndex
>
>,
// Start definition of index #2.
/// @brief Sets interface index.
///
/// @param ifindex specifies interface index.
- void setIndex(int64_t ifindex) {
+ void setIndex(int ifindex) {
ifindex_ = ifindex;
};
/// @brief Returns interface index.
///
/// @return interface index
- int64_t getIndex() const {
+ int getIndex() const {
return (ifindex_);
};