| 232 | #[derive(PartialEq, Eq, Debug, Clone, Default)] |
| 233 | #[cfg_attr(feature = "serde", derive(Serialize))] |
| 234 | pub struct MACPayload { |
| 235 | pub fhdr: FHDR, |
| 236 | pub f_port: Option<u8>, |
| 237 | pub frm_payload: Option<FRMPayload>, |
| 238 | } |
| 239 | |
| 240 | impl MACPayload { |
| 241 | pub fn from_slice(b: &[u8]) -> Result<Self> { |
no outgoing calls