This specific structure is used in the ovpn kernel module to wrap and carry around a standard kernel socket. ovpn takes ownership of passed sockets and therefore an ovpn specific objects is attached to them for status tracking purposes. Initially only UDP support is introduced. TCP will come in a later patch.
Showing the changes to include/uapi/linux (1 of 9 files). Show all
Unified · Split
| @@ -43,5 +43,6 @@ struct udphdr { · 42 unmodified lines | ||
| 43 | 43 | #define UDP_ENCAP_GTP1U 5 /* 3GPP TS 29.060 */ |
| 44 | 44 | #define UDP_ENCAP_RXRPC 6 |
| 45 | 45 | #define TCP_ENCAP_ESPINTCP 7 /* Yikes, this is really xfrm encap types. */ |
| 46 | +#define UDP_ENCAP_OVPNINUDP 8 /* OpenVPN traffic */ | |
| 46 | 47 | |
| 47 | 48 | #endif /* _UAPI_LINUX_UDP_H */ |