/// Source Address
/// Who the packet came from.
Source Address
Who the packet came from.
Source Address Who the packet came from .
fn source_address(&self) -> Option<MacAddress> {
        match self.ds_status() {
            DSStatus::FromDSToSTA => Some(self.addr3()),
            DSStatus::FromSTAToDS => Some(self.addr2()),
            DSStatus::WDSOrMesh => Some(self.addr4()),
            // fall back to transmitter
            _ => self.transmitter_address(),
        }
    }
fn source_address ( & self ) -> Option < MacAddress > { match self . ds_status ( ) { DSStatus :: FromDSToSTA => Some ( self . addr3 ( ) ) , DSStatus :: FromSTAToDS => Some ( self . addr2 ( ) ) , DSStatus :: WDSOrMesh => Some ( self . addr4 ( ) ) , // fall back to transmitter _ => self . transmitter_address ( ) , } }
Source Address
Who the packet came from.
Source Address Who the packet came from .
&self