|
|
MfeaDft (MfeaNode& mfea_node)
| MfeaDft |
Constructor for a given MFEA node.
Parameters:
mfea_node | the MfeaNode this table belongs to. |
~MfeaDft ()
| ~MfeaDft |
[virtual]
Destructor
MfeaNode& mfea_node ()
| mfea_node |
[const]
Get a reference to to the MFEA node this table belongs to.
Returns: a reference to the MFEA node (MfeaNode) this table belongs to.
int family ()
| family |
[const]
Get the address family.
Returns: the address family (e.g., AF_INET or AF_INET6 for IPv4 and IPv6 respectively).
int add_entry (const IPvX& source, const IPvX& group,
const struct timeval& threshold_interval,
uint32_t threshold_packets,
uint32_t threshold_bytes,
bool is_threshold_in_packets,
bool is_threshold_in_bytes,
bool is_geq_upcall,
bool is_leq_upcall)
| add_entry |
Add a dataflow entry.
Note: either is_threshold_in_packets or is_threshold_in_bytes (or both) must be true. Note: either is_geq_upcall or is_leq_upcall (but not both) must be true.
Parameters:
source | the source address. |
group | the group address. |
threshold_interval | the dataflow threshold interval. |
threshold_packets | the threshold (in number of packets) to compare against. |
threshold_bytes | the threshold (in number of bytes) to compare against. |
is_threshold_in_packets | if true, threshold_packets is valid. |
is_threshold_in_bytes | if true, threshold_bytes is valid. |
is_geq_upcall | if true, the operation for comparison is ">=". |
is_leq_upcall | if true, the operation for comparison is "<=". |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int delete_entry (const IPvX& source, const IPvX& group,
const struct timeval& threshold_interval,
uint32_t threshold_packets,
uint32_t threshold_bytes,
bool is_threshold_in_packets,
bool is_threshold_in_bytes,
bool is_geq_upcall,
bool is_leq_upcall)
| delete_entry |
Delete a dataflow entry.
Note: either is_threshold_in_packets or is_threshold_in_bytes (or both) must be true. Note: either is_geq_upcall or is_leq_upcall (but not both) must be true.
Parameters:
source | the source address. |
group | the group address. |
threshold_interval | the dataflow threshold interval. |
threshold_packets | the threshold (in number of packets) to compare against. |
threshold_bytes | the threshold (in number of bytes) to compare against. |
is_threshold_in_packets | if true, threshold_packets is valid. |
is_threshold_in_bytes | if true, threshold_bytes is valid. |
is_geq_upcall | if true, the operation for comparison is ">=". |
is_leq_upcall | if true, the operation for comparison is "<=". |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int delete_entry (const IPvX& source, const IPvX& group)
| delete_entry |
Delete all dataflow entries for a given source and group address.
Parameters:
source | the source address. |
group | the group address. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int delete_entry (MfeaDfe *mfea_dfe)
| delete_entry |
Delete a given MfeaDfe dataflow entry.
Parameters:
mfea_dfe | the MfeaDfe dataflow entry to delete. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:53 2003, using kdoc 2.0a54+XORP. |