TABLE OF CONTENTS
- 1. libram/libram_action
- 2. libram/libram_direction
- 3. libram/libram_ipversion
- 4. libram/libram_protocol
libram/libram_action [ Structures ]
[ Top ] [ libram ] [ Structures ]
NAME
libram_action - types on actions returned in analysis
DESCRIPTION
The action enumeration defines the types of actions that can be returned by the analysis backend.
SOURCE
enum libram_action { libram_action_error, libram_action_pass, libram_action_pass_pattern, libram_action_replace, libram_action_port, libram_action_block };
ATTRIBUTES
- action_error: error condition detected
- action_pass: pass data up to the given offset
- action_pass_pattern: pass data up tot the given pattern
- action_replace: replace data
- action_port: open new tcp or udp connection
- action_block: block data
SEE ALSO
reply(3), libram_open(3), libram_data(3), libram_close(3)
libram/libram_direction [ Structures ]
[ Top ] [ libram ] [ Structures ]
NAME
libram_direction - direction of connection data
DESCRIPTION
The direction enum is a flag that defines the direction of data in a tcp or udp session.
SOURCE
enum libram_direction { libram_direction_client = 0, libram_direction_server = 1 };
ATTRIBUTES
- libram_direction_client: data from server to client
- libram_direction_server: data from client to server
SEE ALSO
conn_payload(3), libram_open(3), libram_data(3), libram_close(3)
libram/libram_ipversion [ Structures ]
[ Top ] [ libram ] [ Structures ]
NAME
libram_ipversion - version of ip protocol
DESCRIPTION
The ipversion enum is defines the version of the ip protocols.
SOURCE
enum libram_ipversion { libram_ipversion_v4 = 4, libram_ipversion_v6 = 6 };
ATTRIBUTES
- libram_ipversion_v4: ip protocol version 4
- libram_ipversion_v6: ip protocol version 6
SEE ALSO
conn_hdr4(3), conn_hdr6(3), conn_hdr(3), libram_open(3), libram_data(3), libram_close(3), libram(3)
libram/libram_protocol [ Structures ]
[ Top ] [ libram ] [ Structures ]
NAME
libram_protocol - protocol of connection
DESCRIPTION
The direction enum is a flag that defines the protocol used in an connection. protocol is either tcp or udp.
SOURCE
enum libram_protocol { libram_protocol_tcp = 6, libram_protocol_udp = 17 };
ATTRIBUTES
- libram_protocol_tcp: the connection uses tcp for the transport protocol
- libram_protocol_udp: the connection uses upd for the transport protocol
SEE ALSO
conn_hdr4(3), conn_hdr6(3), conn_hdr(3), libram_open(3)