4 * Copyright (C) 2012 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
13 u_32_t getoptbyname(optname)
16 struct ipopt_names *io;
18 for (io = ionames; io->on_name; io++)
19 if (!strcasecmp(optname, io->on_name))
25 u_32_t getoptbyvalue(optval)
28 struct ipopt_names *io;
30 for (io = ionames; io->on_name; io++)
31 if (io->on_value == optval)