4 * Copyright (C) 2003 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * $Id: v6optvalue.c,v 1.1.4.1 2006/06/16 17:21:18 darrenr Exp $
14 u_32_t getv6optbyname(optname)
18 struct ipopt_names *io;
20 for (io = v6ionames; io->on_name; io++)
21 if (!strcasecmp(optname, io->on_name))
28 u_32_t getv6optbyvalue(optval)
32 struct ipopt_names *io;
34 for (io = v6ionames; io->on_name; io++)
35 if (io->on_value == optval)