mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00

The broxygen-generated files now live in the git repo, have tests that check that they are up-to-date, and a script to re-generate them on-demand.
54 lines
2.2 KiB
ReStructuredText
54 lines
2.2 KiB
ReStructuredText
:tocdepth: 3
|
|
|
|
base/utils/conn-ids.bro
|
|
=======================
|
|
.. bro:namespace:: GLOBAL
|
|
|
|
Simple functions for generating ASCII strings from connection IDs.
|
|
|
|
:Namespace: GLOBAL
|
|
|
|
Summary
|
|
~~~~~~~
|
|
Functions
|
|
#########
|
|
================================================== ====================================================================
|
|
:bro:id:`directed_id_string`: :bro:type:`function` Calls :bro:id:`id_string` or :bro:id:`reverse_id_string` if the
|
|
second argument is T or F, respectively.
|
|
:bro:id:`id_string`: :bro:type:`function` Takes a conn_id record and returns a string representation with the
|
|
general data flow appearing to be from the connection originator
|
|
on the left to the responder on the right.
|
|
:bro:id:`reverse_id_string`: :bro:type:`function` Takes a conn_id record and returns a string representation with the
|
|
general data flow appearing to be from the connection responder
|
|
on the right to the originator on the left.
|
|
================================================== ====================================================================
|
|
|
|
|
|
Detailed Interface
|
|
~~~~~~~~~~~~~~~~~~
|
|
Functions
|
|
#########
|
|
.. bro:id:: directed_id_string
|
|
|
|
:Type: :bro:type:`function` (id: :bro:type:`conn_id`, is_orig: :bro:type:`bool`) : :bro:type:`string`
|
|
|
|
Calls :bro:id:`id_string` or :bro:id:`reverse_id_string` if the
|
|
second argument is T or F, respectively.
|
|
|
|
.. bro:id:: id_string
|
|
|
|
:Type: :bro:type:`function` (id: :bro:type:`conn_id`) : :bro:type:`string`
|
|
|
|
Takes a conn_id record and returns a string representation with the
|
|
general data flow appearing to be from the connection originator
|
|
on the left to the responder on the right.
|
|
|
|
.. bro:id:: reverse_id_string
|
|
|
|
:Type: :bro:type:`function` (id: :bro:type:`conn_id`) : :bro:type:`string`
|
|
|
|
Takes a conn_id record and returns a string representation with the
|
|
general data flow appearing to be from the connection responder
|
|
on the right to the originator on the left.
|
|
|
|
|