Previous: Port Operators, Up: Port Type
You can obtain the transport-level protocol type of a port as an enum constant of type transport_proto (defined in bro.init), using the built-in function (see Predefined Functions) get_port_transport_proto(p: port): transport_proto.
enum
transport_proto
bro.init
get_port_transport_proto(p: port): transport_proto