mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-10 00:33:22 -04:00
l2tp: add peer_offset parameter
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 Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
820da53575
commit
f15bc54eee
5 changed files with 38 additions and 8 deletions
|
@ -127,6 +127,7 @@ enum {
|
|||
L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* flag */
|
||||
L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* flag */
|
||||
L2TP_ATTR_PAD,
|
||||
L2TP_ATTR_PEER_OFFSET, /* u16 */
|
||||
__L2TP_ATTR_MAX,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue