From 4fd80b752708437c96133bfcdf7a503e538a3997 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=yasuyuki/emailAddress=yasuyuki@netfilter.org" Date: Fri, 9 Feb 2007 11:24:14 +0000 Subject: Add ip6tables mh extension (Masahide NAKAMURA ) Kernel part will go in 2.6.21 --- ip6tables.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ip6tables.c') diff --git a/ip6tables.c b/ip6tables.c index 211b81a..ebdaa62 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -219,6 +219,9 @@ struct pprot { #define IPPROTO_AH 51 #endif #endif +#ifndef IPPROTO_MH +#define IPPROTO_MH 135 +#endif static const struct pprot chain_protos[] = { { "tcp", IPPROTO_TCP }, @@ -228,6 +231,8 @@ static const struct pprot chain_protos[] = { { "ipv6-icmp", IPPROTO_ICMPV6 }, { "esp", IPPROTO_ESP }, { "ah", IPPROTO_AH }, + { "ipv6-mh", IPPROTO_MH }, + { "mh", IPPROTO_MH }, }; static char * -- cgit v1.2.3