• J
    ipv4: Add FLOWI_FLAG_KNOWN_NH · c92b9655
    Julian Anastasov 提交于
    Add flag to request that output route should be
    returned with known rt_gateway, in case we want to use
    it as nexthop for neighbour resolving.
    
    	The returned route can be cached as follows:
    
    - in NH exception: because the cached routes are not shared
    	with other destinations
    - in FIB NH: when using gateway because all destinations for
    	NH share same gateway
    
    	As last option, to return rt_gateway!=0 we have to
    set DST_NOCACHE.
    Signed-off-by: NJulian Anastasov <ja@ssi.bg>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    c92b9655
flow.h 5.7 KB