use rasn::{AsnType, Decode, Encode};
#[derive(AsnType, Debug, Decode, Encode, PartialEq, PartialOrd, Ord, Eq, Hash)]
#[rasn(delegate)]
pub struct AddressFamilyNumbers(pub u16);
impl AddressFamilyNumbers {
pub const NONE: Self = Self(0);
pub const IPV4: Self = Self(1);
pub const IPV6: Self = Self(2);
pub const NSAP: Self = Self(3);
pub const HDLC: Self = Self(4);
pub const BBN_1822: Self = Self(5);
pub const ALL_802: Self = Self(6);
pub const E163: Self = Self(7);
pub const E164: Self = Self(8);
pub const F69: Self = Self(9);
pub const X121: Self = Self(10);
pub const IPX: Self = Self(11);
pub const APPLE_TALK: Self = Self(12);
pub const DEC_NET_IV: Self = Self(13);
pub const BANYAN_VINES: Self = Self(14);
pub const E164_WITH_NSAP: Self = Self(15);
pub const DNS: Self = Self(16);
pub const DISTINGUISHED_NAME: Self = Self(17);
pub const AS_NUMBER: Self = Self(18);
pub const XTP_OVER_IPV4: Self = Self(19);
pub const XTP_OVER_IPV6: Self = Self(20);
pub const XTP_NATIVE_MODE_XTP: Self = Self(21);
pub const FIBRE_CHANNEL_WWPN: Self = Self(22);
pub const FIBRE_CHANNEL_WWNN: Self = Self(23);
pub const GWID: Self = Self(24);
pub const AFI: Self = Self(25);
pub const MPLS_TP_SECTION_ENDPOINT_IDENTIFIER: Self = Self(26);
pub const MPLS_TP_LSP_ENDPOINT_IDENTIFIER: Self = Self(27);
pub const MPLS_TP_PSEUDOWIRE_ENDPOINT_IDENTIFIER: Self = Self(28);
pub const MT_IP_MULTI_TOPOLOGY_IP_VERSION_4: Self = Self(29);
pub const MT_IPV6_MULTI_TOPOLOGY_IP_VERSION_6: Self = Self(30);
pub const BGP_SFC: Self = Self(31);
pub const EIGRP_COMMON_SERVICE_FAMILY: Self = Self(16384);
pub const EIGRP_IPV4_SERVICE_FAMILY: Self = Self(16385);
pub const EIGRP_IPV6_SERVICE_FAMILY: Self = Self(16386);
pub const LISP_CANONICAL_ADDRESS_FORMAT: Self = Self(16387);
pub const BGP_LS: Self = Self(16388);
pub const FORTY_EIGHT_BIT_MAC: Self = Self(16389);
pub const SIXTY_FOUR_BIT_MAC: Self = Self(16390);
pub const OUI: Self = Self(16391);
pub const MAC_24: Self = Self(16392);
pub const MAC_40: Self = Self(16393);
pub const IPV6_64: Self = Self(16394);
pub const R_BRIDGE_PORT_ID: Self = Self(16395);
pub const TRILL_NICKNAME: Self = Self(16396);
pub const UNIVERSALLY_UNIQUE_IDENTIFIER: Self = Self(16397);
pub const ROUTING_POLICY_AFI: Self = Self(16398);
pub const RESERVED: Self = Self(65535);
}