| Rule SPD | (global relaxation option): |
| SPD_cache.add (packet.S, packet.); | |
| ce = SPD_cache.get (packet.D); | |
| if (ce != NULL) { | |
| packet. += (C == 0) ? 0: ce.SCount / C; | |
| if (packet. packet.) { | |
| ce.SCount++; | |
| return SUCCEED; | |
| } | |
| } | |
| return FAIL; |
| Rule SPD | (global relaxation option): |
| SPD_cache.add (packet.S, packet.); | |
| ce = SPD_cache.get (packet.D); | |
| if (ce != NULL) { | |
| packet. += (C == 0) ? 0: ce.SCount / C; | |
| if (packet. packet.) { | |
| ce.SCount++; | |
| return SUCCEED; | |
| } | |
| } | |
| return FAIL; |