1 /* 2 * Copyright (c) 1984 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 * 6 * @(#)idp_var.h 6.3 (Berkeley) 02/03/86 7 */ 8 9 /* 10 * IDP Kernel Structures and Variables 11 */ 12 struct idpstat { 13 int idps_badsum; /* checksum bad */ 14 int idps_tooshort; /* packet too short */ 15 int idps_toosmall; /* not enough data */ 16 int idps_badhlen; /* ip header length < data size */ 17 int idps_badlen; /* ip length < ip header length */ 18 }; 19 20 #ifdef KERNEL 21 struct idpstat idpstat; 22 #endif 23