netatalk
4.4.3
Free and Open Source Apple Filing Protocol (AFP) Server
Toggle main menu visibility
Loading...
Searching...
No Matches
include/atalk/zip.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
* Permission to use, copy, modify, and distribute this software and
6
* its documentation for any purpose and without fee is hereby granted,
7
* provided that the above copyright notice appears in all copies and
8
* that both that copyright notice and this permission notice appear
9
* in supporting documentation, and that the name of The University
10
* of Michigan not be used in advertising or publicity pertaining to
11
* distribution of the software without specific, written prior
12
* permission. This software is supplied as is without expressed or
13
* implied warranties of any kind.
14
*
15
* Research Systems Unix Group
16
* The University of Michigan
17
* c/o Mike Clark
18
* 535 W. William Street
19
* Ann Arbor, Michigan
20
* +1-313-763-0525
21
* netatalk@itd.umich.edu
22
*/
23
24
25
#ifndef _ATALK_ZIP_H
26
#define _ATALK_ZIP_H 1
27
28
#ifndef NO_DDP
29
30
struct
ziphdr
{
31
uint8_t
zh_op
;
32
uint8_t
zh_cnt
;
33
#define zh_count zh_cnt
34
#define zh_zero zh_cnt
35
#define zh_flags zh_cnt
36
};
37
38
struct
zipreplent
{
39
uint16_t
zre_net
;
40
uint8_t
zre_zonelen
;
41
};
42
43
#define ZIPOP_QUERY 1
44
#define ZIPOP_REPLY 2
45
#define ZIPOP_TAKEDOWN 3
/* XXX */
46
#define ZIPOP_BRINGUP 4
/* XXX */
47
#define ZIPOP_GNI 5
48
#define ZIPOP_GNIREPLY 6
49
#define ZIPOP_NOTIFY 7
50
#define ZIPOP_EREPLY 8
51
#define ZIPOP_GETMYZONE 7
52
#define ZIPOP_GETZONELIST 8
53
#define ZIPOP_GETLOCALZONES 9
54
55
#define ZIPGNI_INVALID 0x80
56
#define ZIPGNI_USEBROADCAST 0x40
57
#define ZIPGNI_ONEZONE 0x20
58
59
#define MAX_ZONE_LENGTH 32
60
61
#endif
/* NO_DDP */
62
#endif
ziphdr
Definition
include/atalk/zip.h:30
ziphdr::zh_cnt
uint8_t zh_cnt
Definition
include/atalk/zip.h:32
ziphdr::zh_op
uint8_t zh_op
Definition
include/atalk/zip.h:31
zipreplent
Definition
include/atalk/zip.h:38
zipreplent::zre_zonelen
uint8_t zre_zonelen
Definition
include/atalk/zip.h:40
zipreplent::zre_net
uint16_t zre_net
Definition
include/atalk/zip.h:39
include
atalk
zip.h
Generated by
1.17.0