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

netlink_k.h (455B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/* Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved. */
      3
      4#ifndef _NETLINK_K_H
      5#define _NETLINK_K_H
      6
      7#include <linux/netdevice.h>
      8#include <net/sock.h>
      9
     10struct sock *netlink_init(int unit,
     11			  void (*cb)(struct net_device *dev,
     12				     u16 type, void *msg, int len));
     13int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len,
     14		 struct net_device *dev);
     15
     16#endif /* _NETLINK_K_H_ */