print-l2tp.c (147899) | print-l2tp.c (172683) |
---|---|
1/* 2 * Copyright (c) 1991, 1993, 1994, 1995, 1996, 1997 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 7 * retain the above copyright notice and this paragraph in its entirety, (2) 8 * distributions including binary code include the above copyright notice and --- 9 unchanged lines hidden (view full) --- 18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 20 * 21 * L2TP support contributed by Motonori Shindo (mshindo@mshindo.net) 22 */ 23 24#ifndef lint 25static const char rcsid[] _U_ = | 1/* 2 * Copyright (c) 1991, 1993, 1994, 1995, 1996, 1997 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 7 * retain the above copyright notice and this paragraph in its entirety, (2) 8 * distributions including binary code include the above copyright notice and --- 9 unchanged lines hidden (view full) --- 18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 20 * 21 * L2TP support contributed by Motonori Shindo (mshindo@mshindo.net) 22 */ 23 24#ifndef lint 25static const char rcsid[] _U_ = |
26 "@(#) $Header: /tcpdump/master/tcpdump/print-l2tp.c,v 1.17.2.2 2005/04/20 21:50:16 guy Exp $"; | 26 "@(#) $Header: /tcpdump/master/tcpdump/print-l2tp.c,v 1.17.2.3 2006/06/23 02:07:27 hannes Exp $"; |
27#endif 28 29#ifdef HAVE_CONFIG_H 30#include "config.h" 31#endif 32 33#include <tcpdump-stdinc.h> 34 35#include <stdio.h> 36 37#include "l2tp.h" 38#include "interface.h" 39#include "extract.h" 40 41static char tstr[] = " [|l2tp]"; 42 | 27#endif 28 29#ifdef HAVE_CONFIG_H 30#include "config.h" 31#endif 32 33#include <tcpdump-stdinc.h> 34 35#include <stdio.h> 36 37#include "l2tp.h" 38#include "interface.h" 39#include "extract.h" 40 41static char tstr[] = " [|l2tp]"; 42 |
43#ifndef TRUE 44#define TRUE 1 45#endif 46 47#ifndef FALSE 48#define FALSE 0 49#endif 50 | |
51#define L2TP_MSGTYPE_SCCRQ 1 /* Start-Control-Connection-Request */ 52#define L2TP_MSGTYPE_SCCRP 2 /* Start-Control-Connection-Reply */ 53#define L2TP_MSGTYPE_SCCCN 3 /* Start-Control-Connection-Connected */ 54#define L2TP_MSGTYPE_STOPCCN 4 /* Stop-Control-Connection-Notification */ 55#define L2TP_MSGTYPE_HELLO 6 /* Hello */ 56#define L2TP_MSGTYPE_OCRQ 7 /* Outgoing-Call-Request */ 57#define L2TP_MSGTYPE_OCRP 8 /* Outgoing-Call-Reply */ 58#define L2TP_MSGTYPE_OCCN 9 /* Outgoing-Call-Connected */ --- 664 unchanged lines hidden --- | 43#define L2TP_MSGTYPE_SCCRQ 1 /* Start-Control-Connection-Request */ 44#define L2TP_MSGTYPE_SCCRP 2 /* Start-Control-Connection-Reply */ 45#define L2TP_MSGTYPE_SCCCN 3 /* Start-Control-Connection-Connected */ 46#define L2TP_MSGTYPE_STOPCCN 4 /* Stop-Control-Connection-Notification */ 47#define L2TP_MSGTYPE_HELLO 6 /* Hello */ 48#define L2TP_MSGTYPE_OCRQ 7 /* Outgoing-Call-Request */ 49#define L2TP_MSGTYPE_OCRP 8 /* Outgoing-Call-Reply */ 50#define L2TP_MSGTYPE_OCCN 9 /* Outgoing-Call-Connected */ --- 664 unchanged lines hidden --- |