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

llc.h (749B)


      1/*
      2 * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators.
      3 *
      4 * Copyright (c) 2001 by Jay Schulist <jschlst@samba.org>
      5 *
      6 * This program can be redistributed or modified under the terms of the
      7 * GNU General Public License as published by the Free Software Foundation.
      8 * This program is distributed without any warranty or implied warranty
      9 * of merchantability or fitness for a particular purpose.
     10 *
     11 * See the GNU General Public License for more details.
     12 */
     13#ifndef __LINUX_LLC_H
     14#define __LINUX_LLC_H
     15
     16#include <uapi/linux/llc.h>
     17
     18#define LLC_SAP_DYN_START	0xC0
     19#define LLC_SAP_DYN_STOP	0xDE
     20#define LLC_SAP_DYN_TRIES	4
     21
     22#define llc_ui_skb_cb(__skb) ((struct sockaddr_llc *)&((__skb)->cb[0]))
     23#endif /* __LINUX_LLC_H */