zmap-freebsd/src/cyclic.h

26 lines
632 B
C
Raw Normal View History

2013-08-16 15:12:47 +00:00
/*
* 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
*/
#include <stdint.h>
2013-08-26 16:26:01 +00:00
#ifndef CYCLIC_H
#define CYCLIC_H
2013-08-16 15:12:47 +00:00
int cyclic_init(uint32_t, uint32_t);
// get next IP address to scan
uint32_t cyclic_get_next_ip(void);
// what IP address was returned last
uint32_t cyclic_get_curr_ip(void);
// what primitive root was generated for this current scan
uint32_t cyclic_get_primroot(void);
#endif