diff options
author | Julian Anastasov <ja@ssi.bg> | 2012-10-08 13:41:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-08 23:42:36 +0200 |
commit | c92b96553a80c1dbe2ebe128bbe37c8f98f148bf (patch) | |
tree | 2c08aaddff418e7be5c0674aeb9e4b94ec538179 /include/crypto/if_alg.h | |
parent | ipv4: introduce rt_uses_gateway (diff) | |
download | linux-c92b96553a80c1dbe2ebe128bbe37c8f98f148bf.tar.xz linux-c92b96553a80c1dbe2ebe128bbe37c8f98f148bf.zip |
ipv4: Add FLOWI_FLAG_KNOWN_NH
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: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/crypto/if_alg.h')
0 files changed, 0 insertions, 0 deletions