The Android Open Source Project | 2949f58 | 2009-03-03 19:30:46 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2002 Guy Harris. |
| 3 | * 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 |
| 7 | * distributions retain the above copyright notice and this paragraph |
| 8 | * in its entirety, and (2) distributions including binary code include |
| 9 | * the above copyright notice and this paragraph in its entirety in |
| 10 | * the documentation or other materials provided with the distribution. |
| 11 | * The name of Guy Harris may not be used to endorse or promote products |
| 12 | * derived from this software without specific prior written permission. |
| 13 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED |
| 14 | * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
| 15 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 16 | * |
JP Abgrall | 53f17a9 | 2014-02-12 14:02:41 -0800 | [diff] [blame] | 17 | * @(#) $Header: /tcpdump/master/tcpdump/atm.h,v 1.3 2006-02-08 01:43:00 hannes Exp $ |
The Android Open Source Project | 2949f58 | 2009-03-03 19:30:46 -0800 | [diff] [blame] | 18 | */ |
| 19 | |
| 20 | /* |
| 21 | * Traffic types for ATM. |
| 22 | */ |
| 23 | #define ATM_UNKNOWN 0 /* Unknown */ |
| 24 | #define ATM_LANE 1 /* LANE */ |
| 25 | #define ATM_LLC 2 /* LLC encapsulation */ |
| 26 | |
| 27 | /* |
| 28 | * some OAM cell captures (most notably Juniper's) |
| 29 | * do not deliver a heading HEC byte |
| 30 | */ |
| 31 | #define ATM_OAM_NOHEC 0 |
| 32 | #define ATM_OAM_HEC 1 |
JP Abgrall | 53f17a9 | 2014-02-12 14:02:41 -0800 | [diff] [blame] | 33 | #define ATM_HDR_LEN_NOHEC 4 |