'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Class filter

odtone::net::ip::icmp::filter

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/net/ip/icmp/icmp.hpp>



class filter {
public:
  // construct/copy/destruct
  filter(bool);
  filter(bool, uint);

  // public member functions
  void pass();
  void pass(uint);
  void block();
  void block(uint);
  int level(const boost::asio::ip::icmp &) const;
  int name(const boost::asio::ip::icmp &) const;
  const void * data(const boost::asio::ip::icmp &) const;
  size_t size(const boost::asio::ip::icmp &) const;
};

Description

This class represents an ICMP filter.

filter public construct/copy/destruct

  1. filter(bool block);
  2. filter(bool block, uint except_value_type);

filter public member functions

  1. void pass();
  2. void pass(uint type_value);
  3. void block();
  4. void block(uint type_value);
  5. int level(const boost::asio::ip::icmp &) const;
  6. int name(const boost::asio::ip::icmp &) const;
  7. const void * data(const boost::asio::ip::icmp &) const;
  8. size_t size(const boost::asio::ip::icmp &) const;

PrevUpHomeNext