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 (1 of 5 files). Show all

Unified · Split

include/uapi/linux/l2tp.h+1−0
@@ -127,6 +127,7 @@ enum { · 126 unmodified lines
127127 L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* flag */
128128 L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* flag */
129129 L2TP_ATTR_PAD,
130+ L2TP_ATTR_PEER_OFFSET, /* u16 */
130131 __L2TP_ATTR_MAX,
131132 };
132133

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t