15f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte/* TTL modification module for IP tables 25f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte * (C) 2000 by Harald Welte <laforge@netfilter.org> */ 35f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte 45f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte#ifndef _IPT_TTL_H 55f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte#define _IPT_TTL_H 65f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte 706988b06935da7a210887e9d3f50f46f2faa4953Jan Engelhardt#include <linux/types.h> 806988b06935da7a210887e9d3f50f46f2faa4953Jan Engelhardt 95f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welteenum { 105f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte IPT_TTL_SET = 0, 115f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte IPT_TTL_INC, 125f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte IPT_TTL_DEC 135f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte}; 145f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte 155f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte#define IPT_TTL_MAXMODE IPT_TTL_DEC 165f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte 175f2c3b910744f68e1a507f027398f404b3feb5fbHarald Weltestruct ipt_TTL_info { 180260c1dccc6a1018f8cf2c4778dffb47fc5d1c4cJan Engelhardt __u8 mode; 190260c1dccc6a1018f8cf2c4778dffb47fc5d1c4cJan Engelhardt __u8 ttl; 205f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte}; 215f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte 225f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte 235f2c3b910744f68e1a507f027398f404b3feb5fbHarald Welte#endif 24