lwt: Add cfg argument to build_state
authorTom Herbert <tom@herbertland.com>
Mon, 24 Aug 2015 16:45:41 +0000 (09:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Aug 2015 17:34:40 +0000 (10:34 -0700)
commit127eb7cd3c210afead788991a30950a9e36759ea
tree8bb513d62040ed1017bb11922a38792f93b7fd33
parent54cf7be992fe86571a3f07b96446cd5334b014ab
lwt: Add cfg argument to build_state

Add cfg and family arguments to lwt build state functions. cfg is a void
pointer and will either be a pointer to a fib_config or fib6_config
structure. The family parameter indicates which one (either AF_INET
or AF_INET6).

LWT encpasulation implementation may use the fib configuration to build
the LWT state.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/lwtunnel.h
net/core/lwtunnel.c
net/ipv4/fib_semantics.c
net/ipv4/ip_tunnel_core.c
net/ipv6/ila.c
net/ipv6/route.c
net/mpls/mpls_iptunnel.c