2 * Copyright (C) 1993-2001 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
6 * $Id: v6optvalue.c,v 1.1 2003/04/26 04:55:58 darrenr Exp $
12 u_32_t
getv6optbyname(optname
)
16 struct ipopt_names
*io
;
18 for (io
= v6ionames
; io
->on_name
; io
++)
19 if (!strcasecmp(optname
, io
->on_name
))
26 u_32_t
getv6optbyvalue(optval
)
30 struct ipopt_names
*io
;
32 for (io
= v6ionames
; io
->on_name
; io
++)
33 if (io
->on_value
== optval
)