- ``id``
-
-
- - Entity id, set by the application. When the id is or'ed with
+ - Entity ID, set by the application. When the ID is or'ed with
``MEDIA_ENT_ID_FLAG_NEXT``, the driver clears the flag and returns
- the first entity with a larger id.
+ the first entity with a larger ID. Do not expect that the ID will
+ always be the same for each instance of the device. In other words,
+ do not hardcode entity IDs in an application.
* - char
- ``name``\ [32]
-
-
- - Entity name as an UTF-8 NULL-terminated string.
+ - Entity name as an UTF-8 NULL-terminated string. This name must be unique
+ within the media topology.
* - __u32
- ``type``
* - __u32
- ``id``
- - Unique ID for the entity.
+ - Unique ID for the entity. Do not expect that the ID will
+ always be the same for each instance of the device. In other words,
+ do not hardcode entity IDs in an application.
* - char
- ``name``\ [64]
- - Entity name as an UTF-8 NULL-terminated string.
+ - Entity name as an UTF-8 NULL-terminated string. This name must be unique
+ within the media topology.
* - __u32
- ``function``
* - __u32
- ``id``
- - Unique ID for the interface.
+ - Unique ID for the interface. Do not expect that the ID will
+ always be the same for each instance of the device. In other words,
+ do not hardcode interface IDs in an application.
* - __u32
- ``intf_type``
* - __u32
- ``id``
- - Unique ID for the pad.
+ - Unique ID for the pad. Do not expect that the ID will
+ always be the same for each instance of the device. In other words,
+ do not hardcode pad IDs in an application.
* - __u32
- ``entity_id``
* - __u32
- ``id``
- - Unique ID for the link.
+ - Unique ID for the link. Do not expect that the ID will
+ always be the same for each instance of the device. In other words,
+ do not hardcode link IDs in an application.
* - __u32
- ``source_id``