#include <dce_rpc_pac.h>
Collaboration diagram for BinPAC::DCE_RPC_Bind:

Public Member Functions | |
| DCE_RPC_Bind () | |
| ~DCE_RPC_Bind () | |
| int | parse (const uint8 *const t_begin_of_data, const uint8 *const t_end_of_data, int t_byteorder) |
| uint16 const & | max_xmit_frag () const |
| uint16 const & | max_recv_frag () const |
| uint32 const & | assoc_group_id () const |
| p_cont_list_t *const & | p_context_elem () const |
Protected Attributes | |
| uint16 | max_xmit_frag_ |
| uint16 | max_recv_frag_ |
| uint32 | assoc_group_id_ |
| p_cont_list_t * | p_context_elem_ |
|
|
Definition at line 374 of file dce_rpc_pac.cc. References assoc_group_id_, max_recv_frag_, max_xmit_frag_, and p_context_elem_.
00375 {
00376 max_xmit_frag_ = 0;
00377 max_recv_frag_ = 0;
00378 assoc_group_id_ = 0;
00379 p_context_elem_ = 0;
00380 }
|
|
|
Definition at line 382 of file dce_rpc_pac.cc. References p_context_elem_.
00383 {
00384 delete p_context_elem_;
00385 }
|
|
|
Definition at line 215 of file dce_rpc_pac.h. References assoc_group_id_, and BinPAC::uint32.
00215 { return assoc_group_id_; }
|
|
|
Definition at line 214 of file dce_rpc_pac.h. References max_recv_frag_, and BinPAC::uint16.
00214 { return max_recv_frag_; }
|
|
|
Definition at line 213 of file dce_rpc_pac.h. References max_xmit_frag_, and BinPAC::uint16.
00213 { return max_xmit_frag_; }
|
|
|
Definition at line 216 of file dce_rpc_pac.h. References p_context_elem_.
00216 { return p_context_elem_; }
|
|
||||||||||||||||
|
Definition at line 387 of file dce_rpc_pac.cc. References assoc_group_id_, max_recv_frag_, max_xmit_frag_, p_context_elem_, BinPAC::p_cont_list_t::parse(), and BinPAC::uint8.
00388 {
00389 // Checking out-of-bound for "DCE_RPC_Bind:assoc_group_id"
00390 if ( (t_begin_of_data + 4) + (4) > t_end_of_data )
00391 {
00392 // Handle out-of-bound condition
00393 throw ExceptionOutOfBound("DCE_RPC_Bind:assoc_group_id",
00394 (4) + (4),
00395 (t_end_of_data) - (t_begin_of_data));
00396 }
00397 // Parse "max_xmit_frag"
00398 max_xmit_frag_ = UnMarshall<uint16>(t_begin_of_data, max_xmit_frag_, t_byteorder);
00399
00400 // Parse "max_recv_frag"
00401 max_recv_frag_ = UnMarshall<uint16>((t_begin_of_data + 2), max_recv_frag_, t_byteorder);
00402
00403 // Parse "assoc_group_id"
00404 assoc_group_id_ = UnMarshall<uint32>((t_begin_of_data + 4), assoc_group_id_, t_byteorder);
00405
00406 // Parse "p_context_elem"
00407 p_context_elem_ = new p_cont_list_t();
00408 int t_p_context_elem__size =
00409 p_context_elem_->parse((t_begin_of_data + 8), t_end_of_data, t_byteorder);
00410
00411 const uint8* const t_dataptr_after_p_context_elem = (t_begin_of_data + 8) + (t_p_context_elem__size);
00412 int t_val__size = t_dataptr_after_p_context_elem - t_begin_of_data;
00413 return t_val__size;
00414 }
|
|
|
Definition at line 221 of file dce_rpc_pac.h. Referenced by assoc_group_id(), DCE_RPC_Bind(), and parse(). |
|
|
Definition at line 220 of file dce_rpc_pac.h. Referenced by DCE_RPC_Bind(), max_recv_frag(), and parse(). |
|
|
Definition at line 219 of file dce_rpc_pac.h. Referenced by DCE_RPC_Bind(), max_xmit_frag(), and parse(). |
|
|
Definition at line 222 of file dce_rpc_pac.h. Referenced by DCE_RPC_Bind(), p_context_elem(), parse(), and ~DCE_RPC_Bind(). |
1.3.5