~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/net/devlink/netlink_gen.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /net/devlink/netlink_gen.h (Version linux-6.11.5) and /net/devlink/netlink_gen.h (Version linux-6.7.12)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php