4 * Copyright (C) 2012 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
20 for (s = name; *s != '\0'; s++)
28 * For some bogus reason, "ip" is 252 in /etc/protocols on AIX 5
29 * The IANA has doubled up on the definition of 0 - it is now also
30 * used for IPv6 hop-opts, so we can no longer rely on /etc/protocols
31 * providing the correct name->number mapping
34 if (!strcasecmp(name, "ip"))
37 p = getprotobyname(name);