cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

bat_algo.h (713B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/* Copyright (C) B.A.T.M.A.N. contributors:
      3 *
      4 * Marek Lindner, Linus Lüssing
      5 */
      6
      7#ifndef _NET_BATMAN_ADV_BAT_ALGO_H_
      8#define _NET_BATMAN_ADV_BAT_ALGO_H_
      9
     10#include "main.h"
     11
     12#include <linux/netlink.h>
     13#include <linux/skbuff.h>
     14#include <linux/types.h>
     15
     16extern char batadv_routing_algo[];
     17extern struct list_head batadv_hardif_list;
     18
     19void batadv_algo_init(void);
     20struct batadv_algo_ops *batadv_algo_get(const char *name);
     21int batadv_algo_register(struct batadv_algo_ops *bat_algo_ops);
     22int batadv_algo_select(struct batadv_priv *bat_priv, const char *name);
     23int batadv_algo_dump(struct sk_buff *msg, struct netlink_callback *cb);
     24
     25#endif /* _NET_BATMAN_ADV_BAT_ALGO_H_ */