#include "devl_internal.h"
static struct devlink_dpipe_field devlink_dpipe_fields_ethernet[] = …;
struct devlink_dpipe_header devlink_dpipe_header_ethernet = …;
EXPORT_SYMBOL_GPL(…);
static struct devlink_dpipe_field devlink_dpipe_fields_ipv4[] = …;
struct devlink_dpipe_header devlink_dpipe_header_ipv4 = …;
EXPORT_SYMBOL_GPL(…);
static struct devlink_dpipe_field devlink_dpipe_fields_ipv6[] = …;
struct devlink_dpipe_header devlink_dpipe_header_ipv6 = …;
EXPORT_SYMBOL_GPL(…);
int devlink_dpipe_match_put(struct sk_buff *skb,
struct devlink_dpipe_match *match)
{ … }
EXPORT_SYMBOL_GPL(…);
static int devlink_dpipe_matches_put(struct devlink_dpipe_table *table,
struct sk_buff *skb)
{ … }
int devlink_dpipe_action_put(struct sk_buff *skb,
struct devlink_dpipe_action *action)
{ … }
EXPORT_SYMBOL_GPL(…);
static int devlink_dpipe_actions_put(struct devlink_dpipe_table *table,
struct sk_buff *skb)
{ … }
static int devlink_dpipe_table_put(struct sk_buff *skb,
struct devlink_dpipe_table *table)
{ … }
static int devlink_dpipe_send_and_alloc_skb(struct sk_buff **pskb,
struct genl_info *info)
{ … }
static int devlink_dpipe_tables_fill(struct genl_info *info,
enum devlink_command cmd, int flags,
struct list_head *dpipe_tables,
const char *table_name)
{ … }
int devlink_nl_dpipe_table_get_doit(struct sk_buff *skb, struct genl_info *info)
{ … }
static int devlink_dpipe_value_put(struct sk_buff *skb,
struct devlink_dpipe_value *value)
{ … }
static int devlink_dpipe_action_value_put(struct sk_buff *skb,
struct devlink_dpipe_value *value)
{ … }
static int devlink_dpipe_action_values_put(struct sk_buff *skb,
struct devlink_dpipe_value *values,
unsigned int values_count)
{ … }
static int devlink_dpipe_match_value_put(struct sk_buff *skb,
struct devlink_dpipe_value *value)
{ … }
static int devlink_dpipe_match_values_put(struct sk_buff *skb,
struct devlink_dpipe_value *values,
unsigned int values_count)
{ … }
static int devlink_dpipe_entry_put(struct sk_buff *skb,
struct devlink_dpipe_entry *entry)
{ … }
static struct devlink_dpipe_table *
devlink_dpipe_table_find(struct list_head *dpipe_tables,
const char *table_name, struct devlink *devlink)
{ … }
int devlink_dpipe_entry_ctx_prepare(struct devlink_dpipe_dump_ctx *dump_ctx)
{ … }
EXPORT_SYMBOL_GPL(…);
int devlink_dpipe_entry_ctx_append(struct devlink_dpipe_dump_ctx *dump_ctx,
struct devlink_dpipe_entry *entry)
{ … }
EXPORT_SYMBOL_GPL(…);
int devlink_dpipe_entry_ctx_close(struct devlink_dpipe_dump_ctx *dump_ctx)
{ … }
EXPORT_SYMBOL_GPL(…);
void devlink_dpipe_entry_clear(struct devlink_dpipe_entry *entry)
{ … }
EXPORT_SYMBOL_GPL(…);
static int devlink_dpipe_entries_fill(struct genl_info *info,
enum devlink_command cmd, int flags,
struct devlink_dpipe_table *table)
{ … }
int devlink_nl_dpipe_entries_get_doit(struct sk_buff *skb,
struct genl_info *info)
{ … }
static int devlink_dpipe_fields_put(struct sk_buff *skb,
const struct devlink_dpipe_header *header)
{ … }
static int devlink_dpipe_header_put(struct sk_buff *skb,
struct devlink_dpipe_header *header)
{ … }
static int devlink_dpipe_headers_fill(struct genl_info *info,
enum devlink_command cmd, int flags,
struct devlink_dpipe_headers *
dpipe_headers)
{ … }
int devlink_nl_dpipe_headers_get_doit(struct sk_buff *skb,
struct genl_info *info)
{ … }
static int devlink_dpipe_table_counters_set(struct devlink *devlink,
const char *table_name,
bool enable)
{ … }
int devlink_nl_dpipe_table_counters_set_doit(struct sk_buff *skb,
struct genl_info *info)
{ … }
void devl_dpipe_headers_register(struct devlink *devlink,
struct devlink_dpipe_headers *dpipe_headers)
{ … }
EXPORT_SYMBOL_GPL(…);
void devl_dpipe_headers_unregister(struct devlink *devlink)
{ … }
EXPORT_SYMBOL_GPL(…);
bool devlink_dpipe_table_counter_enabled(struct devlink *devlink,
const char *table_name)
{ … }
EXPORT_SYMBOL_GPL(…);
int devl_dpipe_table_register(struct devlink *devlink,
const char *table_name,
const struct devlink_dpipe_table_ops *table_ops,
void *priv, bool counter_control_extern)
{ … }
EXPORT_SYMBOL_GPL(…);
void devl_dpipe_table_unregister(struct devlink *devlink,
const char *table_name)
{ … }
EXPORT_SYMBOL_GPL(…);
int devl_dpipe_table_resource_set(struct devlink *devlink,
const char *table_name, u64 resource_id,
u64 resource_units)
{ … }
EXPORT_SYMBOL_GPL(…);