Deleted Added
full compact
l2tp.h (75115) l2tp.h (98524)
1/* @(#) $Header: /tcpdump/master/tcpdump/l2tp.h,v 1.4 2000/12/17 23:07:49 guy Exp $ (LBL) */
1/* @(#) $Header: /tcpdump/master/tcpdump/l2tp.h,v 1.5 2001/11/05 10:03:27 guy Exp $ (LBL) */
2/*
3 * Copyright (c) 1991, 1993, 1994, 1995, 1996, 1997
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that: (1) source code distributions
8 * retain the above copyright notice and this paragraph in its entirety, (2)
9 * distributions including binary code include the above copyright notice and

--- 40 unchanged lines hidden (view full) ---

50#define L2TP_BEARER_TYPE_ANALOG_MASK 0x00000002 /* Analog */
51
52/* Authen Type */
53#define L2TP_AUTHEN_TYPE_RESERVED 0x0000 /* Reserved */
54#define L2TP_AUTHEN_TYPE_TEXTUAL 0x0001 /* Textual username/password exchange */
55#define L2TP_AUTHEN_TYPE_CHAP 0x0002 /* PPP CHAP */
56#define L2TP_AUTHEN_TYPE_PAP 0x0003 /* PPP PAP */
57#define L2TP_AUTHEN_TYPE_NO_AUTH 0x0004 /* No Authentication */
2/*
3 * Copyright (c) 1991, 1993, 1994, 1995, 1996, 1997
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that: (1) source code distributions
8 * retain the above copyright notice and this paragraph in its entirety, (2)
9 * distributions including binary code include the above copyright notice and

--- 40 unchanged lines hidden (view full) ---

50#define L2TP_BEARER_TYPE_ANALOG_MASK 0x00000002 /* Analog */
51
52/* Authen Type */
53#define L2TP_AUTHEN_TYPE_RESERVED 0x0000 /* Reserved */
54#define L2TP_AUTHEN_TYPE_TEXTUAL 0x0001 /* Textual username/password exchange */
55#define L2TP_AUTHEN_TYPE_CHAP 0x0002 /* PPP CHAP */
56#define L2TP_AUTHEN_TYPE_PAP 0x0003 /* PPP PAP */
57#define L2TP_AUTHEN_TYPE_NO_AUTH 0x0004 /* No Authentication */
58#define L2TP_AUTHEN_TYPE_MSCHAP 0x0005 /* MSCHAPv1 */
58#define L2TP_AUTHEN_TYPE_MSCHAPv1 0x0005 /* MSCHAPv1 */
59
60#define L2TP_PROXY_AUTH_ID_MASK 0x00ff
61
62
59
60#define L2TP_PROXY_AUTH_ID_MASK 0x00ff
61
62
63struct l2tp_avp_vec {
64 const char *name;
65 void (*print)(const u_char *, u_int32_t);
66};
67
68struct l2tp_call_errors {
69 u_int16_t reserved;
70 u_int32_t crc_errs;
71 u_int32_t framing_errs;
72 u_int32_t hardware_overruns;
73 u_int32_t buffer_overruns;
74 u_int32_t timeout_errs;
75 u_int32_t alignment_errs;
76};
77
78struct l2tp_accm {
79 u_int16_t reserved;
80 u_int32_t send_accm;
81 u_int32_t recv_accm;
82};
83