Enum pnet::datalink::DataLinkChannelType
[−]
pub enum DataLinkChannelType {
Layer2,
Layer3(EtherType),
}Type of data link channel to present
Variants
Layer2 | Send and receive layer 2 packets directly, including headers |
Layer3 | Send and receive "cooked" packets - send and receive network layer packets FIXME Currently unimplemented |