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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/*
*
* Copyright (c) 2025 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//! # D-Bus interface proxy for: `org.freedesktop.NetworkManager.Device.Vxlan`
use zbus::proxy;
use zbus::zvariant::OwnedObjectPath;
#[proxy(
interface = "org.freedesktop.NetworkManager.Device.Vxlan",
default_service = "org.freedesktop.NetworkManager"
)]
pub trait Vxlan {
/// HwAddress property
#[zbus(property)]
fn hw_address(&self) -> zbus::Result<String>;
/// Parent property
#[zbus(property)]
fn parent(&self) -> zbus::Result<OwnedObjectPath>;
/// Id property
#[zbus(property)]
fn id(&self) -> zbus::Result<u32>;
/// Group property
#[zbus(property)]
fn group(&self) -> zbus::Result<String>;
/// Local property
#[zbus(property)]
fn local(&self) -> zbus::Result<String>;
/// Tos property
#[zbus(property)]
fn tos(&self) -> zbus::Result<u8>;
/// Ttl property
#[zbus(property)]
fn ttl(&self) -> zbus::Result<u8>;
/// Learning property
#[zbus(property)]
fn learning(&self) -> zbus::Result<bool>;
/// Ageing property
#[zbus(property)]
fn ageing(&self) -> zbus::Result<u32>;
/// Limit property
#[zbus(property)]
fn limit(&self) -> zbus::Result<u32>;
/// DstPort property
#[zbus(property)]
fn dst_port(&self) -> zbus::Result<u16>;
/// SrcPortMin property
#[zbus(property)]
fn src_port_min(&self) -> zbus::Result<u16>;
/// SrcPortMax property
#[zbus(property)]
fn src_port_max(&self) -> zbus::Result<u16>;
/// Proxy property
#[zbus(property)]
fn proxy(&self) -> zbus::Result<bool>;
/// Rsc property
#[zbus(property)]
fn rsc(&self) -> zbus::Result<bool>;
/// L2miss property
#[zbus(property)]
fn l2miss(&self) -> zbus::Result<bool>;
/// L3miss property
#[zbus(property)]
fn l3miss(&self) -> zbus::Result<bool>;
}