add ioctl to resynch bad sector table; no union in kernel or standalone
[unix-history] / usr / src / 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 this notice is preserved and that due credit is given
* to the University of California at 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'' without express or implied warranty.
*
* @(#)idp_var.h 7.2 (Berkeley) %G%
*/
/*
* 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