5 #ifndef SRC_BGP_L3VPN_INETVPN_TABLE_H_
6 #define SRC_BGP_L3VPN_INETVPN_TABLE_H_
22 : prefix(prefix),
peer(ipeer) {
32 virtual std::unique_ptr<DBEntry>
AllocEntryStr(
const std::string &key)
const;
56 #endif // SRC_BGP_L3VPN_INETVPN_TABLE_H_
virtual bool IsVpnTable() const
virtual Address::Family family() const
InetVpnTable(DB *db, const std::string &name)
virtual std::unique_ptr< DBEntry > AllocEntry(const DBRequestKey *key) const
DISALLOW_COPY_AND_ASSIGN(InetVpnTable)
virtual BgpRoute * TableFind(DBTablePartition *rtp, const DBRequestKey *prefix)
RequestKey(const InetVpnPrefix &prefix, const IPeer *ipeer)
const std::string & name() const
virtual std::unique_ptr< DBEntry > AllocEntryStr(const std::string &key) const
virtual BgpRoute * RouteReplicate(BgpServer *server, BgpTable *src_table, BgpRoute *src_rt, const BgpPath *path, ExtCommunityPtr ptr)
static DBTableBase * CreateTable(DB *db, const std::string &name)
virtual bool Export(RibOut *ribout, Route *route, const RibPeerSet &peerset, UpdateInfoSList &info_slist)
virtual const IPeer * GetPeer() const
virtual size_t Hash(const DBEntry *entry) const