netatalk
4.4.3
Free and Open Source Apple Filing Protocol (AFP) Server
Toggle main menu visibility
Loading...
Searching...
No Matches
phase2.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 1990,1991 Regents of The University of Michigan.
3
* All Rights Reserved.
4
*/
5
6
# if defined( BSD4_4 )
7
#include <net/if_llc.h>
8
# else
/* BSD4_4 */
9
10
#if !defined( __svr4__ )
11
#include <net/if_ieee802.h>
12
#endif
/* !__svr4__ */
13
14
/*
15
* Copyright (c) 1988 Regents of the University of California.
16
* All rights reserved.
17
*
18
* @(#)if_llc.h 7.2 (Berkeley) 6/28/90
19
*/
20
29
30
struct
llc
{
31
unsigned
char
llc_dsap
;
32
unsigned
char
llc_ssap
;
33
union
{
34
struct
{
35
unsigned
char
control
;
36
unsigned
char
format_id
;
37
unsigned
char
class
;
38
unsigned
char
window_x2
;
39
}
type_u
;
40
struct
{
41
unsigned
char
num_snd_x2
;
42
unsigned
char
num_rcv_x2
;
43
}
type_i
;
44
struct
{
45
unsigned
char
control
;
46
unsigned
char
num_rcv_x2
;
47
}
type_s
;
48
struct
{
49
unsigned
char
control
;
50
unsigned
char
org_code
[3];
51
unsigned
short
ether_type
;
52
}
type_snap
;
53
}
llc_un
;
54
};
55
#define llc_control llc_un.type_u.control
56
#define llc_fid llc_un.type_u.format_id
57
#define llc_class llc_un.type_u.class
58
#define llc_window llc_un.type_u.window_x2
59
#define llc_org_code llc_un.type_snap.org_code
60
#define llc_ether_type llc_un.type_snap.ether_type
61
62
#define LLC_UI 0x3
63
#define LLC_UI_P 0x13
64
#define LLC_XID 0xaf
65
#define LLC_XID_P 0xbf
66
#define LLC_TEST 0xe3
67
#define LLC_TEST_P 0xf3
68
69
#define LLC_ISO_LSAP 0xfe
70
#define LLC_SNAP_LSAP 0xaa
71
72
#define SIOCPHASE1 _IOW('i', 100, struct ifreq)
73
#define SIOCPHASE2 _IOW('i', 101, struct ifreq)
74
#endif
/* BSD4_4 */
llc
Definition
phase2.h:30
llc::llc_ssap
unsigned char llc_ssap
Definition
phase2.h:32
llc::num_snd_x2
unsigned char num_snd_x2
Definition
phase2.h:41
llc::org_code
unsigned char org_code[3]
Definition
phase2.h:50
llc::type_u
struct llc::@260224042107152224230205035167257141035341062205::@131117047147350155275270056327177373256337367030 type_u
llc::num_rcv_x2
unsigned char num_rcv_x2
Definition
phase2.h:42
llc::type_i
struct llc::@260224042107152224230205035167257141035341062205::@145016334317111321230212256123341014264060110065 type_i
llc::type_s
struct llc::@260224042107152224230205035167257141035341062205::@100050041244015246145255047014375276317131374133 type_s
llc::ether_type
unsigned short ether_type
Definition
phase2.h:51
llc::llc_dsap
unsigned char llc_dsap
Definition
phase2.h:31
llc::control
unsigned char control
Definition
phase2.h:35
llc::llc_un
union llc::@260224042107152224230205035167257141035341062205 llc_un
llc::type_snap
struct llc::@260224042107152224230205035167257141035341062205::@204157127276011032171215334130023232362177175043 type_snap
llc::format_id
unsigned char format_id
Definition
phase2.h:36
llc::window_x2
unsigned char window_x2
Definition
phase2.h:38
sys
netatalk
phase2.h
Generated by
1.17.0