Import asm headers for 64-bit glibc compilation
[linux-headers-for-nacl.git] / include / linux / atalk.h
blobc418d9a0722d9c271adb74631b7c0f166c3c0d78
1 #ifndef __LINUX_ATALK_H__
2 #define __LINUX_ATALK_H__
4 #include <asm/byteorder.h>
6 /*
7 * AppleTalk networking structures
9 * The following are directly referenced from the University Of Michigan
10 * netatalk for compatibility reasons.
12 #define ATPORT_FIRST 1
13 #define ATPORT_RESERVED 128
14 #define ATPORT_LAST 254 /* 254 is only legal on localtalk */
15 #define ATADDR_ANYNET (__u16)0
16 #define ATADDR_ANYNODE (__u8)0
17 #define ATADDR_ANYPORT (__u8)0
18 #define ATADDR_BCAST (__u8)255
19 #define DDP_MAXSZ 587
20 #define DDP_MAXHOPS 15 /* 4 bits of hop counter */
22 #define SIOCATALKDIFADDR (SIOCPROTOPRIVATE + 0)
24 struct atalk_addr {
25 __be16 s_net;
26 __u8 s_node;
29 struct sockaddr_at {
30 sa_family_t sat_family;
31 __u8 sat_port;
32 struct atalk_addr sat_addr;
33 char sat_zero[8];
36 struct atalk_netrange {
37 __u8 nr_phase;
38 __be16 nr_firstnet;
39 __be16 nr_lastnet;
42 #endif /* __LINUX_ATALK_H__ */