From ddfc1b38d7bb5cc607afc7fadc6374911f5a9e60 Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Wed, 17 Feb 2010 21:40:54 +0000 Subject: whitespace only change: unified formatting with "astyle --style=k/r --indent=spaces=2 --unpad-paren --add-brackets --align-pointer=type --keep-one-line-blocks --indent-col1-comments --lineend=linux --suffix=none --recursive" --- src/plainPacket.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/plainPacket.h') diff --git a/src/plainPacket.h b/src/plainPacket.h index 8cf0368..2aa7115 100644 --- a/src/plainPacket.h +++ b/src/plainPacket.h @@ -11,7 +11,7 @@ * tunneling and relaying of packets of any protocol. * * - * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, + * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, * Christian Pointner * * This file is part of Anytun. @@ -47,14 +47,14 @@ class Cipher; #define PAYLOAD_TYPE_TAP 0x6558 #define PAYLOAD_TYPE_TUN 0x0000 #define PAYLOAD_TYPE_TUN4 0x0800 -#define PAYLOAD_TYPE_TUN6 0x86DD +#define PAYLOAD_TYPE_TUN6 0x86DD class PlainPacket : public Buffer { public: /** * Packet constructor - * @param the length of the payload + * @param the length of the payload * @param allow reallocation of buffer */ PlainPacket(u_int32_t payload_length, bool allow_realloc = false); @@ -72,7 +72,7 @@ public: /** * Get the payload type - * @return the id of the payload type + * @return the id of the payload type */ payload_type_t getPayloadType() const; @@ -100,12 +100,12 @@ public: */ u_int8_t* getPayload(); -// NetworkAddress getSrcAddr() const; + // NetworkAddress getSrcAddr() const; NetworkAddress getDstAddr() const; private: PlainPacket(); - PlainPacket(const PlainPacket &src); + PlainPacket(const PlainPacket& src); void reinit(); -- cgit v1.2.3