[qca-nss-clients] l2tp: Change the ipsecmgr cb.
As part of the logic to bind an L2tp session to a ipsec tunnel,
the l2tp client invokes the callback registered by the
ipsecmgr.
The current implementation of the cb takes klips netdev
as the input, and returns the corrosponding nss ipsec
tunnel netdev. This will not work with xfrm based ipsec,
since xfrm, unlike klips, doesn't create any net device for a
ipsec tunnel.
Adding new callback for xfrm, that takes src & dest IPs as
parameter and returns IPsec Inner interface number.
This callback is called from L2TP dev_up().
Change-Id: Ic0c6465792d8b3d203410e250b23f3aca9c39ef5
Signed-off-by: Neelansh Mittal <neelanshm@codeaurora.org>
Signed-off-by: Amitesh Anand <amitesh@codeaurora.org>
2 files changed