netcmds.c (31522) | netcmds.c (36916) |
---|---|
1/*- 2 * Copyright (c) 1980, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 */ 33 34#ifndef lint 35/* 36static char sccsid[] = "@(#)netcmds.c 8.1 (Berkeley) 6/6/93"; 37*/ 38static const char rcsid[] = | 1/*- 2 * Copyright (c) 1980, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 */ 33 34#ifndef lint 35/* 36static char sccsid[] = "@(#)netcmds.c 8.1 (Berkeley) 6/6/93"; 37*/ 38static const char rcsid[] = |
39 "$Id: netcmds.c,v 1.6 1997/02/22 19:57:16 peter Exp $"; | 39 "$Id: netcmds.c,v 1.7 1997/12/04 03:44:44 steve Exp $"; |
40#endif /* not lint */ 41 42/* 43 * Common network command support routines. 44 */ 45#include <sys/param.h> 46#include <sys/queue.h> 47#include <sys/socket.h> 48#include <sys/socketvar.h> 49#include <sys/protosw.h> 50 51#include <net/route.h> 52#include <netinet/in.h> 53#include <netinet/in_systm.h> 54#include <netinet/ip.h> 55#include <netinet/in_pcb.h> | 40#endif /* not lint */ 41 42/* 43 * Common network command support routines. 44 */ 45#include <sys/param.h> 46#include <sys/queue.h> 47#include <sys/socket.h> 48#include <sys/socketvar.h> 49#include <sys/protosw.h> 50 51#include <net/route.h> 52#include <netinet/in.h> 53#include <netinet/in_systm.h> 54#include <netinet/ip.h> 55#include <netinet/in_pcb.h> |
56#include <arpa/inet.h> |
|
56 57#include <netdb.h> 58#include <stdlib.h> 59#include <string.h> 60#include <ctype.h> 61#include "systat.h" 62#include "extern.h" 63 --- 257 unchanged lines hidden --- | 57 58#include <netdb.h> 59#include <stdlib.h> 60#include <string.h> 61#include <ctype.h> 62#include "systat.h" 63#include "extern.h" 64 --- 257 unchanged lines hidden --- |