138451Smsmith/* $NetBSD: iodesc.h,v 1.4 1995/09/23 03:31:50 gwr Exp $ */ 238451Smsmith 338451Smsmith/* 438451Smsmith * Copyright (c) 1993 Adam Glass 538451Smsmith * Copyright (c) 1992 Regents of the University of California. 638451Smsmith * All rights reserved. 738451Smsmith * 838451Smsmith * This software was developed by the Computer Systems Engineering group 938451Smsmith * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 1038451Smsmith * contributed to Berkeley. 1138451Smsmith * 1238451Smsmith * Redistribution and use in source and binary forms, with or without 1338451Smsmith * modification, are permitted provided that the following conditions 1438451Smsmith * are met: 1538451Smsmith * 1. Redistributions of source code must retain the above copyright 1638451Smsmith * notice, this list of conditions and the following disclaimer. 1738451Smsmith * 2. Redistributions in binary form must reproduce the above copyright 1838451Smsmith * notice, this list of conditions and the following disclaimer in the 1938451Smsmith * documentation and/or other materials provided with the distribution. 2038451Smsmith * 4. Neither the name of the University nor the names of its contributors 2138451Smsmith * may be used to endorse or promote products derived from this software 2238451Smsmith * without specific prior written permission. 2338451Smsmith * 2438451Smsmith * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2538451Smsmith * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2638451Smsmith * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2738451Smsmith * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2838451Smsmith * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2938451Smsmith * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3038451Smsmith * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3138451Smsmith * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3238451Smsmith * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3338451Smsmith * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3438451Smsmith * SUCH DAMAGE. 35165906Simp * 36165906Simp * $FreeBSD: releng/11.0/lib/libstand/iodesc.h 165906 2007-01-09 01:02:06Z imp $ 3738451Smsmith */ 3838451Smsmith 3938451Smsmith#ifndef __SYS_LIBNETBOOT_IODESC_H 4038451Smsmith#define __SYS_LIBNETBOOT_IODESC_H 4138451Smsmith 4238451Smsmithstruct iodesc { 4338451Smsmith struct in_addr destip; /* dest. ip addr, net order */ 4438451Smsmith struct in_addr myip; /* local ip addr, net order */ 4538451Smsmith u_short destport; /* dest. port, net order */ 4638451Smsmith u_short myport; /* local port, net order */ 4738451Smsmith u_long xid; /* transaction identification */ 4838451Smsmith u_char myea[6]; /* my ethernet address */ 4938451Smsmith struct netif *io_netif; 5038451Smsmith}; 5138451Smsmith 5238451Smsmith#endif /* __SYS_LIBNETBOOT_IODESC_H */ 53