
/* Copyright 1984 by the Massachusetts Institute of Technology */


/* A UDP packet */
struct	udppktst {	unss	u_src;
			unss	u_dst;
			unss	u_len;
			unss	u_chk;
/*			byte	u_data[];	*/
		};

/* The UDP Pseudo Header (the UDP checksum algorithm is a crock of shit) */
struct udp_ph {	unsl	uph_src;
		unsl	uph_dst;
		unsb	uph_zero;
		unsb	uph_prot;
		unss	uph_len;
	    };

#define	udppkt	struct udppktst
#define	mkudp(x)	((udppkt *) (x))

/* Socket numbers */
#define BOOTP_SERVER	67
#define BOOTP_CLIENT	68
#define GW_CONTROL	88
#define	RIPUDPSOCK	520	/* Routing Information Protocol */
#define GWSTATSOCK	25321	/* Status request/response */
