Re: [PATCH net-next v18 08/25] ovpn: implement basic RX path (UDP)

2025-02-03 Thread Antonio Quartulli
On 03/02/2025 10:30, Sabrina Dubroca wrote: 2025-01-13, 10:31:27 +0100, Antonio Quartulli wrote: +/** + * ovpn_opcode_from_skb - extract OP code from skb at specified offset + * @skb: the packet to extract the OP code from + * @offset: the offset in the data buffer where the OP code is locate

Re: [PATCH net-next v18 08/25] ovpn: implement basic RX path (UDP)

2025-02-03 Thread Sabrina Dubroca
2025-01-13, 10:31:27 +0100, Antonio Quartulli wrote: > +/** > + * ovpn_opcode_from_skb - extract OP code from skb at specified offset > + * @skb: the packet to extract the OP code from > + * @offset: the offset in the data buffer where the OP code is located > + * > + * Note: this function assumes

[PATCH net-next v18 08/25] ovpn: implement basic RX path (UDP)

2025-01-13 Thread Antonio Quartulli
Packets received over the socket are forwarded to the user device. Implementation is UDP only. TCP will be added by a later patch. Note: no decryption/decapsulation exists yet, packets are forwarded as they arrive without much processing. Signed-off-by: Antonio Quartulli --- drivers/net/ovpn/i