1 /* 2 * Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms are permitted 6 * provided that this notice is preserved and that due credit is given 7 * to the University of California at Berkeley. The name of the University 8 * may not be used to endorse or promote products derived from this 9 * software without specific prior written permission. This software 10 * is provided ``as is'' without express or implied warranty. 11 * 12 * @(#)idp_var.h 7.2 (Berkeley) 01/20/88 13 */ 14 15 /* 16 * IDP Kernel Structures and Variables 17 */ 18 struct idpstat { 19 int idps_badsum; /* checksum bad */ 20 int idps_tooshort; /* packet too short */ 21 int idps_toosmall; /* not enough data */ 22 int idps_badhlen; /* ip header length < data size */ 23 int idps_badlen; /* ip length < ip header length */ 24 }; 25 26 #ifdef KERNEL 27 struct idpstat idpstat; 28 #endif 29