mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
l2tp: adjust comments about L2TPv3 offsets
The "offset" option has been removed by
commit 900631ee6a
("l2tp: remove configurable payload offset").
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Acked-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f102852f98
commit
23fe846f9a
@ -65,7 +65,7 @@ struct sockaddr_l2tpip6 {
|
|||||||
* TUNNEL_MODIFY - CONN_ID, udpcsum
|
* TUNNEL_MODIFY - CONN_ID, udpcsum
|
||||||
* TUNNEL_GETSTATS - CONN_ID, (stats)
|
* TUNNEL_GETSTATS - CONN_ID, (stats)
|
||||||
* TUNNEL_GET - CONN_ID, (...)
|
* TUNNEL_GET - CONN_ID, (...)
|
||||||
* SESSION_CREATE - SESSION_ID, PW_TYPE, offset, data_seq, cookie, peer_cookie, offset, l2spec
|
* SESSION_CREATE - SESSION_ID, PW_TYPE, data_seq, cookie, peer_cookie, l2spec
|
||||||
* SESSION_DELETE - SESSION_ID
|
* SESSION_DELETE - SESSION_ID
|
||||||
* SESSION_MODIFY - SESSION_ID, data_seq
|
* SESSION_MODIFY - SESSION_ID, data_seq
|
||||||
* SESSION_GET - SESSION_ID, (...)
|
* SESSION_GET - SESSION_ID, (...)
|
||||||
|
@ -662,10 +662,9 @@ discard:
|
|||||||
* |x|S|x|x|x|x|x|x| Sequence Number |
|
* |x|S|x|x|x|x|x|x| Sequence Number |
|
||||||
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
*
|
*
|
||||||
* Cookie value, sublayer format and offset (pad) are negotiated with
|
* Cookie value and sublayer format are negotiated with the peer when
|
||||||
* the peer when the session is set up. Unlike L2TPv2, we do not need
|
* the session is set up. Unlike L2TPv2, we do not need to parse the
|
||||||
* to parse the packet header to determine if optional fields are
|
* packet header to determine if optional fields are present.
|
||||||
* present.
|
|
||||||
*
|
*
|
||||||
* Caller must already have parsed the frame and determined that it is
|
* Caller must already have parsed the frame and determined that it is
|
||||||
* a data (not control) frame before coming here. Fields up to the
|
* a data (not control) frame before coming here. Fields up to the
|
||||||
|
Loading…
Reference in New Issue
Block a user