|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1388 (0x56c) Types: TextFile Notes: UNIX file Names: »Space.c«
└─⟦f660c3862⟧ Bits:30004068/disk1.imd Interactive TCP/IP v.1.2 └─⟦f660c3862⟧ UNIX Filesystem └─⟦this⟧ »hb/driver/udp/Space.c«
/* * space allocation for UDP streams driver * * Copyrighted as an unpublished work. * (c) Copyright 1988 INTERACTIVE Systems Corporation * All rights reserved. * * RESTRICTED RIGHTS: * * These programs are supplied under a license. They may be used, * disclosed, and/or copied only as permitted under such license * agreement. Any copy must contain the above copyright notice and * this restricted rights notice. Use, copying, and/or disclosure * of the programs is strictly prohibited unless otherwise provided * in the license agreement. */ #ident "@(#)Space.c 1.3 - 88/10/11" #ident "@(#) (c) Copyright INTERACTIVE Systems Corporation 1988" #include "sys/types.h" #include "sys/stream.h" #include "sys/bsdtypes.h" #include "sys/socket.h" #include "netinet/in.h" #include "net/if.h" #include "net/route.h" #include "netinet/in_pcb.h" #include "netinet/in_systm.h" #include "netinet/ip.h" #include "netinet/ip_var.h" #include "netinet/udp.h" #include "netinet/udp_var.h" #include "sys/udp.h" #ifdef MERGE #include "config.h" #define NUDP UDP_UNITS #else #define NUDP 256 #endif struct udpdev udpdevs[NUDP]; int udp_cnt = NUDP; /* number of udp devices */ int udpcksum; /* check sum flag */ struct ifnet *udp_ifnet; struct inpcb udb; /* linked list of udp pcb's */ struct udpstat udpstat; struct in_ifaddr *in_ifaddr; /* enables debug */ int udpdebug = 0x0;