Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * $Id: kernelcapi.h,v 1.8.6.2 2001/02/07 11:31:31 kai Exp $
0004  * 
0005  * Kernel CAPI 2.0 Interface for Linux
0006  * 
0007  * (c) Copyright 1997 by Carsten Paeth (calle@calle.in-berlin.de)
0008  * 
0009  */
0010 #ifndef __KERNELCAPI_H__
0011 #define __KERNELCAPI_H__
0012 
0013 #include <linux/list.h>
0014 #include <linux/skbuff.h>
0015 #include <linux/workqueue.h>
0016 #include <linux/notifier.h>
0017 #include <uapi/linux/kernelcapi.h>
0018 
0019 #define CAPI_NOERROR                      0x0000
0020 
0021 #define CAPI_TOOMANYAPPLS         0x1001
0022 #define CAPI_LOGBLKSIZETOSMALL            0x1002
0023 #define CAPI_BUFFEXECEEDS64K              0x1003
0024 #define CAPI_MSGBUFSIZETOOSMALL           0x1004
0025 #define CAPI_ANZLOGCONNNOTSUPPORTED   0x1005
0026 #define CAPI_REGRESERVED          0x1006
0027 #define CAPI_REGBUSY                  0x1007
0028 #define CAPI_REGOSRESOURCEERR             0x1008
0029 #define CAPI_REGNOTINSTALLED              0x1009
0030 #define CAPI_REGCTRLERNOTSUPPORTEXTEQUIP  0x100a
0031 #define CAPI_REGCTRLERONLYSUPPORTEXTEQUIP 0x100b
0032 
0033 #define CAPI_ILLAPPNR                 0x1101
0034 #define CAPI_ILLCMDORSUBCMDORMSGTOSMALL   0x1102
0035 #define CAPI_SENDQUEUEFULL        0x1103
0036 #define CAPI_RECEIVEQUEUEEMPTY            0x1104
0037 #define CAPI_RECEIVEOVERFLOW              0x1105
0038 #define CAPI_UNKNOWNNOTPAR        0x1106
0039 #define CAPI_MSGBUSY                  0x1107
0040 #define CAPI_MSGOSRESOURCEERR             0x1108
0041 #define CAPI_MSGNOTINSTALLED              0x1109
0042 #define CAPI_MSGCTRLERNOTSUPPORTEXTEQUIP  0x110a
0043 #define CAPI_MSGCTRLERONLYSUPPORTEXTEQUIP 0x110b
0044 
0045 #endif              /* __KERNELCAPI_H__ */