udp
struct udp { /* message format of DARPA UDP */
unsigned short u_src; /* source UDP port number */
unsigned short u_dst; /* destination UDP port number */
unsigned short u_len; /* length of UDP data */
unsigned short u_cksum; /* UDP checksum (0 => none) */
char u_data[U_MAXLEN]; /* data in UDP message */
};
upq
/* mapping of external network UDP "port" to internal Xinu port */
struct upq { /* UDP demultiplexing info */
Bool up_valid; /* is this entry in use? */
unsigned short up_port; /* local UDP port number */
int up_pid; /* port for waiting reader */
int up_xport; /* corresponding Xinu port on */
}; /* which incoming pac. queued */