Research Article
En-Route Message Authentication Scheme for Filtering False Data in WSNs
Algorithm 3
Processing of Ta’s expiration.
| /∗ is processing the report R sent by .∗/ | | if ( is the CoS node in R) { | | if (count_i0 ≥ s) return 1; | | } | | else {// is a forwarding node. | | if (count_i1 ≥ s) return 1; | | } | | return 0; |
|