Source file nm_ip6_config.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
include OBus_proxy.Private
open Nm_interfaces.Org_freedesktop_NetworkManager_IP6Config
let addresses proxy =
OBus_property.map_r
(fun x -> List.map (fun (x1, x2) -> (x1, Int32.to_int x2)) x)
(OBus_property.make ~monitor:Nm_monitor.monitor p_Addresses proxy)
let nameservers proxy =
OBus_property.make ~monitor:Nm_monitor.monitor p_Nameservers proxy
let domains proxy =
OBus_property.make ~monitor:Nm_monitor.monitor p_Domains proxy
let routes proxy =
OBus_property.map_r
(fun x -> List.map (fun (x1, x2, x3, x4) -> (x1, Int32.to_int x2, x3, Int32.to_int x4)) x)
(OBus_property.make ~monitor:Nm_monitor.monitor p_Routes proxy)
let properties proxy =
OBus_property.group ~monitor:Nm_monitor.monitor proxy interface