Class: RubySMB::Dcerpc::BindAck

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/ruby_smb/dcerpc/bind_ack.rb

Overview

The Bind ACK PDU as defined in The bind_ack PDU

Constant Summary collapse

PTYPE =
PTypes::BIND_ACK
ACCEPTANCE =

Presentation context negotiation results

0
USER_REJECTION =
1
PROVIDER_REJECTION =
2
REASON_NOT_SPECIFIED =

Reasons for rejection of a context element

0
ABSTRACT_SYNTAX_NOT_SUPPORTED =
1
PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED =
2
LOCAL_LIMIT_EXCEEDED =
3

Instance Method Summary collapse

Instance Method Details

#initialize_instanceObject



35
36
37
38
# File 'lib/ruby_smb/dcerpc/bind_ack.rb', line 35

def initialize_instance
  super
  pdu_header.ptype = PTYPE
end