blob: 7154422072bfe8e0ea8d8592a43383758a5a24bc [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
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 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _UAPI__LINUX_ATALK_H__
20#define _UAPI__LINUX_ATALK_H__
21#include <linux/types.h>
22#include <asm/byteorder.h>
Nick Kralevicha67e4de2013-01-14 11:28:26 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070024#include <linux/socket.h>
25#define ATPORT_FIRST 1
26#define ATPORT_RESERVED 128
27#define ATPORT_LAST 254
Nick Kralevicha67e4de2013-01-14 11:28:26 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029#define ATADDR_ANYNET (__u16) 0
30#define ATADDR_ANYNODE (__u8) 0
31#define ATADDR_ANYPORT (__u8) 0
32#define ATADDR_BCAST (__u8) 255
Nick Kralevicha67e4de2013-01-14 11:28:26 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070034#define DDP_MAXSZ 587
35#define DDP_MAXHOPS 15
36#define SIOCATALKDIFADDR (SIOCPROTOPRIVATE + 0)
37struct atalk_addr {
Nick Kralevicha67e4de2013-01-14 11:28:26 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 __be16 s_net;
40 __u8 s_node;
Ben Cheng655a7c02013-10-16 16:09:24 -070041};
42struct sockaddr_at {
Nick Kralevicha67e4de2013-01-14 11:28:26 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 __kernel_sa_family_t sat_family;
45 __u8 sat_port;
46 struct atalk_addr sat_addr;
47 char sat_zero[8];
Nick Kralevicha67e4de2013-01-14 11:28:26 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070049};
50struct atalk_netrange {
Tao Baod7db5942015-01-28 10:07:51 -080051 __u8 nr_phase;
52 __be16 nr_firstnet;
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 __be16 nr_lastnet;
Ben Cheng655a7c02013-10-16 16:09:24 -070055};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080056#endif