.. LINENO 2

.. SPDX-License-Identifier: GPL-2.0
.. NOTE: This document was auto-generated.


.. _netlink-lockd:


======================================
Family ``lockd`` netlink specification
======================================


.. contents:: :depth: 3


-------
Summary
-------


lockd configuration over generic netlink

----------
Operations
----------


.. LINENO 25

.. _lockd-operation-server-set:

server-set
==========
set the lockd server parameters

:attribute-set: :ref:`lockd-attribute-set-server`
:flags: [``admin-perm``]
:do:
.. LINENO 30

    **request**
        :attributes: [``gracetime``, ``tcp-port``, ``udp-port``]



.. LINENO 36

.. _lockd-operation-server-get:

server-get
==========
get the lockd server parameters

:attribute-set: :ref:`lockd-attribute-set-server`
:do:
.. LINENO 40

    **reply**
        :attributes: [``gracetime``, ``tcp-port``, ``udp-port``]




--------------
Attribute sets
--------------


.. _lockd-attribute-set-server:

server
======
.. LINENO 13

gracetime (``u32``)
~~~~~~~~~~~~~~~~~~~


.. LINENO 16

tcp-port (``u16``)
~~~~~~~~~~~~~~~~~~


.. LINENO 19

udp-port (``u16``)
~~~~~~~~~~~~~~~~~~

