diff options
Diffstat (limited to 'rdns_scan/zmap4rdns/src/validate.h')
| -rw-r--r-- | rdns_scan/zmap4rdns/src/validate.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/rdns_scan/zmap4rdns/src/validate.h b/rdns_scan/zmap4rdns/src/validate.h new file mode 100644 index 0000000..0ed8078 --- /dev/null +++ b/rdns_scan/zmap4rdns/src/validate.h @@ -0,0 +1,21 @@ +/* + * ZMap Copyright 2013 Regents of the University of Michigan + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy + * of the License at http://www.apache.org/licenses/LICENSE-2.0 + */ + +#ifndef VALIDATE_H +#define VALIDATE_H + +#define VALIDATE_BYTES 16 + +void validate_init(); +void validate_gen(const uint32_t src, const uint32_t dst, + uint8_t output[VALIDATE_BYTES]); +void validate_gen_ex(const uint32_t input0, const uint32_t input1, + const uint32_t input2, const uint32_t input3, + uint8_t output[VALIDATE_BYTES]); + +#endif //_VALIDATE_H |
