Re: [PATCH net-next v24 07/23] ovpn: implement basic TX path (UDP)

2025-04-04 Thread Antonio Quartulli
On 01/04/2025 15:49, Sabrina Dubroca wrote: 2025-03-18, 02:40:42 +0100, Antonio Quartulli wrote: +static int ovpn_udp_output(struct ovpn_peer *peer, struct dst_cache *cache, + struct sock *sk, struct sk_buff *skb) +{ + struct ovpn_bind *bind; + int ret; + +

Re: [PATCH net-next v24 07/23] ovpn: implement basic TX path (UDP)

2025-04-01 Thread Sabrina Dubroca
2025-03-18, 02:40:42 +0100, Antonio Quartulli wrote: > +static int ovpn_udp_output(struct ovpn_peer *peer, struct dst_cache *cache, > +struct sock *sk, struct sk_buff *skb) > +{ > + struct ovpn_bind *bind; > + int ret; > + > + /* set sk to null if skb is already

[PATCH net-next v24 07/23] ovpn: implement basic TX path (UDP)

2025-03-17 Thread Antonio Quartulli
Packets sent over the ovpn interface are processed and transmitted to the connected peer, if any. Implementation is UDP only. TCP will be added by a later patch. Note: no crypto/encapsulation exists yet. Packets are just captured and sent. Signed-off-by: Antonio Quartulli --- drivers/net/Kconf