| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
AmsHead Struct Reference

AMS protocol header, common to all AMS commands. More...

`#include <packet-ams.h>`

## Public Attributes
AmsAddr | target
AmsAddr | sender
uint16_t | cmdId
uint16_t | stateFlags
uint32_t | cbData
ErrCodeUnion | anErrCodeUnion
UserUnion | aUserUnion

## Detailed Description

AMS protocol header, common to all AMS commands.

## Member Data Documentation

## ◆ anErrCodeUnion

ErrCodeUnion AmsHead::anErrCodeUnion

Error code or receive handle for this message.

## ◆ aUserUnion

UserUnion AmsHead::aUserUnion

User/invoke ID or fragment/packet counters.

## ◆ cbData

uint32_t AmsHead::cbData

Length in bytes of the data payload following this header.

## ◆ cmdId

uint16_t AmsHead::cmdId

AMS command identifier (e.g. Read, Write, ReadWrite).

## ◆ sender

AmsAddr AmsHead::sender

AMS address of the sender (source) device.

## ◆ stateFlags

uint16_t AmsHead::stateFlags

AMS state flags (request/response, ADS state bits).

## ◆ target

AmsAddr AmsHead::target

AMS address of the target (destination) device.

The documentation for this struct was generated from the following file:

- /builds/wireshark/wireshark/plugins/epan/ethercat/packet-ams.h