NetBSD/dist/ipf/lib/v6ionames.c

28 lines
695 B
C
Raw Normal View History

/* $NetBSD: v6ionames.c,v 1.3 2004/12/30 12:07:07 darrenr Exp $ */
2004-03-28 12:55:20 +04:00
/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* Id: v6ionames.c,v 1.1 2003/04/26 04:55:58 darrenr Exp
*/
#include "ipf.h"
#ifdef USE_INET6
struct ipopt_names v6ionames[] ={
{ IPPROTO_HOPOPTS, 0x000001, 0, "hopopts" },
{ IPPROTO_DSTOPTS, 0x000002, 0, "dstopts" },
{ IPPROTO_ESP, 0x000004, 0, "esp" },
{ IPPROTO_AH, 0x000008, 0, "ah" },
{ IPPROTO_ROUTING, 0x000010, 0, "routing" },
{ IPPROTO_IPV6, 0x000020, 0, "ipv6" },
{ IPPROTO_FRAGMENT, 0x000040, 0, "frag" },
{ IPPROTO_NONE, 0x000080, 0, "none" },
2004-03-28 12:55:20 +04:00
{ 0, 0, 0, (char *)NULL }
};
#endif