|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.dhcp.options.DhcpOption
org.apache.directory.server.dhcp.options.AddressOption
org.apache.directory.server.dhcp.options.vendor.SubnetMask
public class SubnetMask
The subnet mask option specifies the client's subnet mask as per RFC 950. If both the subnet mask and the router option are specified in a DHCP reply, the subnet mask option MUST be first. The code for the subnet mask option is 1, and its length is 4 octets.
Constructor Summary | |
---|---|
SubnetMask()
|
|
SubnetMask(java.net.InetAddress netmask)
|
Method Summary | |
---|---|
byte |
getTag()
Get the option's code tag. |
Methods inherited from class org.apache.directory.server.dhcp.options.AddressOption |
---|
getAddress, getData, setAddress, setData |
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption |
---|
getClassByTag, getTagByClass, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubnetMask()
public SubnetMask(java.net.InetAddress netmask)
netmask
- Method Detail |
---|
public byte getTag()
DhcpOption
getTag
in class DhcpOption
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |