History

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

Lorenzo Bianconi committed 8 years ago

Commit f15bc541 parent 820da535 files · +38 −8Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/l2tp.h+1−0
@@ -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