diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-07-28 14:22:11 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-07-28 14:22:11 +0200 |
commit | 379bb1afe48f97e331e37bfc423ccca384a28d0e (patch) | |
tree | bf3a981e6058ce5d9a8c9a56c612292898edbfe0 /src | |
parent | 8b4ac9d3ec434bb2303425fee64051255251818d (diff) |
pub PppoePkt fields
Diffstat (limited to 'src')
-rw-r--r-- | src/pppoe.rs | 12 |
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 { |