Function radius::core::rfc2868::lookup_tunnel_type [−][src]
pub fn lookup_tunnel_type(
packet: &Packet
) -> Option<Result<(TunnelType, Tag), AVPError>>
Expand description
Lookup a tunnel_type
tagged value-defined integer value from a packet.
It returns the first looked up value. If there is no associated value with tunnel_type
, it returns None
.