Class CapabilityUtil

java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.CapabilityUtil

public final class CapabilityUtil extends Object
  • Method Details

    • formatCapability

      public static void formatCapability(int code, io.netty.buffer.ByteBuf value, io.netty.buffer.ByteBuf buffer)
      Adds header to capability value.
      Parameters:
      code - type of the capability
      value - capability value
      buffer - ByteBuf where the capability will be copied with its header