#[repr(transparent)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub struct Ipv4Protocol(u8);
impl Ipv4Protocol {
pub const ICMP: Self = Self(1);
pub const TCP: Self = Self(6);
pub const UDP: Self = Self(17);
#[inline]
pub const fn new(raw: u8) -> Self {
Self(raw)
}
#[inline]
pub const fn raw(self) -> u8 {
self.0
}
}