src/internet/model/ipv6-raw-socket-impl.h
changeset 10405 45c8fceae24e
parent 7717 cfa1741013dd
child 10440 1e48ff9185f1
equal deleted inserted replaced
10404:eb6495608840 10405:45c8fceae24e
   230    */
   230    */
   231   void Icmpv6FilterSetBlockAll();
   231   void Icmpv6FilterSetBlockAll();
   232 
   232 
   233   /**
   233   /**
   234    * \brief Set the filter to pass one ICMPv6 type
   234    * \brief Set the filter to pass one ICMPv6 type
   235    * \param the ICMPv6 type to pass
   235    * \param type the ICMPv6 type to pass
   236    */
   236    */
   237   void Icmpv6FilterSetPass(uint8_t type);
   237   void Icmpv6FilterSetPass(uint8_t type);
   238 
   238 
   239   /**
   239   /**
   240    * \brief Set the filter to block one ICMPv6 type
   240    * \brief Set the filter to block one ICMPv6 type
   241    * \param the ICMPv6 type to block
   241    * \param type the ICMPv6 type to block
   242    */
   242    */
   243   void Icmpv6FilterSetBlock(uint8_t type);
   243   void Icmpv6FilterSetBlock(uint8_t type);
   244 
   244 
   245   /**
   245   /**
   246    * \brief Ask the filter about the status of one ICMPv6 type
   246    * \brief Ask the filter about the status of one ICMPv6 type
   247    * \param the ICMPv6 type
   247    * \param type the ICMPv6 type
   248    * \return true if the ICMP type is passing through
   248    * \return true if the ICMP type is passing through
   249    */
   249    */
   250   bool Icmpv6FilterWillPass(uint8_t type);
   250   bool Icmpv6FilterWillPass(uint8_t type);
   251 
   251 
   252   /**
   252   /**
   253    * \brief Ask the filter about the status of one ICMPv6 type
   253    * \brief Ask the filter about the status of one ICMPv6 type
   254    * \param the ICMPv6 type
   254    * \param type the ICMPv6 type
   255    * \return true if the ICMP type is being blocked
   255    * \return true if the ICMP type is being blocked
   256    */
   256    */
   257   bool Icmpv6FilterWillBlock(uint8_t type);
   257   bool Icmpv6FilterWillBlock(uint8_t type);
   258 
   258 
   259 
   259 
   317   /**
   317   /**
   318    * \brief Struct to hold the ICMPv6 filter
   318    * \brief Struct to hold the ICMPv6 filter
   319    */
   319    */
   320   typedef struct
   320   typedef struct
   321   {
   321   {
   322     uint32_t icmpv6Filt[8];
   322     uint32_t icmpv6Filt[8]; //!< ICMPv6 filter specification
   323   } icmpv6Filter;
   323   } icmpv6Filter;
   324 
   324 
   325   /**
   325   /**
   326    * \brief ICMPv6 filter.
   326    * \brief ICMPv6 filter.
   327    */
   327    */