(PHP 4) getprotobyname() は、プロトコル name のプロトコル番号を/etc/protocolsから 取得して返します。 getprotobynumber() も参照下さい。