Re: [PATCH net-next,v2 01/24] net: resolve forwarding path from virtual netdevice and HW destination address

2021-03-24 Thread Pablo Neira Ayuso
Hi, On Thu, Mar 25, 2021 at 12:07:02AM +0800, DENG Qingfang wrote: > On Wed, Mar 24, 2021 at 11:03:54AM +0100, Pablo Neira Ayuso wrote: > > > > For this scenario specifically, it should be possible extend the > > existing flowtable netlink API to allow hostapd to flush entries in > > the flowtabl

Re: [PATCH net-next,v2 01/24] net: resolve forwarding path from virtual netdevice and HW destination address

2021-03-24 Thread DENG Qingfang
On Wed, Mar 24, 2021 at 11:03:54AM +0100, Pablo Neira Ayuso wrote: > > For this scenario specifically, it should be possible extend the > existing flowtable netlink API to allow hostapd to flush entries in > the flowtable for the client changing AP. The APs are external, are we going to install h

Re: [PATCH net-next,v2 01/24] net: resolve forwarding path from virtual netdevice and HW destination address

2021-03-24 Thread Pablo Neira Ayuso
On Wed, Mar 24, 2021 at 03:27:11PM +0800, DENG Qingfang wrote: > On Wed, Mar 24, 2021 at 02:30:32AM +0100, Pablo Neira Ayuso wrote: > > This patch adds dev_fill_forward_path() which resolves the path to reach > > the real netdevice from the IP forwarding side. This function takes as > > input the n

Re: [PATCH net-next,v2 01/24] net: resolve forwarding path from virtual netdevice and HW destination address

2021-03-24 Thread DENG Qingfang
On Wed, Mar 24, 2021 at 02:30:32AM +0100, Pablo Neira Ayuso wrote: > This patch adds dev_fill_forward_path() which resolves the path to reach > the real netdevice from the IP forwarding side. This function takes as > input the netdevice and the destination hardware address and it walks > down the d

[PATCH net-next,v2 01/24] net: resolve forwarding path from virtual netdevice and HW destination address

2021-03-23 Thread Pablo Neira Ayuso
This patch adds dev_fill_forward_path() which resolves the path to reach the real netdevice from the IP forwarding side. This function takes as input the netdevice and the destination hardware address and it walks down the devices calling .ndo_fill_forward_path() for each device until the real devi

[PATCH net-next 01/23] net: resolve forwarding path from virtual netdevice and HW destination address

2021-03-10 Thread Pablo Neira Ayuso
This patch adds dev_fill_forward_path() which resolves the path to reach the real netdevice from the IP forwarding side. This function takes as input the netdevice and the destination hardware address and it walks down the devices calling .ndo_fill_forward_path() for each device until the real devi

[PATCH net-next,v5 3/9] net: resolve forwarding path from virtual netdevice and HW destination address

2020-11-20 Thread Pablo Neira Ayuso
This patch adds dev_fill_forward_path() which resolves the path to reach the real netdevice from the IP forwarding side. This function takes as input the netdevice and the destination hardware address and it walks down the devices calling .ndo_fill_forward_path() for each device until the real devi

Re: [PATCH net-next,v4 3/9] net: resolve forwarding path from virtual netdevice and HW destination address

2020-11-18 Thread Florian Westphal
Pablo Neira Ayuso wrote: > +#define NET_DEVICE_PATH_STACK_MAX5 > + > +struct net_device_path_stack { > + int num_paths; > + struct net_device_path path[NET_DEVICE_PATH_STACK_MAX]; > +}; [..] > +int dev_fill_forward_path(const struct net_device *dev, const u8 *dad

[PATCH net-next,v4 3/9] net: resolve forwarding path from virtual netdevice and HW destination address

2020-11-18 Thread Pablo Neira Ayuso
This patch adds dev_fill_forward_path() which resolves the path to reach the real netdevice from the IP forwarding side. This function takes as input the netdevice and the destination hardware address and it walks down the devices calling .ndo_fill_forward_path() for each device until the real devi

Re: [PATCH net-next,v3 3/9] net: resolve forwarding path from virtual netdevice and HW destination address

2020-11-14 Thread Pablo Neira Ayuso
On Fri, Nov 13, 2020 at 05:42:46PM -0800, Jakub Kicinski wrote: > On Wed, 11 Nov 2020 20:37:31 +0100 Pablo Neira Ayuso wrote: > > +int dev_fill_forward_path(const struct net_device *dev, const u8 *daddr, > > + struct net_device_path_stack *stack) > > +{ > > + const struct net_

Re: [PATCH net-next,v3 3/9] net: resolve forwarding path from virtual netdevice and HW destination address

2020-11-13 Thread Jakub Kicinski
On Wed, 11 Nov 2020 20:37:31 +0100 Pablo Neira Ayuso wrote: > +int dev_fill_forward_path(const struct net_device *dev, const u8 *daddr, > + struct net_device_path_stack *stack) > +{ > + const struct net_device *last_dev; > + struct net_device_path_ctx ctx; > + stru

[PATCH net-next,v3 3/9] net: resolve forwarding path from virtual netdevice and HW destination address

2020-11-11 Thread Pablo Neira Ayuso
This patch adds dev_fill_forward_path() which resolves the path to reach the real netdevice from the IP forwarding side. This function takes as input the netdevice and the destination hardware address and it walks down the devices calling .ndo_fill_forward_path() for each device until the real devi

[PATCH net-next,v2 2/9] net: resolve forwarding path from virtual netdevice and HW destination address

2020-10-15 Thread Pablo Neira Ayuso
This patch adds dev_fill_forward_path() which resolves the path to reach the real netdevice from the IP forwarding step. This function takes as input the netdevice and the destination hardware address and it walks down over the devices calling .ndo_fill_forward_path() for each device until the real

[PATCH net-next 2/9] net: resolve forwarding path from virtual netdevice and HW destination address

2020-10-14 Thread Pablo Neira Ayuso
This patch adds dev_fill_forward_path() which resolves the path to reach the real netdevice from the IP forwarding step. This function takes as input the netdevice and the destination hardware address and it walks down over the devices calling .ndo_fill_forward_path() for each device until the real

Re: Virtual Netdevice

2007-10-17 Thread David Miller
From: rajashok <[EMAIL PROTECTED]> Date: Wed, 17 Oct 2007 22:10:43 -0700 (PDT) > we are trying to to integrate our ipsec onto linux 2.6 kernel Why not use the already existing 2.6.x kernel IPSEC stack? It works quite well. And for this reason, it is unlikely you will get much help on these maili