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

cffrml.h (609B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright (C) ST-Ericsson AB 2010
      4 * Author:	Sjur Brendeland
      5 */
      6
      7#ifndef CFFRML_H_
      8#define CFFRML_H_
      9#include <net/caif/caif_layer.h>
     10#include <linux/netdevice.h>
     11
     12struct cffrml;
     13struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
     14void cffrml_free(struct cflayer *layr);
     15void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up);
     16void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn);
     17void cffrml_put(struct cflayer *layr);
     18void cffrml_hold(struct cflayer *layr);
     19int cffrml_refcnt_read(struct cflayer *layr);
     20
     21#endif /* CFFRML_H_ */