Class ArpHeader.Builder

  • Enclosing class:
    ArpHeader

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

      • Builder

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

      • setDstIp

        public ArpHeader.Builder setDstIp​(java.lang.String dstIp)
        The destination IP address format: ipv4
        Parameters:
        dstIp - New value for the property.
      • setSrcIp

        public ArpHeader.Builder setSrcIp​(java.lang.String srcIp)
        This field specifies the IP address of the sender. If omitted, the src_ip is set to 0.0.0.0. format: ipv4
        Parameters:
        srcIp - New value for the property.