]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/netatalk/at.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / Include / netatalk / at.h
diff --git a/StdLib/Include/netatalk/at.h b/StdLib/Include/netatalk/at.h
deleted file mode 100644 (file)
index 6c2b4f4..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-/*\r
- * Copyright (c) 1990,1991 Regents of The University of Michigan.\r
- * All Rights Reserved.\r
- *\r
- * Permission to use, copy, modify, and distribute this software and\r
- * its documentation for any purpose and without fee is hereby granted,\r
- * provided that the above copyright notice appears in all copies and\r
- * that both that copyright notice and this permission notice appear\r
- * in supporting documentation, and that the name of The University\r
- * of Michigan not be used in advertising or publicity pertaining to\r
- * distribution of the software without specific, written prior\r
- * permission. This software is supplied as is without expressed or\r
- * implied warranties of any kind.\r
- *\r
- *     Research Systems Unix Group\r
- *     The University of Michigan\r
- *     c/o Mike Clark\r
- *     535 W. William Street\r
- *     Ann Arbor, Michigan\r
- *     +1-313-763-0525\r
- *     netatalk@itd.umich.edu\r
- */\r
-\r
-#ifndef __AT_HEADER__\r
-#define __AT_HEADER__\r
-/*\r
- * Supported protocols\r
- */\r
-#define ATPROTO_DDP    0\r
-#define ATPROTO_AARP   254\r
-\r
-/*\r
- * Ethernet types, for DIX.\r
- * These should really be in some global header file, but we can't\r
- * count on them being there, and it's annoying to patch system files.\r
- */\r
-#define ETHERTYPE_AT   0x809B          /* AppleTalk protocol */\r
-#define ETHERTYPE_AARP 0x80F3          /* AppleTalk ARP */\r
-\r
-#define DDP_MAXSZ      587\r
-\r
-/*\r
- * If ATPORT_FIRST <= Port < ATPORT_RESERVED,\r
- * Port was created by a privileged process.\r
- * If ATPORT_RESERVED <= Port < ATPORT_LAST,\r
- * Port was not necessarily created by a\r
- * privileged process.\r
- */\r
-#define ATPORT_FIRST   1\r
-#define ATPORT_RESERVED        128\r
-#define ATPORT_LAST    255\r
-\r
-/*\r
- * AppleTalk address.\r
- */\r
-struct at_addr {\r
-    u_short    s_net;\r
-    u_char     s_node;\r
-};\r
-\r
-#define ATADDR_ANYNET  (u_short)0x0000\r
-#define ATADDR_ANYNODE (u_char)0x00\r
-#define ATADDR_ANYPORT (u_char)0x00\r
-#define ATADDR_BCAST   (u_char)0xff            /* There is no BCAST for NET */\r
-\r
-struct netrange {\r
-    u_char             nr_phase;\r
-    u_short            nr_firstnet;\r
-    u_short            nr_lastnet;\r
-};\r
-\r
-/*\r
- * Socket address, AppleTalk style.  We keep magic information in the \r
- * zero bytes.  There are three types, NONE, CONFIG which has the phase\r
- * and a net range, and IFACE which has the network address of an\r
- * interface.  IFACE may be filled in by the client, and is filled in\r
- * by the kernel.\r
- */\r
-struct sockaddr_at {\r
-    u_char             sat_len;\r
-    u_char             sat_family;\r
-    u_char             sat_port;\r
-    struct at_addr     sat_addr;\r
-    union {\r
-       struct netrange r_netrange;\r
-       char            r_zero[ 8 ];    /* Hide a struct netrange in here */\r
-    } sat_range;\r
-};\r
-\r
-#define sat_zero sat_range.r_zero\r
-\r
-#endif /* !__AT_HEADER__ */\r