⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 if_llc.h

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 H
字号:
/* static     char    *sccsid = "@(#)if_llc.h	4.1	(ULTRIX)	7/2/90"; *//************************************************************************ *									* *		      Copyright (c) 1985, 1989 by			* *		Digital Equipment Corporation, Maynard, MA		* *			All rights reserved.				* *									* *   This software is furnished under a license and may be used and	* *   copied  only  in accordance with the terms of such license and	* *   with the  inclusion  of  the  above  copyright  notice.   This	* *   software  or  any  other copies thereof may not be provided or	* *   otherwise made available to any other person.  No title to and	* *   ownership of the software is hereby transferred.			* *									* *   This software is  derived  from  software  received  from  the	* *   University    of   California,   Berkeley,   and   from   Bell	* *   Laboratories.  Use, duplication, or disclosure is  subject  to	* *   restrictions  under  license  agreements  with  University  of	* *   California and with AT&T.						* *									* *   The information in this software is subject to change  without	* *   notice  and should not be construed as a commitment by Digital	* *   Equipment Corporation.						* *									* *   Digital assumes no responsibility for the use  or  reliability	* *   of its software on equipment which is not supplied by Digital.	* *									* ************************************************************************/ /*  * Copyright (c) 1988 Regents of the University of California.  * All rights reserved.  *  *      @(#)if_llc.h	7.1 (Berkeley) 9/4/89  *//* * IEEE 802.2 Link Level Control headers, for use in conjunction with * 802.{3,4,5} media access control methods. * * Headers here do not use bit fields due to shortcommings in many * compilers. */struct llc {	u_char	llc_dsap;	u_char	llc_ssap;	union {	    struct {		u_char control;		u_char format_id;		u_char class;		u_char window_x2;	    } type_u;	    struct {		u_char num_snd_x2;		u_char num_rcv_x2;	    } type_i;	    struct {		u_char control;		u_char num_rcv_x2;	    } type_s;	    struct {		u_char control;		u_char org_code[3];		u_short ether_type;	    } type_snap;	} llc_un;};#define llc_control llc_un.type_u.control#define llc_fid llc_un.type_u.format_id#define llc_class llc_un.type_u.class#define llc_window llc_un.type_u.window_x2#define	llc_org_code llc_un.type_snap.org_code#define	llc_ether_type llc_un.type_snap.ether_type#define LLC_UI		0x3#define LLC_UI_P	0x13#define LLC_XID		0xaf#define LLC_XID_P	0xbf#define LLC_TEST	0xe3#define LLC_TEST_P	0xf3#define LLC_ISO_LSAP	0xfe#define LLC_SNAP_LSAP	0xaa

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -