netlink_packet_route/link/af_spec/
inet6_iface_flag.rs

1// SPDX-License-Identifier: MIT
2
3const IF_RA_OTHERCONF: u32 = 0x80;
4const IF_RA_MANAGED: u32 = 0x40;
5const IF_RA_RCVD: u32 = 0x20;
6const IF_RS_SENT: u32 = 0x10;
7const IF_READY: u32 = 0x80000000;
8
9bitflags! {
10    #[derive(Debug, PartialEq, Eq, Clone, Copy)]
11    #[non_exhaustive]
12    pub struct Inet6IfaceFlags : u32 {
13        const Otherconf = IF_RA_OTHERCONF;
14        const RaManaged = IF_RA_MANAGED;
15        const RaRcvd = IF_RA_RCVD;
16        const RsSent = IF_RS_SENT;
17        const Ready = IF_READY;
18        const _ = !0;
19    }
20}