summaryrefslogtreecommitdiff
path: root/sys/netatalk/phase2.h
diff options
context:
space:
mode:
authordenny <denny@cvs.openbsd.org>1997-07-23 03:39:56 +0000
committerdenny <denny@cvs.openbsd.org>1997-07-23 03:39:56 +0000
commitd5b5fef1bdafdd83fef5c12b6377d14969833223 (patch)
tree1ad3ced51a31c06338a1a898f59a19ea3ec76764 /sys/netatalk/phase2.h
parente3f1ae5edbe93df49723a93fe383d3b3d2282221 (diff)
netatalk, based on the 1.4a2 dist from the University of Michigan.
The sys/netatalk files rely heavily on previous work done on FreeBSD, and to a lesser extent NetBSD.
Diffstat (limited to 'sys/netatalk/phase2.h')
-rw-r--r--sys/netatalk/phase2.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/sys/netatalk/phase2.h b/sys/netatalk/phase2.h
new file mode 100644
index 00000000000..5111557ed40
--- /dev/null
+++ b/sys/netatalk/phase2.h
@@ -0,0 +1,64 @@
+/* $OpenBSD: phase2.h,v 1.1 1997/07/23 03:39:55 denny Exp $ */
+
+/*
+ * Copyright (c) 1990,1991 Regents of The University of Michigan.
+ * All Rights Reserved.
+ */
+
+/*
+ * The following is the contents of the COPYRIGHT file from the
+ * netatalk-1.4a2 distribution, from which this file is derived.
+ */
+/*
+ * Copyright (c) 1990,1996 Regents of The University of Michigan.
+ *
+ * All Rights Reserved.
+ *
+ * Permission to use, copy, modify, and distribute this software and
+ * its documentation for any purpose and without fee is hereby granted,
+ * provided that the above copyright notice appears in all copies and
+ * that both that copyright notice and this permission notice appear
+ * in supporting documentation, and that the name of The University
+ * of Michigan not be used in advertising or publicity pertaining to
+ * distribution of the software without specific, written prior
+ * permission. This software is supplied as is without expressed or
+ * implied warranties of any kind.
+ *
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ *
+ * Solaris code is encumbered by the following:
+ *
+ * Copyright (C) 1996 by Sun Microsystems Computer Co.
+ *
+ * Permission to use, copy, modify, and distribute this software and
+ * its documentation for any purpose and without fee is hereby
+ * granted, provided that the above copyright notice appear in all
+ * copies and that both that copyright notice and this permission
+ * notice appear in supporting documentation. This software is
+ * provided "as is" without express or implied warranty.
+ *
+ * Research Systems Unix Group
+ * The University of Michigan
+ * c/o Wesley Craig
+ * 535 W. William Street
+ * Ann Arbor, Michigan
+ * +1-313-764-2278
+ * netatalk@umich.edu
+ */
+/*
+ * None of the Solaris code mentioned is included in OpenBSD.
+ * This code also relies heavily on previous effort in FreeBSD and NetBSD.
+ */
+
+#ifndef _NETATALK_PHASE2_H_
+#define _NETATALK_PHASE2_H_
+
+/* XXX Should these two go in <net/if_llc.h> ? */
+#define llc_org_code llc_un.type_snap.org_code
+#define llc_ether_type llc_un.type_snap.ether_type
+
+#define SIOCPHASE1 _IOW('i', 100, struct ifreq) /* AppleTalk phase 1 */
+#define SIOCPHASE2 _IOW('i', 101, struct ifreq) /* AppleTalk phase 2 */
+
+#endif /* _NETATALK_PHASE2_H_ */