ADC Advanced Policy Expressions

ETHER_REQ_PROTOCOL_T


Provides access to MAC Address in Ethernet Requests.

This topic lists the expressions that are provided by this class.

  • DSTMAC

    Returns MAC address present in the destination field of the Ethernet header. All MAC addresses are given as colon-delimited hexadecimal codes in the format ##:##:##:##:##:##. Valid values for each # include numbers 0-9 and letters A through F.

Returns: mac_address_at

  • ETHERTYPE

    Returns the EtherType of the current Ethernet frame.

Returns: ether_type_t

  • SRCMAC

    Returns MAC address present in the source field of the Ethernet header. All MAC addresses are given as colon-delimited hexadecimal codes in the format ##:##:##:##:##:##. Valid values for each # include numbers 0-9 and letters A through F.

Returns: mac_address_at

ETHER_REQ_PROTOCOL_T

In this article