diff options
Diffstat (limited to 'lib/libncp/ncp_mod.h')
-rw-r--r-- | lib/libncp/ncp_mod.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libncp/ncp_mod.h b/lib/libncp/ncp_mod.h new file mode 100644 index 0000000..4bdc39a --- /dev/null +++ b/lib/libncp/ncp_mod.h @@ -0,0 +1,16 @@ +/* + * Describes all ncp_lib kernel functions + * + * $FreeBSD$ + */ +#ifndef _NCP_MOD_H_ +#define _NCP_MOD_H_ + +/* order of calls in syscall table relative to offset in system table */ +#define NCP_SE(callno) (callno+sysentoffset) +#define NCP_CONNSCAN NCP_SE(0) +#define NCP_CONNECT NCP_SE(1) +#define NCP_INTFN NCP_SE(2) +#define SNCP_REQUEST NCP_SE(3) + +#endif /* !_NCP_MOD_H_ */
\ No newline at end of file |