# /* name_user.h */ /* EMACS_MODES: c !fill */ /* This file contains the definitions for the UDP nameserver protocol */ #define NETSTRING "!MIT!" /* the network specification */ #define NAMESOCK 14 /* name server socket */ struct nmitem { /* a nameserver item */ char nm_type; /* item type */ char nm_len; /* item length */ char nm_item[]; /* item data proper */ }; #define NI_NAME 1 /* a name item */ #define NI_ADDR 2 /* an address item */ #define NI_ERROR 3 /* an error item */ #define INPKTSIZ INETLEN /* max internet packet size */