Function radius::core::rfc2868::lookup_tunnel_preference[][src]

pub fn lookup_tunnel_preference(
    packet: &Packet
) -> Option<Result<(u32, Tag), AVPError>>
Expand description

Lookup a tunnel_preference tagged integer value from a packet.

It returns the first looked up value. If there is no associated value with tunnel_preference, it returns None.