1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _UAPI__LINUX_ATALK_H__
20 #define _UAPI__LINUX_ATALK_H__
21 #include <linux/types.h>
22 #include <asm/byteorder.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #include <linux/socket.h>
25 #define ATPORT_FIRST 1
26 #define ATPORT_RESERVED 128
27 #define ATPORT_LAST 254
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define ATADDR_ANYNET (__u16) 0
30 #define ATADDR_ANYNODE (__u8) 0
31 #define ATADDR_ANYPORT (__u8) 0
32 #define ATADDR_BCAST (__u8) 255
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define DDP_MAXSZ 587
35 #define DDP_MAXHOPS 15
36 #define SIOCATALKDIFADDR (SIOCPROTOPRIVATE + 0)
37 struct atalk_addr {
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   __be16 s_net;
40   __u8 s_node;
41 };
42 struct sockaddr_at {
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44   __kernel_sa_family_t sat_family;
45   __u8 sat_port;
46   struct atalk_addr sat_addr;
47   char sat_zero[8];
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 };
50 struct atalk_netrange {
51   __u8 nr_phase;
52   __be16 nr_firstnet;
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54   __be16 nr_lastnet;
55 };
56 #endif
57