1/*
2 * This header was generated from the Linux kernel headers by update_headers.py,
3 * to provide necessary information from kernel to userspace, such as constants,
4 * structures, and macros, and thus, contains no copyrightable information.
5 */
6#ifndef _UAPI__LINUX_ATALK_H__
7#define _UAPI__LINUX_ATALK_H__
8#include <linux/types.h>
9#include <asm/byteorder.h>
10#include <linux/socket.h>
11#define ATPORT_FIRST	1
12#define ATPORT_RESERVED	128
13#define ATPORT_LAST	254
14#define ATADDR_ANYNET	(__u16)0
15#define ATADDR_ANYNODE	(__u8)0
16#define ATADDR_ANYPORT  (__u8)0
17#define ATADDR_BCAST	(__u8)255
18#define DDP_MAXSZ	587
19#define DDP_MAXHOPS     15
20#define SIOCATALKDIFADDR       (SIOCPROTOPRIVATE + 0)
21struct atalk_addr {
22	__be16	s_net;
23	__u8	s_node;
24};
25struct sockaddr_at {
26	__kernel_sa_family_t sat_family;
27	__u8		  sat_port;
28	struct atalk_addr sat_addr;
29	char		  sat_zero[8];
30};
31struct atalk_netrange {
32	__u8	nr_phase;
33	__be16	nr_firstnet;
34	__be16	nr_lastnet;
35};
36#endif
37