diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-04-17 06:29:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-04-17 06:29:14 +0000 |
commit | c5aaac7823896a3dba279c92b6ae9eb5cd503a9e (patch) | |
tree | 1d18b9aa9f7d6529c782365c49361fa45d60d974 /ipproto.h | |
parent | d01ff0c85783b03fd0d9f52dbb384c71ae6a459e (diff) |
Move the declaration of "ipprotostr()" out of "epan/packet.h" into a new
"ipproto.h" header file.
svn path=/trunk/; revision=3313
Diffstat (limited to 'ipproto.h')
-rw-r--r-- | ipproto.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ipproto.h b/ipproto.h new file mode 100644 index 0000000000..aaa7ac6e6c --- /dev/null +++ b/ipproto.h @@ -0,0 +1,33 @@ +/* ipproto.h + * Declarations of outines for converting IPv4 protocol/v6 nxthdr field into string + * + * $Id: ipproto.h,v 1.1 2001/04/17 06:29:12 guy Exp $ + * + * Gilbert Ramirez <gram@xiexie.org> + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@zing.org> + * Copyright 1998 Gerald Combs + * + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __IPPROTO_H__ +#define __IPPROTO_H__ + +extern const char *ipprotostr(int proto); + +#endif /* ipproto.h */ |