// Free Software Foundation, Inc.,
// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+/** \file
+ \brief IpV4Packet public header */
+
#ifndef HH_IpV4Packet_
#define HH_IpV4Packet_ 1
# else
- Parse_Version version();
- Parse_IHL ihl();
- Parse_8bit tos();
- Parse_16bit length();
- Parse_16bit identifier();
- Parse_R reserved();
- Parse_DF df();
- Parse_MF mf();
- Parse_Frag frag();
- Parse_8bit ttl();
- Parse_8bit protocol();
- Parse_16bit crc();
- Parse_32bit source();
- Parse_32bit destination();
+ Parse_Version version() const;
+ Parse_IHL ihl() const;
+ Parse_8bit tos() const;
+ Parse_16bit length() const;
+ Parse_16bit identifier() const;
+ Parse_R reserved() const;
+ Parse_DF df() const;
+ Parse_MF mf() const;
+ Parse_Frag frag() const;
+ Parse_8bit ttl() const;
+ Parse_8bit protocol() const;
+ Parse_16bit crc() const;
+ Parse_32bit source() const;
+ Parse_32bit destination() const;
# endif
This registeres packets with their IP protocol number.
- \see <a href="http://www.iana.org/assignments/protocol-numbers">Protocol numbers</a>
+ \see <a href="http://www.iana.org/assignments/protocol-numbers">Protocol numbers</a> \n
PacketRegistry
*/
struct IpTypes {