linux/include/uapi/linux/netfilter_ipv4/ipt_ttl.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2/* IP tables module for matching the value of the TTL
   3 * (C) 2000 by Harald Welte <laforge@gnumonks.org> */
   4
   5#ifndef _IPT_TTL_H
   6#define _IPT_TTL_H
   7
   8#include <linux/types.h>
   9
  10enum {
  11        IPT_TTL_EQ = 0,         /* equals */
  12        IPT_TTL_NE,             /* not equals */
  13        IPT_TTL_LT,             /* less than */
  14        IPT_TTL_GT,             /* greater than */
  15};
  16
  17
  18struct ipt_ttl_info {
  19        __u8    mode;
  20        __u8    ttl;
  21};
  22
  23
  24#endif
  25