1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Lin 1 2 /* Do not edit directly, auto-generated from: 3 /* Documentation/netlink/specs/devlink.ya 4 /* YNL-GEN kernel header */ 5 6 #ifndef _LINUX_DEVLINK_GEN_H 7 #define _LINUX_DEVLINK_GEN_H 8 9 #include <net/netlink.h> 10 #include <net/genetlink.h> 11 12 #include <uapi/linux/devlink.h> 13 14 /* Common nested types */ 15 extern const struct nla_policy devlink_dl_port 16 extern const struct nla_policy devlink_dl_self 17 18 /* Ops table for devlink */ 19 extern const struct genl_split_ops devlink_nl_ 20 21 int devlink_nl_pre_doit(const struct genl_spli 22 struct genl_info *info 23 int devlink_nl_pre_doit_port(const struct genl 24 struct sk_buff *s 25 int devlink_nl_pre_doit_dev_lock(const struct 26 struct sk_buf 27 int devlink_nl_pre_doit_port_optional(const st 28 struct s 29 struct g 30 void 31 devlink_nl_post_doit(const struct genl_split_o 32 struct genl_info *info); 33 void 34 devlink_nl_post_doit_dev_lock(const struct gen 35 struct sk_buff * 36 37 int devlink_nl_get_doit(struct sk_buff *skb, s 38 int devlink_nl_get_dumpit(struct sk_buff *skb, 39 int devlink_nl_port_get_doit(struct sk_buff *s 40 int devlink_nl_port_get_dumpit(struct sk_buff 41 struct netlink_ 42 int devlink_nl_port_set_doit(struct sk_buff *s 43 int devlink_nl_port_new_doit(struct sk_buff *s 44 int devlink_nl_port_del_doit(struct sk_buff *s 45 int devlink_nl_port_split_doit(struct sk_buff 46 int devlink_nl_port_unsplit_doit(struct sk_buf 47 int devlink_nl_sb_get_doit(struct sk_buff *skb 48 int devlink_nl_sb_get_dumpit(struct sk_buff *s 49 int devlink_nl_sb_pool_get_doit(struct sk_buff 50 int devlink_nl_sb_pool_get_dumpit(struct sk_bu 51 struct netli 52 int devlink_nl_sb_pool_set_doit(struct sk_buff 53 int devlink_nl_sb_port_pool_get_doit(struct sk 54 struct ge 55 int devlink_nl_sb_port_pool_get_dumpit(struct 56 struct 57 int devlink_nl_sb_port_pool_set_doit(struct sk 58 struct ge 59 int devlink_nl_sb_tc_pool_bind_get_doit(struct 60 struct 61 int devlink_nl_sb_tc_pool_bind_get_dumpit(stru 62 stru 63 int devlink_nl_sb_tc_pool_bind_set_doit(struct 64 struct 65 int devlink_nl_sb_occ_snapshot_doit(struct sk_ 66 struct gen 67 int devlink_nl_sb_occ_max_clear_doit(struct sk 68 struct ge 69 int devlink_nl_eswitch_get_doit(struct sk_buff 70 int devlink_nl_eswitch_set_doit(struct sk_buff 71 int devlink_nl_dpipe_table_get_doit(struct sk_ 72 struct gen 73 int devlink_nl_dpipe_entries_get_doit(struct s 74 struct g 75 int devlink_nl_dpipe_headers_get_doit(struct s 76 struct g 77 int devlink_nl_dpipe_table_counters_set_doit(s 78 s 79 int devlink_nl_resource_set_doit(struct sk_buf 80 int devlink_nl_resource_dump_doit(struct sk_bu 81 int devlink_nl_reload_doit(struct sk_buff *skb 82 int devlink_nl_param_get_doit(struct sk_buff * 83 int devlink_nl_param_get_dumpit(struct sk_buff 84 struct netlink 85 int devlink_nl_param_set_doit(struct sk_buff * 86 int devlink_nl_region_get_doit(struct sk_buff 87 int devlink_nl_region_get_dumpit(struct sk_buf 88 struct netlin 89 int devlink_nl_region_new_doit(struct sk_buff 90 int devlink_nl_region_del_doit(struct sk_buff 91 int devlink_nl_region_read_dumpit(struct sk_bu 92 struct netli 93 int devlink_nl_port_param_get_doit(struct sk_b 94 int devlink_nl_port_param_get_dumpit(struct sk 95 struct ne 96 int devlink_nl_port_param_set_doit(struct sk_b 97 int devlink_nl_info_get_doit(struct sk_buff *s 98 int devlink_nl_info_get_dumpit(struct sk_buff 99 struct netlink_ 100 int devlink_nl_health_reporter_get_doit(struct 101 struct 102 int devlink_nl_health_reporter_get_dumpit(stru 103 stru 104 int devlink_nl_health_reporter_set_doit(struct 105 struct 106 int devlink_nl_health_reporter_recover_doit(st 107 st 108 int devlink_nl_health_reporter_diagnose_doit(s 109 s 110 int devlink_nl_health_reporter_dump_get_dumpit 111 112 int devlink_nl_health_reporter_dump_clear_doit 113 114 int devlink_nl_flash_update_doit(struct sk_buf 115 int devlink_nl_trap_get_doit(struct sk_buff *s 116 int devlink_nl_trap_get_dumpit(struct sk_buff 117 struct netlink_ 118 int devlink_nl_trap_set_doit(struct sk_buff *s 119 int devlink_nl_trap_group_get_doit(struct sk_b 120 int devlink_nl_trap_group_get_dumpit(struct sk 121 struct ne 122 int devlink_nl_trap_group_set_doit(struct sk_b 123 int devlink_nl_trap_policer_get_doit(struct sk 124 struct ge 125 int devlink_nl_trap_policer_get_dumpit(struct 126 struct 127 int devlink_nl_trap_policer_set_doit(struct sk 128 struct ge 129 int devlink_nl_health_reporter_test_doit(struc 130 struc 131 int devlink_nl_rate_get_doit(struct sk_buff *s 132 int devlink_nl_rate_get_dumpit(struct sk_buff 133 struct netlink_ 134 int devlink_nl_rate_set_doit(struct sk_buff *s 135 int devlink_nl_rate_new_doit(struct sk_buff *s 136 int devlink_nl_rate_del_doit(struct sk_buff *s 137 int devlink_nl_linecard_get_doit(struct sk_buf 138 int devlink_nl_linecard_get_dumpit(struct sk_b 139 struct netl 140 int devlink_nl_linecard_set_doit(struct sk_buf 141 int devlink_nl_selftests_get_doit(struct sk_bu 142 int devlink_nl_selftests_get_dumpit(struct sk_ 143 struct net 144 int devlink_nl_selftests_run_doit(struct sk_bu 145 int devlink_nl_notify_filter_set_doit(struct s 146 struct g 147 148 #endif /* _LINUX_DEVLINK_GEN_H */ 149
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.