/* netdefs.h */ /* EMACS_MODES: c !fill */ /* This file contains the structure definitions for the * system network interface. */ struct netdf { /* the network connection structure */ unshort nd_prot1; /* MIT net protocol id */ unshort nd_prot2; /* InterNet protocol id */ struct in_name nd_fhost; /* foreign host */ unshort nd_fsock; /* foreign socket */ unshort nd_lsock; /* local socket */ }; #define MITINET 1 /* MIT InterNet protocol */ #define NETDEV "/dev/net" /* the network device */