# /* This is the actual host table for the name resolver. If you frob the * table, be sure to adjust NMACH and relink all the programs that use * it - ie tftp, ping, host, etc. * Names that are subsets of others have to be given completely to * be recognised, so use them sparingly. */ #define NMACH 19 int nmach NMACH; struct mach { char *m_name; int m_id; } mach[NMACH] { "mit-csr", 0, "csr", 0, "mit-gw", 1, "gw", 1, "mit-csg", 2, "csg", 2, "mit-mud", 3, "mud", 3, "mit-xx", 4, "xx", 4, "mit-multics", 5, "multics", 5, "spooler",6, "mit-bridge", 7, "bridge",7, "mit-ajax",8, "ajax",8, "mit-tiu", 9, "tiu", 9, }; /* Actual machine network address in InterNet. Also includes whether * or not the machine supports directly UNIX format text files. */ struct mchid { char m_addr[4]; int m_type; } mchid[] { 022, 012, 0, 010, 1, /* csr */ 012, 0, 0, 0115, 0, /* gw */ 022, 012, 0, 012, 1, /* gt44 */ 022, 012, 0, 06, 0, /* mud */ 012, 0, 0, 054, 0, /* xx */ 012, 0, 0, 06, 0, /* mult */ 022, 02, 0, 0200, 1, /* dvspl */ 022, 012, 0, 05, 0, /* brdge */ 022, 012, 0, 0100, 1, /* ajax */ 022, 012, 0, 050, 0, /* tiu */ }; char mymach[4] { 022, 012, 0, 010 };