FreeBSD Bugzilla – Attachment 12470 Details for
Bug 24074
Properties of token-ring protocol must be separated from implementation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.52 KB, created by
nms
on 2001-01-04 18:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
nms
Created:
2001-01-04 18:30:01 UTC
Size:
2.52 KB
patch
obsolete
>--- src/sys/net/if_iso88025_var.h.orig Sun Nov 5 14:16:28 2000 >+++ src/sys/net/if_iso88025_var.h Fri Nov 3 17:27:41 2000 >@@ -0,0 +1,63 @@ >+/* >+ * Copyright (c) 1998, Larry Lile >+ * All rights reserved. >+ * >+ * For latest sources and information on this driver, please >+ * go to http://anarchy.stdio.com. >+ * >+ * Questions, comments or suggestions should be directed to >+ * Larry Lile <lile@stdio.com>. >+ * >+ * Redistribution and use in source and binary forms, with or without >+ * modification, are permitted provided that the following conditions >+ * are met: >+ * 1. Redistributions of source code must retain the above copyright >+ * notice unmodified, this list of conditions, and the following >+ * disclaimer. >+ * 2. Redistributions in binary form must reproduce the above copyright >+ * notice, this list of conditions and the following disclaimer in the >+ * documentation and/or other materials provided with the distribution. >+ * >+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND >+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE >+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE >+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE >+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL >+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS >+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) >+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT >+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY >+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF >+ * SUCH DAMAGE. >+ * >+ * Information gathered from tokenring@freebsd, /sys/net/ethernet.h and >+ * the Mach token ring driver. >+ */ >+ >+#ifndef _NET_IF_ISO88025VAR_H_ >+#define _NET_IF_ISO88025VAR_H_ >+ >+struct iso88025_sockaddr_data { >+ u_char ether_dhost[ISO88025_ADDR_LEN]; >+ u_char ether_shost[ISO88025_ADDR_LEN]; >+ u_char ac; >+ u_char fc; >+}; >+ >+/* >+ * Structure of a 48-bit iso 802.5 address. >+ * ( We could also add the 16 bit addresses as a union) >+ */ >+struct iso88025_addr { >+ u_char octet[ISO88025_ADDR_LEN]; >+}; >+ >+#define ISO88025_MAX_MTU 18000 >+#define ISO88025_DEFAULT_MTU 1500 >+ >+void iso88025_ifattach(struct ifnet *); >+int iso88025_ioctl(struct ifnet *, int , caddr_t); >+int iso88025_output(struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *); >+void iso88025_input(struct ifnet *, struct iso88025_header *, struct mbuf *); >+ >+#endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24074
:
12469
| 12470 |
12471