1*dfe00690Smillert /* $OpenBSD: bbinfo.h,v 1.5 1997/05/05 06:01:45 millert Exp $ */ 2*dfe00690Smillert /* $NetBSD: bbinfo.h,v 1.2 1997/04/06 08:40:57 cgd Exp $ */ 3417eba8cSderaadt 4417eba8cSderaadt /* 5417eba8cSderaadt * Copyright (c) 1995, 1996 Carnegie-Mellon University. 6417eba8cSderaadt * All rights reserved. 7417eba8cSderaadt * 8417eba8cSderaadt * Author: Chris G. Demetriou 9417eba8cSderaadt * 10417eba8cSderaadt * Permission to use, copy, modify and distribute this software and 11417eba8cSderaadt * its documentation is hereby granted, provided that both the copyright 12417eba8cSderaadt * notice and this permission notice appear in all copies of the 13417eba8cSderaadt * software, derivative works or modified versions, and any portions 14417eba8cSderaadt * thereof, and that both notices appear in supporting documentation. 15417eba8cSderaadt * 16417eba8cSderaadt * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 17417eba8cSderaadt * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 18417eba8cSderaadt * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 19417eba8cSderaadt * 20417eba8cSderaadt * Carnegie Mellon requests users of this software to return to 21417eba8cSderaadt * 22417eba8cSderaadt * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 23417eba8cSderaadt * School of Computer Science 24417eba8cSderaadt * Carnegie Mellon University 25417eba8cSderaadt * Pittsburgh PA 15213-3890 26417eba8cSderaadt * 27417eba8cSderaadt * any improvements or extensions that they make and grant Carnegie the 28417eba8cSderaadt * rights to redistribute these changes. 29417eba8cSderaadt */ 3034fbf6deSderaadt 3134fbf6deSderaadt struct bbinfoloc { 3234fbf6deSderaadt u_int64_t magic1; 3334fbf6deSderaadt u_int64_t start; 3434fbf6deSderaadt u_int64_t end; 35*dfe00690Smillert u_int64_t pad1[4]; 3634fbf6deSderaadt u_int64_t magic2; 3734fbf6deSderaadt }; 3834fbf6deSderaadt 3934fbf6deSderaadt struct bbinfo { 4034fbf6deSderaadt int32_t cksum; 4134fbf6deSderaadt int32_t nblocks; 4234fbf6deSderaadt int32_t bsize; 43*dfe00690Smillert int32_t pad1[8]; 4434fbf6deSderaadt int32_t blocks[1]; 4534fbf6deSderaadt }; 46*dfe00690Smillert 47*dfe00690Smillert struct netbbinfo { 48*dfe00690Smillert u_int64_t magic1; 49*dfe00690Smillert u_int8_t set; 50*dfe00690Smillert u_int8_t ether_addr[6]; 51*dfe00690Smillert u_int8_t force; 52*dfe00690Smillert u_int64_t pad1[4]; 53*dfe00690Smillert u_int64_t cksum; 54*dfe00690Smillert u_int64_t magic2; 55*dfe00690Smillert }; 56