Skip to main content

parse_udp_application

Function parse_udp_application 

Source
pub fn parse_udp_application(
    buf: &[u8],
    src_port: u16,
    dst_port: u16,
) -> Option<AppPacket<'_>>
Expand description

Dispatch a UDP payload to an application-layer parser based on port numbers.

Recognizes RADIUS, mDNS, LLMNR, and NetBIOS-NS on their standard ports.