|
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: 1133 (0x46d) Types: TextFile Notes: UNIX file Names: »udp.h«
└─⟦8c4f54e61⟧ Bits:30004068/disk2.imd Interactive TCP/IP v.1.2 └─⟦8c4f54e61⟧ UNIX Filesystem └─⟦this⟧ »hb/new/usr/include/netinet/udp.h«
/* * 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.h 2.1 - 89/04/21 */ #ifndef _h_UDP #define _h_UDP #ident "@(#)udp.h 2.1 - 89/04/21" /* * Udp protocol header. * Per RFC 768, September, 1981. */ struct udphdr { u_short uh_sport; /* source port */ u_short uh_dport; /* destination port */ short uh_ulen; /* udp length */ u_short uh_sum; /* udp checksum */ }; #define T_BIND_ACK_SIZE sizeof(struct T_bind_ack) #define T_PRIMITIVES_SIZE sizeof(union T_primitives) #define T_OK_ACK_SIZE sizeof(struct T_ok_ack) #define T_INFO_ACK_SIZE sizeof(struct T_info_ack) #define T_ERROR_ACK_SIZE sizeof(struct T_error_ack) #define T_BIND_REQ_SIZE sizeof(struct T_bind_req) #define T_UNBIND_REQ_SIZE sizeof(struct T_unbind_req) #define T_UNITDATA_REQ_SIZE sizeof(struct T_unitdata_req) #define T_UNITDATA_IND_SIZE sizeof(struct T_unitdata_ind) #define T_UDERROR_IND_SIZE sizeof(struct T_uderror_ind) #define T_OPTMGMT_REQ_SIZE sizeof(struct T_optmgmt_req) #endif