iodesc.h revision 38452
133965Sjdp/* $NetBSD: iodesc.h,v 1.4 1995/09/23 03:31:50 gwr Exp $ */ 260484Sobrien 333965Sjdp/* 433965Sjdp * Copyright (c) 1993 Adam Glass 533965Sjdp * Copyright (c) 1992 Regents of the University of California. 633965Sjdp * All rights reserved. 733965Sjdp * 833965Sjdp * This software was developed by the Computer Systems Engineering group 933965Sjdp * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 1033965Sjdp * contributed to Berkeley. 1133965Sjdp * 1233965Sjdp * Redistribution and use in source and binary forms, with or without 1333965Sjdp * modification, are permitted provided that the following conditions 1433965Sjdp * are met: 1533965Sjdp * 1. Redistributions of source code must retain the above copyright 1633965Sjdp * notice, this list of conditions and the following disclaimer. 1733965Sjdp * 2. Redistributions in binary form must reproduce the above copyright 1833965Sjdp * notice, this list of conditions and the following disclaimer in the 1933965Sjdp * documentation and/or other materials provided with the distribution. 2033965Sjdp * 3. All advertising materials mentioning features or use of this software 2133965Sjdp * must display the following acknowledgement: 2233965Sjdp * This product includes software developed by the University of 2333965Sjdp * California, Lawrence Berkeley Laboratory and its contributors. 2433965Sjdp * 4. Neither the name of the University nor the names of its contributors 2533965Sjdp * may be used to endorse or promote products derived from this software 2633965Sjdp * without specific prior written permission. 2733965Sjdp * 2833965Sjdp * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2933965Sjdp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3033965Sjdp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 3133965Sjdp * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 3233965Sjdp * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3333965Sjdp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3433965Sjdp * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3533965Sjdp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3638889Sjdp * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3733965Sjdp * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3833965Sjdp * SUCH DAMAGE. 3933965Sjdp */ 4033965Sjdp 4133965Sjdp#ifndef __SYS_LIBNETBOOT_IODESC_H 4238889Sjdp#define __SYS_LIBNETBOOT_IODESC_H 4338889Sjdp 4438889Sjdpstruct iodesc { 4538889Sjdp struct in_addr destip; /* dest. ip addr, net order */ 4638889Sjdp struct in_addr myip; /* local ip addr, net order */ 4738889Sjdp u_short destport; /* dest. port, net order */ 4838889Sjdp u_short myport; /* local port, net order */ 4933965Sjdp u_long xid; /* transaction identification */ 5033965Sjdp u_char myea[6]; /* my ethernet address */ 5133965Sjdp struct netif *io_netif; 5233965Sjdp}; 5333965Sjdp 5433965Sjdp#endif /* __SYS_LIBNETBOOT_IODESC_H */ 5538889Sjdp