inet.ipaddr.mac

Class MACAddressSection

    • Field Detail

      • startIndex

        public final int startIndex
      • extended

        public final boolean extended
    • Constructor Detail

      • MACAddressSection

        public MACAddressSection(MACAddressSegment segment)
        Constructs a single segment section, the segment being the leading segment.
        Parameters:
        segment -
      • MACAddressSection

        public MACAddressSection(MACAddressSegment segment,
                                 int startIndex,
                                 boolean extended)
        Constructs a single segment section with the segment at the given index in the address.
        Parameters:
        segment -
      • MACAddressSection

        public MACAddressSection(MACAddressSegment[] segments)
        Use this constructor for any address section that includes the leading segment of a MAC address
      • MACAddressSection

        public MACAddressSection(MACAddressSegment[] segments,
                                 int startIndex,
                                 boolean extended)
      • MACAddressSection

        public MACAddressSection(MACAddressSegment[] segments,
                                 java.lang.Integer prefixLength)
      • MACAddressSection

        public MACAddressSection(MACAddressSegment[] segments,
                                 int startIndex,
                                 boolean extended,
                                 java.lang.Integer prefixLength)
      • MACAddressSection

        public MACAddressSection(byte[] bytes,
                                 int startIndex,
                                 boolean extended,
                                 java.lang.Integer prefixLength)
      • MACAddressSection

        public MACAddressSection(byte[] bytes,
                                 int startIndex,
                                 boolean extended)
      • MACAddressSection

        public MACAddressSection(byte[] bytes,
                                 java.lang.Integer prefixLength)
      • MACAddressSection

        public MACAddressSection(byte[] bytes)
      • MACAddressSection

        public MACAddressSection(long value,
                                 int startIndex,
                                 boolean extended,
                                 java.lang.Integer prefixLength)
      • MACAddressSection

        public MACAddressSection(long value,
                                 int startIndex,
                                 boolean extended)
      • MACAddressSection

        public MACAddressSection(long value,
                                 java.lang.Integer prefixLength)
      • MACAddressSection

        public MACAddressSection(long value)