org.apache.directory.server.dhcp.options.perhost
Class PolicyFilter

java.lang.Object
  extended by org.apache.directory.server.dhcp.options.DhcpOption
      extended by org.apache.directory.server.dhcp.options.AddressListOption
          extended by org.apache.directory.server.dhcp.options.perhost.PolicyFilter

public class PolicyFilter
extends AddressListOption

This option specifies policy filters for non-local source routing. The filters consist of a list of IP addresses and masks which specify destination/mask pairs with which to filter incoming source routes. Any source routed datagram whose next-hop address does not match one of the filters should be discarded by the client. The code for this option is 21. The minimum length of this option is 8, and the length MUST be a multiple of 8.

Version:
$Rev: 638228 $, $Date: 2008-03-18 07:12:41 +0100 (Di, 18 M??r 2008) $
Author:
Apache Directory Project

Constructor Summary
PolicyFilter()
           
 
Method Summary
 byte getTag()
          Get the option's code tag.
 
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption
getClassByTag, getData, getTagByClass, setData, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyFilter

public PolicyFilter()
Method Detail

getTag

public byte getTag()
Description copied from class: DhcpOption
Get the option's code tag.

Specified by:
getTag in class DhcpOption
Returns:
byte


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.