Skip to main content

netstat2/types/
protocol.rs

1bitflags! {
2    /// Set of protocols.
3    #[derive(Debug, Clone, Copy, PartialEq)]
4    pub struct ProtocolFlags: u8 {
5        const TCP = 0b00000001;
6        const UDP = 0b00000010;
7    }
8}