mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	Commit 8cea95b0bd ("tools: ynl-gen: handle do ops with no input attrs")
added support for some of the previously-skipped ops in nfsd.
Regenerate the user space parsers to fill them in.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
		
	
			
		
			
				
	
	
		
			67 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
 | 
						|
/* Do not edit directly, auto-generated from: */
 | 
						|
/*	Documentation/netlink/specs/nfsd.yaml */
 | 
						|
/* YNL-GEN user header */
 | 
						|
 | 
						|
#ifndef _LINUX_NFSD_GEN_H
 | 
						|
#define _LINUX_NFSD_GEN_H
 | 
						|
 | 
						|
#include <stdlib.h>
 | 
						|
#include <string.h>
 | 
						|
#include <linux/types.h>
 | 
						|
#include <linux/nfsd_netlink.h>
 | 
						|
 | 
						|
struct ynl_sock;
 | 
						|
 | 
						|
extern const struct ynl_family ynl_nfsd_family;
 | 
						|
 | 
						|
/* Enums */
 | 
						|
const char *nfsd_op_str(int op);
 | 
						|
 | 
						|
/* Common nested types */
 | 
						|
/* ============== NFSD_CMD_RPC_STATUS_GET ============== */
 | 
						|
/* NFSD_CMD_RPC_STATUS_GET - dump */
 | 
						|
struct nfsd_rpc_status_get_rsp_dump {
 | 
						|
	struct {
 | 
						|
		__u32 xid:1;
 | 
						|
		__u32 flags:1;
 | 
						|
		__u32 prog:1;
 | 
						|
		__u32 version:1;
 | 
						|
		__u32 proc:1;
 | 
						|
		__u32 service_time:1;
 | 
						|
		__u32 saddr4:1;
 | 
						|
		__u32 daddr4:1;
 | 
						|
		__u32 saddr6_len;
 | 
						|
		__u32 daddr6_len;
 | 
						|
		__u32 sport:1;
 | 
						|
		__u32 dport:1;
 | 
						|
	} _present;
 | 
						|
 | 
						|
	__u32 xid /* big-endian */;
 | 
						|
	__u32 flags;
 | 
						|
	__u32 prog;
 | 
						|
	__u8 version;
 | 
						|
	__u32 proc;
 | 
						|
	__s64 service_time;
 | 
						|
	__u32 saddr4 /* big-endian */;
 | 
						|
	__u32 daddr4 /* big-endian */;
 | 
						|
	void *saddr6;
 | 
						|
	void *daddr6;
 | 
						|
	__u16 sport /* big-endian */;
 | 
						|
	__u16 dport /* big-endian */;
 | 
						|
	unsigned int n_compound_ops;
 | 
						|
	__u32 *compound_ops;
 | 
						|
};
 | 
						|
 | 
						|
struct nfsd_rpc_status_get_rsp_list {
 | 
						|
	struct nfsd_rpc_status_get_rsp_list *next;
 | 
						|
	struct nfsd_rpc_status_get_rsp_dump obj __attribute__((aligned(8)));
 | 
						|
};
 | 
						|
 | 
						|
void
 | 
						|
nfsd_rpc_status_get_rsp_list_free(struct nfsd_rpc_status_get_rsp_list *rsp);
 | 
						|
 | 
						|
struct nfsd_rpc_status_get_rsp_list *
 | 
						|
nfsd_rpc_status_get_dump(struct ynl_sock *ys);
 | 
						|
 | 
						|
#endif /* _LINUX_NFSD_GEN_H */
 |