Previous: Port Operators, Up: Port Type



3.8.3 Port Functions

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.