4 * Copyright (C) 2002-2005 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * $Id: getproto.c,v 1.2.2.3 2006/06/16 17:21:00 darrenr Exp $
19 for (s = name; *s != '\0'; s++)
27 * For some bogus reason, "ip" is 252 in /etc/protocols on AIX 5
29 if (!strcasecmp(name, "ip"))
33 p = getprotobyname(name);