pipe_manager port-forward-outgoing-server
Simics Reference Manual  /  5 Classes  / 

port-forward-incoming-server

Description

Port forwarding TCP service. Handles connections initiated external to Simics wanting access to the simulated environment.

Interfaces Implemented

conf_object, log_object, tcp_service, udp_service, port_forward

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Attributes

tcp
Required attribute; read/write access; type: o
TCP layer. Must implement the tcp interface.
udp
Required attribute; read/write access; type: o
UDP layer. Must implement the udp interface.
connections
Optional attribute; read/write access; type: [[ssisi]*]
((protocol, in_addr, in_port, forward_ip, forward_port)*). Sets up port forwarding listening to port in_host on ip in_addr of the host machine and forwarding to port forward_port on ip forward_ip within the simulated environment. Protocol must be either tcp or udp. BUG: If the in_addr is set to "::", the behavior is currently host-specific.
add_connection
Pseudo attribute; write-only access; type: [ssisi]
(protocol, in_addr, in_port, forward_ip, forward_port). Add a port forwarding listening port in_host on ip in_addr of the host machine and forwarding to port forward_port on ip forward_ip within the simulated environment. Protocol must be either tcp or udp.
temporary_connections
Pseudo attribute; read-only access; type: [[sisi]*]
((protocol, in_port, forward_ip, forward_port)*). The format of this attribute is identical to the connections attribute. This attribute contains temporary port mappings that are set up by the NAPT protocol handler.
algs
Optional attribute; read/write access; type: [o*]
Application Level Gateway (ALG) objects providing protocol specific support for port forwarding. The first object returning non-null in a call to its connection method will be the one that handles that particular connection.

Provided By

service-node
pipe_manager port-forward-outgoing-server