153897Smckusick /* 2*63305Sbostic * Copyright (c) 1992, 1993 3*63305Sbostic * The Regents of the University of California. All rights reserved. 453897Smckusick * 553897Smckusick * This code is derived from software contributed to Berkeley by 653897Smckusick * Sony Corp. and Kazumasa Utashiro of Software Research Associates, Inc. 753897Smckusick * 853897Smckusick * %sccs.include.redist.c% 953897Smckusick * 1053897Smckusick * from: $Hdr: if_news.h,v 4.300 91/06/09 06:26:02 root Rel41 $ SONY 1153897Smckusick * 12*63305Sbostic * @(#)if_news.h 8.1 (Berkeley) 06/11/93 1353897Smckusick */ 1453897Smckusick 1553897Smckusick /* 1653897Smckusick * Structure and routine definitions 1753897Smckusick * for NEWS network interfaces. 1853897Smckusick */ 1953897Smckusick 2053897Smckusick /* 2153897Smckusick * Each interface has one of these structures giving information 2253897Smckusick * about NEWS resources held by the interface. 2353897Smckusick */ 2453897Smckusick struct ifnews { 2553897Smckusick int ifn_hlen; /* local net header length */ 2653897Smckusick caddr_t ifn_raddr; /* receive buffer address */ 2753897Smckusick caddr_t ifn_waddr; /* transmit buffer address */ 2853897Smckusick struct mbuf *ifn_mbuf; /* packet being transmitted */ 2953897Smckusick }; 3053897Smckusick 3153897Smckusick struct mbuf_segment { 3253897Smckusick u_int ms_physaddr; 3353897Smckusick u_int ms_size; 3453897Smckusick }; 3553897Smckusick 3653897Smckusick #ifdef KERNEL 3753897Smckusick struct mbuf *if_rnewsget(); 3853897Smckusick #endif 3953897Smckusick 4053897Smckusick #define LARGE_DATA 512 41