aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-07-28 14:22:11 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-07-28 14:22:11 +0200
commit379bb1afe48f97e331e37bfc423ccca384a28d0e (patch)
treebf3a981e6058ce5d9a8c9a56c612292898edbfe0 /src
parent8b4ac9d3ec434bb2303425fee64051255251818d (diff)
pub PppoePkt fields
Diffstat (limited to 'src')
-rw-r--r--src/pppoe.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pppoe.rs b/src/pppoe.rs
index 4466196..c72e035 100644
--- a/src/pppoe.rs
+++ b/src/pppoe.rs
@@ -467,14 +467,14 @@ impl PppoeData {
#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize, Deserialize)]
pub struct PppoePkt {
- dst_mac: MacAddr,
- src_mac: MacAddr,
- ether_type: EtherType,
- ver_type: VerType,
+ pub dst_mac: MacAddr,
+ pub src_mac: MacAddr,
+ pub ether_type: EtherType,
+ pub ver_type: VerType,
#[ppproperly(discriminant_for(field = "data", data_type = "u8"))]
- session_id: u16,
+ pub session_id: u16,
#[ppproperly(len_for(field = "data", offset = 0, data_type = "u16"))]
- data: PppoeData,
+ pub data: PppoeData,
}
impl PppoePkt {