xref: /original-bsd/sys/news3400/if/if_news.h (revision 3705696b)
1 /*
2  * Copyright (c) 1992, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Sony Corp. and Kazumasa Utashiro of Software Research Associates, Inc.
7  *
8  * %sccs.include.redist.c%
9  *
10  * from: $Hdr: if_news.h,v 4.300 91/06/09 06:26:02 root Rel41 $ SONY
11  *
12  *	@(#)if_news.h	8.1 (Berkeley) 06/11/93
13  */
14 
15 /*
16  * Structure and routine definitions
17  * for NEWS network interfaces.
18  */
19 
20 /*
21  * Each interface has one of these structures giving information
22  * about NEWS resources held by the interface.
23  */
24 struct ifnews {
25 	int	ifn_hlen;			/* local net header length */
26 	caddr_t	ifn_raddr;			/* receive buffer address */
27 	caddr_t	ifn_waddr;			/* transmit buffer address */
28 	struct	mbuf *ifn_mbuf;			/* packet being transmitted */
29 };
30 
31 struct mbuf_segment {
32 	u_int	ms_physaddr;
33 	u_int	ms_size;
34 };
35 
36 #ifdef KERNEL
37 struct mbuf *if_rnewsget();
38 #endif
39 
40 #define	LARGE_DATA 	512
41