diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-02-13 13:49:59 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-13 17:24:03 +0400 |
commit | 9ab318da7dc76850f7618451056e332f2e7d0107 (patch) | |
tree | fe777779d98beeb749d4617c99e5d3bd92a8134c /accel-pppd/ctrl/l2tp/dict | |
parent | 124a74f8544c8d3d20b6b6e2cec13ddca883d904 (diff) | |
download | accel-ppp-9ab318da7dc76850f7618451056e332f2e7d0107.tar.gz accel-ppp-9ab318da7dc76850f7618451056e332f2e7d0107.zip |
l2tp: Fix RFC 2661 and RFC 3931 dictionaries
Fix a few errors in dictionary.rfc2661 and dictionary.rfc3931 (missing
entries, typos, wrong type/flags, etc.) and re-generate attr_defs.h.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl/l2tp/dict')
-rw-r--r-- | accel-pppd/ctrl/l2tp/dict/dictionary.rfc2661 | 15 | ||||
-rw-r--r-- | accel-pppd/ctrl/l2tp/dict/dictionary.rfc3931 | 9 |
2 files changed, 13 insertions, 11 deletions
diff --git a/accel-pppd/ctrl/l2tp/dict/dictionary.rfc2661 b/accel-pppd/ctrl/l2tp/dict/dictionary.rfc2661 index 3fd9614e..8b27cf08 100644 --- a/accel-pppd/ctrl/l2tp/dict/dictionary.rfc2661 +++ b/accel-pppd/ctrl/l2tp/dict/dictionary.rfc2661 @@ -4,15 +4,15 @@ ATTRIBUTE Result-Code 1 octets M=1 H=0 ATTRIBUTE Protocol-Version 2 int16 M=1 H=0 ATTRIBUTE Framing-Capabilities 3 int32 M=1 ATTRIBUTE Bearer-Capabilities 4 int32 M=1 -ATTRIBUTE Tie-Breaker 5 int64 M=0 +ATTRIBUTE Tie-Breaker 5 int64 M=0 H=0 ATTRIBUTE Firmware-Revision 6 int16 M=0 -ATTRIBUTE Host-Name 7 string M=1 +ATTRIBUTE Host-Name 7 string M=1 H=0 ATTRIBUTE Vendor-Name 8 string M=0 ATTRIBUTE Assigned-Tunnel-ID 9 int16 M=1 -ATTRIBUTE Recv-Window-Size 10 int16 M=1 -ATTRIBUTE Challenge 11 octets M=1 +ATTRIBUTE Recv-Window-Size 10 int16 M=1 H=0 +ATTRIBUTE Challenge 11 octets M=1 ATTRIBUTE Challenge-Response 13 octets M=1 -ATTRIBUTE Cause-Code 12 int32 M=1 H=0 +ATTRIBUTE Cause-Code 12 octets M=1 H=0 ATTRIBUTE Assigned-Session-ID 14 int16 M=1 ATTRIBUTE Call-Serial-Number 15 int32 M=1 ATTRIBUTE Minimum-BPS 16 int32 M=1 @@ -23,9 +23,9 @@ ATTRIBUTE Called-Number 21 string M=1 ATTRIBUTE Calling-Number 22 string M=1 ATTRIBUTE Sub-Address 23 string M=1 ATTRIBUTE TX-Speed 24 int32 M=1 -ATTRIBUTE RX-Speed 38 int32 M=1 +ATTRIBUTE RX-Speed 38 int32 M=0 ATTRIBUTE Physical-Channel-ID 25 int32 M=0 -ATTRIBUTE Private-Group-ID 37 int32 M=0 +ATTRIBUTE Private-Group-ID 37 octets M=0 ATTRIBUTE Sequencing-Required 39 none M=1 H=0 ATTRIBUTE Init-Recv-LCP 26 octets M=0 ATTRIBUTE Last-Sent-LCP 27 octets M=0 @@ -52,4 +52,3 @@ VALUE Message-Type Incoming-Call-Connected 12 VALUE Message-Type Call-Disconnect-Notify 14 VALUE Message-Type WAN-Error-Notify 15 VALUE Message-Type Set-Link-Info 16 - diff --git a/accel-pppd/ctrl/l2tp/dict/dictionary.rfc3931 b/accel-pppd/ctrl/l2tp/dict/dictionary.rfc3931 index d6ad410b..bfc80765 100644 --- a/accel-pppd/ctrl/l2tp/dict/dictionary.rfc3931 +++ b/accel-pppd/ctrl/l2tp/dict/dictionary.rfc3931 @@ -1,4 +1,5 @@ -ATTRIBUTE Message-Digest 59 octets M=1 H=0 +ATTRIBUTE Message-Digest 59 octets H=0 +ATTRIBUTE Ctrl-Message-Auth-Nonce 73 octets H=0 ATTRIBUTE Router-ID 60 int32 H=0 ATTRIBUTE Assigned-Connection-ID 61 int32 ATTRIBUTE Pseudowire-Capabilities 62 octets @@ -10,6 +11,8 @@ ATTRIBUTE Remote-End-ID 66 octets ATTRIBUTE Pseudowire-Type 68 int16 ATTRIBUTE L2-Specific-Sublayer 69 int16 ATTRIBUTE Data-Sequencing 70 int16 -ATTRIBUTE TX-Connect-Speeed 74 int64 -ATTRIBUTE RX-Connect-Speeed 75 int64 +ATTRIBUTE TX-Connect-Speed 74 int64 +ATTRIBUTE RX-Connect-Speed 75 int64 ATTRIBUTE Circuit-Status 71 int16 + +VALUE Message-Type Explicit-Ack 20 |