xref: /linux/Documentation/netlink/specs/lockd.yaml (revision 4f9786035f9e519db41375818e1d0b5f20da2f10)
1*9a28ac17SJeff Layton# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2*9a28ac17SJeff Layton
3*9a28ac17SJeff Laytonname: lockd
4*9a28ac17SJeff Laytonprotocol: genetlink
5*9a28ac17SJeff Laytonuapi-header: linux/lockd_netlink.h
6*9a28ac17SJeff Layton
7*9a28ac17SJeff Laytondoc: lockd configuration over generic netlink
8*9a28ac17SJeff Layton
9*9a28ac17SJeff Laytonattribute-sets:
10*9a28ac17SJeff Layton  -
11*9a28ac17SJeff Layton    name: server
12*9a28ac17SJeff Layton    attributes:
13*9a28ac17SJeff Layton      -
14*9a28ac17SJeff Layton        name: gracetime
15*9a28ac17SJeff Layton        type: u32
16*9a28ac17SJeff Layton      -
17*9a28ac17SJeff Layton        name: tcp-port
18*9a28ac17SJeff Layton        type: u16
19*9a28ac17SJeff Layton      -
20*9a28ac17SJeff Layton        name: udp-port
21*9a28ac17SJeff Layton        type: u16
22*9a28ac17SJeff Layton
23*9a28ac17SJeff Laytonoperations:
24*9a28ac17SJeff Layton  list:
25*9a28ac17SJeff Layton    -
26*9a28ac17SJeff Layton      name: server-set
27*9a28ac17SJeff Layton      doc: set the lockd server parameters
28*9a28ac17SJeff Layton      attribute-set: server
29*9a28ac17SJeff Layton      flags: [ admin-perm ]
30*9a28ac17SJeff Layton      do:
31*9a28ac17SJeff Layton        request:
32*9a28ac17SJeff Layton          attributes:
33*9a28ac17SJeff Layton            - gracetime
34*9a28ac17SJeff Layton            - tcp-port
35*9a28ac17SJeff Layton            - udp-port
36*9a28ac17SJeff Layton    -
37*9a28ac17SJeff Layton      name: server-get
38*9a28ac17SJeff Layton      doc: get the lockd server parameters
39*9a28ac17SJeff Layton      attribute-set: server
40*9a28ac17SJeff Layton      do:
41*9a28ac17SJeff Layton        reply:
42*9a28ac17SJeff Layton          attributes:
43*9a28ac17SJeff Layton            - gracetime
44*9a28ac17SJeff Layton            - tcp-port
45*9a28ac17SJeff Layton            - udp-port
46