--- Net2/netinet/in_proto.c 2018/04/24 18:03:54 1.1.1.1 +++ Net2/netinet/in_proto.c 2018/04/24 18:13:52 1.1.1.4 @@ -30,7 +30,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)in_proto.c 7.5 (Berkeley) 6/28/90 + * from: @(#)in_proto.c 7.5 (Berkeley) 6/28/90 + * in_proto.c,v 1.3 1993/05/20 03:50:08 cgd Exp */ #include "param.h" @@ -60,8 +61,7 @@ int rip_input(),rip_output(),rip_ctloutp * Using the raw interface entry to get the timer routine * in is a kludge. */ -#include "imp.h" -#if NIMP > 0 +#ifdef IMP int rimp_output(), hostslowtimo(); #endif @@ -156,22 +156,3 @@ struct domain impdomain = impsw, &impsw[sizeof (impsw)/sizeof(impsw[0])] }; #endif -#include "hy.h" -#if NHY > 0 -/* - * HYPERchannel protocol family: raw interface. - */ -int rhy_output(); -extern struct domain hydomain; - -struct protosw hysw[] = { -{ SOCK_RAW, &hydomain, 0, PR_ATOMIC|PR_ADDR, - 0, rhy_output, 0, 0, - rip_usrreq, - 0, 0, 0, 0, -}, -}; - -struct domain hydomain = - { AF_HYLINK, "hy", 0, 0, 0, hysw, &hysw[sizeof (hysw)/sizeof(hysw[0])] }; -#endif