Skip to content

[Enhancement] Add Interpret field #3637

@matsievskiysv

Description

@matsievskiysv

Brief description

ERPS standard (probably some others) interpret lower layer's data.

For example, R-APS messages encode ERPS ring ID into MAC address:

The R-APS messages will use the MAC address range allocated within the ITU organizationally unique identifier (OUI) for [ITU-T G.8032] R-APS communication. The last octet of the MAC address is designated as ring ID (01-19-A7-00-00-[Ring ID]). The default ring ID is 01.

While this information resides in the lower layers, its interpretation logically belongs to the current layer. Some kind of Interpret field is needed to represent such data properly. It could inspect lower layers for information on dissection and patch data on build.

Scapy version

any

Python version

any

Operating system

any

Additional environment information

No response

How to reproduce

Actual result

No response

Expected result

No response

Related resources

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions