diff options
Diffstat (limited to 'linden/indra/llmessage/llpacketbuffer.h')
-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 |