Skip to content

Protocol Mapper

netutils.protocol_mapper

Protocol Mappers.

DCCP_NAME_TO_NUM = {value: keyfor (key, value) in DCCP_NUM_TO_NAME.items()} module-attribute

Mappers used to take protocol number-->name and vice-versa. Number needed for test command, name needed for test command if querying by application-id.

Review how to use code within the user documentation