26 lines
634 B
C
26 lines
634 B
C
/*
|
|
* 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>
|
|
|
|
#ifndef _CYCLIC_H
|
|
#define _CYCLIC_H
|
|
|
|
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
|