Re: [Openvpn-devel] [PATCH] tun: properly handle device interface list

2022-08-15 Thread Antonio Quartulli
Hi, On 14/08/2022 23:53, Lev Stipakov wrote: From: Lev Stipakov Device interface is a path which is used by userspace to access device. A driver can create one or more device interfaces and specify "reference string", so that userspace could enumerate all device interfaces in the list and pick

[Openvpn-devel] [PATCH] tun: properly handle device interface list

2022-08-15 Thread Lev Stipakov
From: Lev Stipakov Device interface is a path which is used by userspace to access device. A driver can create one or more device interfaces and specify "reference string", so that userspace could enumerate all device interfaces in the list and pick the corrct one which ends with reference string

[Openvpn-devel] [PATCH] tun: properly handle device interface list

2022-08-11 Thread Lev Stipakov
From: Lev Stipakov Some adapters create multiple device interfaces and we need to enumerate all of them. Signed-off-by: Lev Stipakov --- src/openvpn/tun.c | 37 + src/openvpn/tun.h | 2 +- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/src