File Index
Files and directories
Sign in
FILE

psp-nl-gen.h

File preview with syntax highlighting.

linux-6.19.14/net/psp/psp-nl-gen.h C
 1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
 2/* Do not edit directly, auto-generated from: */
 3/*	Documentation/netlink/specs/psp.yaml */
 4/* YNL-GEN kernel header */
 5/* To regenerate run: tools/net/ynl/ynl-regen.sh */
 6
 7#ifndef _LINUX_PSP_GEN_H
 8#define _LINUX_PSP_GEN_H
 9
10#include <net/netlink.h>
11#include <net/genetlink.h>
12
13#include <uapi/linux/psp.h>
14
15/* Common nested types */
16extern const struct nla_policy psp_keys_nl_policy[PSP_A_KEYS_SPI + 1];
17
18int psp_device_get_locked(const struct genl_split_ops *ops,
19			  struct sk_buff *skb, struct genl_info *info);
20int psp_assoc_device_get_locked(const struct genl_split_ops *ops,
21				struct sk_buff *skb, struct genl_info *info);
22void
23psp_device_unlock(const struct genl_split_ops *ops, struct sk_buff *skb,
24		  struct genl_info *info);
25
26int psp_nl_dev_get_doit(struct sk_buff *skb, struct genl_info *info);
27int psp_nl_dev_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
28int psp_nl_dev_set_doit(struct sk_buff *skb, struct genl_info *info);
29int psp_nl_key_rotate_doit(struct sk_buff *skb, struct genl_info *info);
30int psp_nl_rx_assoc_doit(struct sk_buff *skb, struct genl_info *info);
31int psp_nl_tx_assoc_doit(struct sk_buff *skb, struct genl_info *info);
32int psp_nl_get_stats_doit(struct sk_buff *skb, struct genl_info *info);
33int psp_nl_get_stats_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
34
35enum {
36	PSP_NLGRP_MGMT,
37	PSP_NLGRP_USE,
38};
39
40extern struct genl_family psp_nl_family;
41
42#endif /* _LINUX_PSP_GEN_H */
~/ Read-only file preview.