linux/include/linux/lockd/nlm.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * linux/include/linux/lockd/nlm.h
 *
 * Declarations for the Network Lock Manager protocol.
 *
 * Copyright (C) 1996, Olaf Kirch <[email protected]>
 */

#ifndef LINUX_LOCKD_NLM_H
#define LINUX_LOCKD_NLM_H


/* Maximum file offset in file_lock.fl_end */
#define NLM_OFFSET_MAX
#define NLM4_OFFSET_MAX

/* Return states for NLM */
enum {};

#define NLM_PROGRAM

#define NLMPROC_NULL
#define NLMPROC_TEST
#define NLMPROC_LOCK
#define NLMPROC_CANCEL
#define NLMPROC_UNLOCK
#define NLMPROC_GRANTED
#define NLMPROC_TEST_MSG
#define NLMPROC_LOCK_MSG
#define NLMPROC_CANCEL_MSG
#define NLMPROC_UNLOCK_MSG
#define NLMPROC_GRANTED_MSG
#define NLMPROC_TEST_RES
#define NLMPROC_LOCK_RES
#define NLMPROC_CANCEL_RES
#define NLMPROC_UNLOCK_RES
#define NLMPROC_GRANTED_RES
#define NLMPROC_NSM_NOTIFY
#define NLMPROC_SHARE
#define NLMPROC_UNSHARE
#define NLMPROC_NM_LOCK
#define NLMPROC_FREE_ALL

#endif /* LINUX_LOCKD_NLM_H */