Class NdpHeader.Builder

  • Enclosing class:
    NdpHeader

    public static final class NdpHeader.Builder
    extends java.lang.Object
    Builder class for NdpHeader.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of NdpHeader.
    • Method Detail

      • setDstIp

        public NdpHeader.Builder setDstIp​(java.lang.String dstIp)
        The IP address of the destination of the solicitation. It MUST NOT be a multicast address. format: ipv6
        Parameters:
        dstIp - New value for the property.
      • setMsgType

        public NdpHeader.Builder setMsgType​(java.lang.String msgType)
        Possible values are: This field specifies the type of the Neighbor discover message being sent. NEIGHBOR_SOLICITATION - Neighbor Solicitation message to discover the link-layer address of an on-link IPv6 node or to confirm a previously determined link-layer address. NEIGHBOR_ADVERTISEMENT - Neighbor Advertisement message in response to a Neighbor Solicitation message.
        Parameters:
        msgType - New value for the property.