Introduce peer_offset parameter in order to add the capability to specify two different values for payload offset on tx/rx side. If just offset is provided by userspace use it for rx side as well in order to maintain compatibility with older l2tp versions
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -127,6 +127,7 @@ enum { · 126 unmodified lines | |||
| 127 | L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* flag */ | 127 | L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* flag */ |
| 128 | L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* flag */ | 128 | L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* flag */ |
| 129 | L2TP_ATTR_PAD, | 129 | L2TP_ATTR_PAD, |
| 130 | L2TP_ATTR_PEER_OFFSET, /* u16 */ | ||
| 130 | __L2TP_ATTR_MAX, | 131 | __L2TP_ATTR_MAX, |
| 131 | }; | 132 | }; |
| 132 | 133 | ||