Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
atalk.h
Go to the documentation of this file.
1 #ifndef _UAPI__LINUX_ATALK_H__
2 #define _UAPI__LINUX_ATALK_H__
3 
4 #include <linux/types.h>
5 #include <asm/byteorder.h>
6 #include <linux/socket.h>
7 
8 /*
9  * AppleTalk networking structures
10  *
11  * The following are directly referenced from the University Of Michigan
12  * netatalk for compatibility reasons.
13  */
14 #define ATPORT_FIRST 1
15 #define ATPORT_RESERVED 128
16 #define ATPORT_LAST 254 /* 254 is only legal on localtalk */
17 #define ATADDR_ANYNET (__u16)0
18 #define ATADDR_ANYNODE (__u8)0
19 #define ATADDR_ANYPORT (__u8)0
20 #define ATADDR_BCAST (__u8)255
21 #define DDP_MAXSZ 587
22 #define DDP_MAXHOPS 15 /* 4 bits of hop counter */
23 
24 #define SIOCATALKDIFADDR (SIOCPROTOPRIVATE + 0)
25 
26 struct atalk_addr {
29 };
30 
31 struct sockaddr_at {
35  char sat_zero[8];
36 };
37 
42 };
43 
44 #endif /* _UAPI__LINUX_ATALK_H__ */