Home | History | Annotate | Download | only in DNS

Lines Matching defs:option

9  * is defined as a list of options; this represents a single option.
25 private static Mnemonic codes = new Mnemonic("EDNS Option Codes",
38 * Converts an EDNS Option Code into its textual representation
46 * Converts a textual representation of an EDNS Option Code into its
48 * @param s The textual representation of the option code
49 * @return The option code, or -1 on error.
61 * Creates an option with the given option code and data.
82 * Returns the EDNS Option's code.
84 * @return the option code
92 * Returns the EDNS Option's data, as a byte array.
94 * @return the option data
104 * Converts the wire format of an EDNS Option (the option data only) into the
112 * Converts the wire format of an EDNS Option (including code and length) into
123 throw new WireParseException("truncated option");
126 EDNSOption option;
129 option = new NSIDOption();
132 option = new ClientSubnetOption();
135 option = new GenericEDNSOption(code);
138 option.optionFromWire(in);
141 return option;
145 * Converts the wire format of an EDNS Option (including code and length) into
147 * @return The option, in wire format.
155 * Converts an EDNS Option (the type-specific option data only) into wire format.
162 * Converts an EDNS Option (including code and length) into wire format.
176 * Converts an EDNS Option (including code and length) into wire format.
177 * @return The option, in wire format.
188 * @param arg The option to compare to
202 * Generates a hash code based on the EDNS Option's data.