|
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: 1562 (0x61a) Types: TextFile Notes: Uncompressed file
└─⟦0f0f313e4⟧ Bits:30004764 SW95709I.2F TCP/IP Update 1 └─⟦0f0f313e4⟧ UNIX Filesystem └─⟦67681715f⟧ »SSU.4a/new/usr/include/netinet/udp_var.h.Z« └─⟦this⟧
/* * Copyright (c) 1982, 1986 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * * @(#)udp_var.h 2.1 - 89/04/21 */ #ifndef _h_UDP_VAR #define _h_UDP_VAR #ident "@(#)udp_var.h 2.2 - 90/11/02" /* * UDP kernel structures and variables. */ struct udpiphdr { struct ipovly ui_i; /* overlaid ip structure */ struct udphdr ui_u; /* udp header */ }; #define ui_next ui_i.ih_next #define ui_prev ui_i.ih_prev #define ui_x1 ui_i.ih_x1 #define ui_pr ui_i.ih_pr #define ui_len ui_i.ih_len #define ui_src ui_i.ih_src #define ui_dst ui_i.ih_dst #define ui_sport ui_u.uh_sport #define ui_dport ui_u.uh_dport #define ui_ulen ui_u.uh_ulen #define ui_sum ui_u.uh_sum struct udpstat { #ifdef OLDSTAT int udps_hdrops; int udps_badsum; int udps_badlen; #else int udps_ipackets; /* total input packets */ int udps_hdrops; /* packet shorter than header */ int udps_badsum; /* checksum error */ int udps_badlen; /* data length larger than packet */ int udps_noport; /* no socket on port */ int udps_noportbcast; /* of above, arrived as broadcast */ int udps_fullsock; /* not delivered, input socket full */ int udpps_pcbcachemiss; /* input packets missing pcb cache */ /* output statistics: */ int udps_opackets; /* total output packets */ #endif /* OLDSTAT */ }; #define UDP_TTL 30 /* time to live for UDP packets */ #ifdef KERNEL extern struct inpcb udb; extern struct udpstat udpstat; #endif #endif /* _h_UDP_VAR */