llc.h (17680) | llc.h (39297) |
---|---|
1/* | 1/* |
2 * Copyright (c) 1993, 1994 | 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 9 * this paragraph in its entirety in the documentation or other materials 10 * provided with the distribution, and (3) all advertising materials mentioning 11 * features or use of this software display the following acknowledgement: 12 * ``This product includes software developed by the University of California, 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 * | 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 * this paragraph in its entirety in the documentation or other materials 10 * provided with the distribution, and (3) all advertising materials mentioning 11 * features or use of this software display the following acknowledgement: 12 * ``This product includes software developed by the University of California, 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: llc.h,v 1.4 94/06/14 20:11:46 leres Exp $ (LBL) | 21 * @(#) $Header: llc.h,v 1.6 97/06/13 02:06:07 leres 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 --- 44 unchanged lines hidden (view full) --- 74#define LLC_XID 0xaf 75#define LLC_FRMR 0x87 76 77#define LLC_S_CMD(is) (((is) >> 10) & 0x03) 78#define LLC_RR 0x0100 79#define LLC_RNR 0x0500 80#define LLC_REJ 0x0900 81 | 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 --- 44 unchanged lines hidden (view full) --- 74#define LLC_XID 0xaf 75#define LLC_FRMR 0x87 76 77#define LLC_S_CMD(is) (((is) >> 10) & 0x03) 78#define LLC_RR 0x0100 79#define LLC_RNR 0x0500 80#define LLC_REJ 0x0900 81 |
82#define LLC_IS_NR(is) (((is) >> 9) & 0x7f) 83#define LLC_I_NS(is) (((is) >> 1) & 0x7f) | 82#define LLC_IS_NR(is) (((is) >> 1) & 0x7f) 83#define LLC_I_NS(is) (((is) >> 9) & 0x7f) |
84 85#ifndef LLCSAP_NULL 86#define LLCSAP_NULL 0x00 87#endif 88#ifndef LLCSAP_GLOBAL 89#define LLCSAP_GLOBAL 0xff 90#endif 91#ifndef LLCSAP_8021B --- 29 unchanged lines hidden --- | 84 85#ifndef LLCSAP_NULL 86#define LLCSAP_NULL 0x00 87#endif 88#ifndef LLCSAP_GLOBAL 89#define LLCSAP_GLOBAL 0xff 90#endif 91#ifndef LLCSAP_8021B --- 29 unchanged lines hidden --- |