/* Copyright 2000 (c) by David Schweikert, Swiss Federal Institute of Technology, Computer Engineering and Networks Laboratory. TOPSY -- A Teachable Operating System. Implementation of a tiny and simple micro kernel for teaching purposes. For further information, please visit http://www.tik.ee.ethz.ch/~topsy This software is provided under the terms of the GNU General Public Licence. A full copy of the GNU GPL is provided in the file COPYING found in the development root of Topsy. */ /* File: $Source: /usr/drwho/vault/cvs/topsy/Topsy/Net/UDP/NetUDP.h,v $ Author(s): Affiliation: ETH Zuerich, TIK Version: $Revision: 1.1 $ Creation Date: Last Date of Change: $Date: 2000/03/31 17:50:40 $ by: $Author: gfa $ $Log: NetUDP.h,v $ Revision 1.1 2000/03/31 17:50:40 gfa Merged with /Net from several term projects */ #ifndef _NETUDP_H #define _NETUDP_H #include #define NETUDP_MAXPORTNR 1000 #define NETUDP_FIRST_USER_PORT 500 typedef struct NetUDPHdr_t { u16 sport; u16 dport; u16 len; u16 checksum; } NetUDPHdr; void netudpInit(); #endif