hdlc.c (78189) | hdlc.c (81634) |
---|---|
1/*- 2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org> 3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp> 4 * Internet Initiative Japan, Inc (IIJ) 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org> 3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp> 4 * Internet Initiative Japan, Inc (IIJ) 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/usr.sbin/ppp/hdlc.c 78189 2001-06-13 21:52:19Z brian $ | 28 * $FreeBSD: head/usr.sbin/ppp/hdlc.c 81634 2001-08-14 16:05:52Z brian $ |
29 */ 30 31#include <sys/param.h> 32#include <sys/un.h> 33 34#include <stdio.h> 35#include <string.h> 36#include <termios.h> --- 167 unchanged lines hidden (view full) --- 204 { 0x0047, 0x0047, "DCA Remote Lan" }, 205 { 0x0049, 0x0049, "Serial Data Transport Protocol (PPP-SDTP)" }, 206 { 0x004b, 0x004b, "SNA over 802.2" }, 207 { 0x004d, 0x004d, "SNA" }, 208 { 0x004f, 0x004f, "IP6 Header Compression" }, 209 { 0x0051, 0x0051, "KNX Bridging Data" }, 210 { 0x0053, 0x0053, "Encryption" }, 211 { 0x0055, 0x0055, "Individual Link Encryption" }, | 29 */ 30 31#include <sys/param.h> 32#include <sys/un.h> 33 34#include <stdio.h> 35#include <string.h> 36#include <termios.h> --- 167 unchanged lines hidden (view full) --- 204 { 0x0047, 0x0047, "DCA Remote Lan" }, 205 { 0x0049, 0x0049, "Serial Data Transport Protocol (PPP-SDTP)" }, 206 { 0x004b, 0x004b, "SNA over 802.2" }, 207 { 0x004d, 0x004d, "SNA" }, 208 { 0x004f, 0x004f, "IP6 Header Compression" }, 209 { 0x0051, 0x0051, "KNX Bridging Data" }, 210 { 0x0053, 0x0053, "Encryption" }, 211 { 0x0055, 0x0055, "Individual Link Encryption" }, |
212 { 0x0057, 0x0057, "Internet Protocol V6" }, |
|
212 { 0x006f, 0x006f, "Stampede Bridging" }, 213 { 0x0071, 0x0071, "BAP Bandwidth Allocation Protocol" }, 214 { 0x0073, 0x0073, "MP+ Protocol" }, 215 { 0x007d, 0x007d, "reserved (Control Escape)" }, 216 { 0x007f, 0x007f, "reserved (compression inefficient)" }, 217 { 0x00cf, 0x00cf, "reserved (PPP NLPID)" }, 218 { 0x00fb, 0x00fb, "compression on single link in multilink group" }, 219 { 0x00fd, 0x00fd, "1st choice compression" }, --- 34 unchanged lines hidden (view full) --- 254 { 0x8047, 0x8047, "DCA Remote Lan Network Control Protocol (RLNCP)" }, 255 { 0x8049, 0x8049, "Serial Data Control Protocol (PPP-SDCP)" }, 256 { 0x804b, 0x804b, "SNA over 802.2 Control Protocol" }, 257 { 0x804d, 0x804d, "SNA Control Protocol" }, 258 { 0x804f, 0x804f, "IP6 Header Compression Control Protocol" }, 259 { 0x8051, 0x8051, "KNX Bridging Control Protocol" }, 260 { 0x8053, 0x8053, "Encryption Control Protocol" }, 261 { 0x8055, 0x8055, "Individual Link Encryption Control Protocol" }, | 213 { 0x006f, 0x006f, "Stampede Bridging" }, 214 { 0x0071, 0x0071, "BAP Bandwidth Allocation Protocol" }, 215 { 0x0073, 0x0073, "MP+ Protocol" }, 216 { 0x007d, 0x007d, "reserved (Control Escape)" }, 217 { 0x007f, 0x007f, "reserved (compression inefficient)" }, 218 { 0x00cf, 0x00cf, "reserved (PPP NLPID)" }, 219 { 0x00fb, 0x00fb, "compression on single link in multilink group" }, 220 { 0x00fd, 0x00fd, "1st choice compression" }, --- 34 unchanged lines hidden (view full) --- 255 { 0x8047, 0x8047, "DCA Remote Lan Network Control Protocol (RLNCP)" }, 256 { 0x8049, 0x8049, "Serial Data Control Protocol (PPP-SDCP)" }, 257 { 0x804b, 0x804b, "SNA over 802.2 Control Protocol" }, 258 { 0x804d, 0x804d, "SNA Control Protocol" }, 259 { 0x804f, 0x804f, "IP6 Header Compression Control Protocol" }, 260 { 0x8051, 0x8051, "KNX Bridging Control Protocol" }, 261 { 0x8053, 0x8053, "Encryption Control Protocol" }, 262 { 0x8055, 0x8055, "Individual Link Encryption Control Protocol" }, |
263 { 0x8057, 0x8057, "Internet Protocol V6 Control Protocol" }, |
|
262 { 0x806f, 0x806f, "Stampede Bridging Control Protocol" }, 263 { 0x8073, 0x8073, "MP+ Control Protocol" }, 264 { 0x8071, 0x8071, "BACP Bandwidth Allocation Control Protocol" }, 265 { 0x807d, 0x807d, "Not Used - reserved" }, 266 { 0x80cf, 0x80cf, "Not Used - reserved" }, 267 { 0x80fb, 0x80fb, "compression on single link in multilink group control" }, 268 { 0x80fd, 0x80fd, "Compression Control Protocol" }, 269 { 0x80ff, 0x80ff, "Not Used - reserved" }, --- 168 unchanged lines hidden --- | 264 { 0x806f, 0x806f, "Stampede Bridging Control Protocol" }, 265 { 0x8073, 0x8073, "MP+ Control Protocol" }, 266 { 0x8071, 0x8071, "BACP Bandwidth Allocation Control Protocol" }, 267 { 0x807d, 0x807d, "Not Used - reserved" }, 268 { 0x80cf, 0x80cf, "Not Used - reserved" }, 269 { 0x80fb, 0x80fb, "compression on single link in multilink group control" }, 270 { 0x80fd, 0x80fd, "Compression Control Protocol" }, 271 { 0x80ff, 0x80ff, "Not Used - reserved" }, --- 168 unchanged lines hidden --- |