aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 {