test_speculative_tpa

Function test_speculative_tpa 

Source
pub fn test_speculative_tpa(buf: &[u8], addr: Ipv4Addr) -> bool
Expand description

This function checks if buf may hold an Ethernet frame which encapsulates an EthIPv4ArpRequest for the given address. Cannot produce false negatives.