diff options
author | Jacek Antonelli | 2009-04-30 13:04:20 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-30 13:07:16 -0500 |
commit | ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch) | |
tree | 8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/llmessage/llpacketbuffer.h | |
parent | Second Life viewer sources 1.22.11 (diff) | |
download | meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2 meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz |
Second Life viewer sources 1.23.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/llpacketbuffer.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/linden/indra/llmessage/llpacketbuffer.h b/linden/indra/llmessage/llpacketbuffer.h index b8c9f83..bbcbdf2 100644 --- a/linden/indra/llmessage/llpacketbuffer.h +++ b/linden/indra/llmessage/llpacketbuffer.h | |||
@@ -18,7 +18,8 @@ | |||
18 | * There are special exceptions to the terms and conditions of the GPL as | 18 | * There are special exceptions to the terms and conditions of the GPL as |
19 | * it is applied to this Source Code. View the full text of the exception | 19 | * it is applied to this Source Code. View the full text of the exception |
20 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 20 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
21 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 21 | * online at |
22 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
22 | * | 23 | * |
23 | * By copying, modifying or distributing this software, you acknowledge | 24 | * By copying, modifying or distributing this software, you acknowledge |
24 | * that you have read and understood your obligations described above, | 25 | * that you have read and understood your obligations described above, |
@@ -43,15 +44,17 @@ public: | |||
43 | LLPacketBuffer(S32 hSocket); // receive a packet | 44 | LLPacketBuffer(S32 hSocket); // receive a packet |
44 | ~LLPacketBuffer(); | 45 | ~LLPacketBuffer(); |
45 | 46 | ||
46 | S32 getSize() const { return mSize; } | 47 | S32 getSize() const { return mSize; } |
47 | const char *getData() const { return mData; } | 48 | const char *getData() const { return mData; } |
48 | LLHost getHost() const { return mHost; } | 49 | LLHost getHost() const { return mHost; } |
50 | LLHost getReceivingInterface() const { return mReceivingIF; } | ||
49 | void init(S32 hSocket); | 51 | void init(S32 hSocket); |
50 | 52 | ||
51 | protected: | 53 | protected: |
52 | char mData[NET_BUFFER_SIZE]; // packet data /* Flawfinder : ignore */ | 54 | char mData[NET_BUFFER_SIZE]; // packet data /* Flawfinder : ignore */ |
53 | S32 mSize; // size of buffer in bytes | 55 | S32 mSize; // size of buffer in bytes |
54 | LLHost mHost; // source/dest IP and port | 56 | LLHost mHost; // source/dest IP and port |
57 | LLHost mReceivingIF; // source/dest IP and port | ||
55 | }; | 58 | }; |
56 | 59 | ||
57 | #endif | 60 | #endif |