This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
OVERVIEW | |
Extract network connection data from Cb Enterprise Response (CbER) based on | |
one or more criteria: | |
- Time (past N minutes, days) | |
- CbER query match |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define DELTA_SWAP(a, b, delta, mask) \ | |
b = (a ^ (a >> delta)) & mask; \ | |
a = a ^ b ^ (b << delta); |