--- a/src/DIF/FA/FAITable.h
+++ b/src/DIF/FA/FAITable.h
@@ -31,12 +31,16 @@
std::string info() const;
void insertNew(Flow* flow);
void insert(const FAITableEntry& entry);
- void remove();
- FAITableEntry* findEntryByFlow(Flow* flow);
- FAITableEntry* findEntryByFai(FAI* fai);
- void bindFaiToFlow(FAI* fai, Flow* flow);
+ void removeByFlow(Flow* flow);
+ FAITableEntry* findEntryByFlow(const Flow* flow);
+ FAITableEntry* findEntryByApns(const APN& srcApn, const APN& dstApn);
+ FAITableEntry* findEntryByDstAddressAndFwd(const APN& apname);
+ FAITableEntry* findEntryByDstNeighborAndFwd(const APN& apname);
+ FAITableEntry* findEntryBySrcAddressAndFwd(const APN& apname);
+ FAITableEntry* findEntryByFai(FAIBase* fai);
+ void setFaiToFlow(FAIBase* fai, Flow* flow);
void changeAllocStatus(Flow* flow, FAITableEntry::AllocateStatus status);
- void changeAllocStatus(FAI* fai, FAITableEntry::AllocateStatus status);
+ void changeAllocStatus(FAIBase* fai, FAITableEntry::AllocateStatus status);
protected:
virtual void initialize();