root/include/uapi/linux/netfilter_bridge/ebt_mark_t.h

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

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2 #ifndef __LINUX_BRIDGE_EBT_MARK_T_H
   3 #define __LINUX_BRIDGE_EBT_MARK_T_H
   4 
   5 /* The target member is reused for adding new actions, the
   6  * value of the real target is -1 to -NUM_STANDARD_TARGETS.
   7  * For backward compatibility, the 4 lsb (2 would be enough,
   8  * but let's play it safe) are kept to designate this target.
   9  * The remaining bits designate the action. By making the set
  10  * action 0xfffffff0, the result will look ok for older
  11  * versions. [September 2006] */
  12 #define MARK_SET_VALUE (0xfffffff0)
  13 #define MARK_OR_VALUE  (0xffffffe0)
  14 #define MARK_AND_VALUE (0xffffffd0)
  15 #define MARK_XOR_VALUE (0xffffffc0)
  16 
  17 struct ebt_mark_t_info {
  18         unsigned long mark;
  19         /* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */
  20         int target;
  21 };
  22 #define EBT_MARK_TARGET "mark"
  23 
  24 #endif

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