|
| | LdapSearchRequestLayer (uint16_t messageId, const std::string &baseObject, SearchRequestScope scope, DerefAliases derefAliases, uint8_t sizeLimit, uint8_t timeLimit, bool typesOnly, Asn1Record *filterRecord, const std::vector< std::string > &attributes, const std::vector< LdapControl > &controls=std::vector< LdapControl >()) |
| |
| std::string | getBaseObject () const |
| |
| SearchRequestScope | getScope () const |
| |
| DerefAliases | getDerefAlias () const |
| |
| uint8_t | getSizeLimit () const |
| |
| uint8_t | getTimeLimit () const |
| |
| bool | getTypesOnly () const |
| |
| Asn1Record * | getFilter () const |
| |
| std::vector< std::string > | getAttributes () const |
| |
| | LdapLayer (uint16_t messageId, LdapOperationType operationType, const std::vector< Asn1Record * > &messageRecords, const std::vector< LdapControl > &controls=std::vector< LdapControl >()) |
| |
| Asn1SequenceRecord * | getRootAsn1Record () const |
| |
| Asn1ConstructedRecord * | getLdapOperationAsn1Record () const |
| |
| uint16_t | getMessageID () const |
| |
| std::vector< LdapControl > | getControls () const |
| |
| virtual LdapOperationType | getLdapOperationType () const |
| |
| template<typename Method , typename ResultType > |
| bool | tryGet (Method method, ResultType &result) |
| |
|
void | parseNextLayer () override |
| | Tries to identify more LDAP messages in this packet if exist.
|
| |
| size_t | getHeaderLen () const override |
| |
|
void | computeCalculateFields () override |
| | Each layer can compute field values automatically using this method. This is an abstract method.
|
| |
| OsiModelLayer | getOsiModelLayer () const override |
| |
| std::string | toString () const override |
| |
| | ~Layer () override |
| |
| Layer * | getNextLayer () const |
| |
| Layer * | getPrevLayer () const |
| |
| ProtocolType | getProtocol () const |
| |
| bool | isMemberOfProtocolFamily (ProtocolTypeFamily protocolTypeFamily) const |
| |
| uint8_t * | getData () const |
| |
| size_t | getDataLen () const |
| |
| uint8_t * | getLayerPayload () const |
| |
| size_t | getLayerPayloadSize () const |
| |
| bool | isAllocatedToPacket () const |
| |
| void | copyData (uint8_t *toArr) const |
| |
| uint8_t * | getDataPtr (size_t offset=0) const override |
| |
|
| static bool | isLdapPort (uint16_t port) |
| |
| static LdapLayer * | parseLdapMessage (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
| |
| Packet * | getAttachedPacket () |
| | Get a pointer to the Packet this layer is attached to (if any). More...
|
| |
| Packet const * | getAttachedPacket () const |
| | Get a pointer to the Packet this layer is attached to (if any). More...
|
| |
| template<typename T , typename... Args> |
| Layer * | constructNextLayer (uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Construct the next layer in the protocol stack. No validation is performed on the data. More...
|
| |
| template<typename T , typename... Args> |
| Layer * | constructNextLayer (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| |
| template<typename T , typename... Args> |
| Layer * | tryConstructNextLayer (uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| |
| template<typename T , typename... Args> |
| Layer * | tryConstructNextLayer (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| |
| template<typename T , typename TFallback , typename... Args> |
| Layer * | tryConstructNextLayerWithFallback (uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Try to construct the next layer in the protocol stack with a fallback option. More...
|
| |
| template<typename T , typename TFallback , typename... Args> |
| Layer * | tryConstructNextLayerWithFallback (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| |
| template<typename T > |
| static bool | canReinterpretAs (const uint8_t *data, size_t dataLen) |
| | Check if the data is large enough to reinterpret as a type. More...
|
| |
Represents LDAP search request operation