Class AsPathLimit

  • All Implemented Interfaces:
    Attribute

    public class AsPathLimit
    extends Object
    implements Attribute
    The AS_PATHLIMIT attribute is a transitive optional BGP path attribute, with Type Code 21. The AS_PATHLIMIT attribute has a fixed length of 5 octets. The first octet is an unsigned number that is the upper bound on the number of ASes in the AS_PATH attribute of the associated paths. One octet suffices because the TTL field of the IP header ensures that only one octet's worth of ASes can ever be traversed. The second thru fifth octets are the AS number of the AS that attached the AS_PATHLIMIT attribute to the NLRI.
    • Field Detail

      • upperBound

        public final int upperBound
      • as

        public final long as
    • Constructor Detail

      • AsPathLimit

        public AsPathLimit​(io.netty.buffer.ByteBuf buffer,
                           PeerFlags flags)