root/tools/include/uapi/linux/tc_act/tc_bpf.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
   2 /*
   3  * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us>
   4  *
   5  * This program is free software; you can redistribute it and/or modify
   6  * it under the terms of the GNU General Public License as published by
   7  * the Free Software Foundation; either version 2 of the License, or
   8  * (at your option) any later version.
   9  */
  10 
  11 #ifndef __LINUX_TC_BPF_H
  12 #define __LINUX_TC_BPF_H
  13 
  14 #include <linux/pkt_cls.h>
  15 
  16 struct tc_act_bpf {
  17         tc_gen;
  18 };
  19 
  20 enum {
  21         TCA_ACT_BPF_UNSPEC,
  22         TCA_ACT_BPF_TM,
  23         TCA_ACT_BPF_PARMS,
  24         TCA_ACT_BPF_OPS_LEN,
  25         TCA_ACT_BPF_OPS,
  26         TCA_ACT_BPF_FD,
  27         TCA_ACT_BPF_NAME,
  28         TCA_ACT_BPF_PAD,
  29         TCA_ACT_BPF_TAG,
  30         TCA_ACT_BPF_ID,
  31         __TCA_ACT_BPF_MAX,
  32 };
  33 #define TCA_ACT_BPF_MAX (__TCA_ACT_BPF_MAX - 1)
  34 
  35 #endif

/* [<][>][^][v][top][bottom][index][help] */