mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2025-04-25 17:39:08 -04:00
add some docstrings for host type options
This commit is contained in:
parent
45ffee89e1
commit
3ac145c1ff
@ -1,7 +1,12 @@
|
|||||||
type port = int
|
type port = int
|
||||||
|
|
||||||
type host =
|
type host =
|
||||||
[ `Client of Fw_utils.client_link | `Client_gateway | `Firewall_uplink | `NetVM | `External of Ipaddr.t ]
|
[ `Client of Fw_utils.client_link (** an IP address on the private network *)
|
||||||
|
| `Client_gateway (** the firewall's IP on the private network *)
|
||||||
|
| `Firewall_uplink (** the firewall's IP on the public network *)
|
||||||
|
| `NetVM (** the IP of the firewall's default route *)
|
||||||
|
| `External of Ipaddr.t (** an IP on the public network *)
|
||||||
|
]
|
||||||
|
|
||||||
type transport_header = [`TCP of Tcp.Tcp_packet.t
|
type transport_header = [`TCP of Tcp.Tcp_packet.t
|
||||||
|`UDP of Udp_packet.t
|
|`UDP of Udp_packet.t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user