llc.h (127668) | llc.h (146773) |
---|---|
1/* 2 * Copyright (c) 1993, 1994, 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 --- 4 unchanged lines hidden (view full) --- 13 * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 14 * the University nor the names of its contributors may be used to endorse 15 * or promote products derived from this software without specific prior 16 * written permission. 17 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 20 * | 1/* 2 * Copyright (c) 1993, 1994, 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 --- 4 unchanged lines hidden (view full) --- 13 * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 14 * the University nor the names of its contributors may be used to endorse 15 * or promote products derived from this software without specific prior 16 * written permission. 17 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 20 * |
21 * @(#) $Header: /tcpdump/master/tcpdump/llc.h,v 1.16 2002/12/11 07:13:54 guy Exp $ (LBL) | 21 * @(#) $Header: /tcpdump/master/tcpdump/llc.h,v 1.17 2005/04/06 20:09:07 hannes Exp $ (LBL) |
22 */ 23 24/* 25 * This stuff should come from a system header file, but there's no 26 * obviously portable way to do that and it's not really going 27 * to change from system to system. 28 */ 29 --- 90 unchanged lines hidden (view full) --- 120#endif 121#ifndef LLCSAP_NETBEUI 122#define LLCSAP_NETBEUI 0xf0 123#endif 124#ifndef LLCSAP_ISONS 125#define LLCSAP_ISONS 0xfe 126#endif 127 | 22 */ 23 24/* 25 * This stuff should come from a system header file, but there's no 26 * obviously portable way to do that and it's not really going 27 * to change from system to system. 28 */ 29 --- 90 unchanged lines hidden (view full) --- 120#endif 121#ifndef LLCSAP_NETBEUI 122#define LLCSAP_NETBEUI 0xf0 123#endif 124#ifndef LLCSAP_ISONS 125#define LLCSAP_ISONS 0xfe 126#endif 127 |
128#define OUI_ENCAP_ETHER 0x000000 /* encapsulated Ethernet */ 129#define OUI_CISCO 0x00000c /* Cisco protocols */ 130#define OUI_CISCO_90 0x0000f8 /* Cisco bridging */ 131#define OUI_RFC2684 0x0080c2 /* RFC 2684 bridged Ethernet */ 132#define OUI_APPLETALK 0x080007 /* Appletalk */ 133 | |
134/* 135 * PIDs for use with OUI_CISCO. 136 */ 137#define PID_CISCO_CDP 0x2000 /* Cisco Discovery Protocol */ 138 139/* 140 * PIDs for use with OUI_RFC2684. 141 */ --- 12 unchanged lines hidden --- | 128/* 129 * PIDs for use with OUI_CISCO. 130 */ 131#define PID_CISCO_CDP 0x2000 /* Cisco Discovery Protocol */ 132 133/* 134 * PIDs for use with OUI_RFC2684. 135 */ --- 12 unchanged lines hidden --- |