| 
 | 
 | ||||||||||||||||
Import tables will detect policy route dumps [NULL in dump_peer]. It will then transport the dump to an add/delete/request based on the outcome of the filter.
| PolicyTableImport (const string& tablename, 
		      const Safi& safi,
		      BGPRouteTable<A>* parent,
		      PolicyFilters& pfs,
		      const A& peer,
		      const A& self) | PolicyTableImport | 
Parameters:
| tablename | name of the table. | 
| safi | the safe. | 
| parent | parent table. | 
| pfs | a reference to the global policy filters. | 
| int  route_dump (InternalMessage<A> &rtmsg,
                   BGPRouteTable<A> *caller,
                   const PeerHandler *dump_peer) | route_dump | 
If dump_peer is null, then it is a policy route dump and we need to deal with it.
Parameters:
| rtmsg | route being dumped. | 
| caller | table that called this method. | 
| dump_peer | peer we are dumping to. If policy dump, it will be NULL. | 
Returns: ADD_FILTERED if route is rejected. XORP_OK otherwise.
Reimplemented from PolicyTable.