BSD 4_3_Net_1 release
[unix-history] / sys / netns / idp_var.h
/*
* Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and other materials related to such
* distribution and use acknowledge that the software was developed
* by the University of California, Berkeley. The name of the
* University may not be used to endorse or promote products derived
* from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* @(#)idp_var.h 7.3 (Berkeley) 6/29/88
*/
/*
* IDP Kernel Structures and Variables
*/
struct idpstat {
int idps_badsum; /* checksum bad */
int idps_tooshort; /* packet too short */
int idps_toosmall; /* not enough data */
int idps_badhlen; /* ip header length < data size */
int idps_badlen; /* ip length < ip header length */
};
#ifdef KERNEL
struct idpstat idpstat;
#endif