fixing header guards close issue #48
This commit is contained in:
parent
853524c2ae
commit
0d3ad52ee0
@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifndef _AESRAND_H
|
#ifndef AESRAND_H
|
||||||
#define _AESRAND_H
|
#define AESRAND_H
|
||||||
|
|
||||||
void aesrand_init(uint32_t seed);
|
void aesrand_init(uint32_t seed);
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifndef _CYCLIC_H
|
#ifndef CYCLIC_H
|
||||||
#define _CYCLIC_H
|
#define CYCLIC_H
|
||||||
|
|
||||||
int cyclic_init(uint32_t, uint32_t);
|
int cyclic_init(uint32_t, uint32_t);
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _GET_GATEWAY_H
|
#ifndef GET_GATEWAY_H
|
||||||
#define _GET_GATEWAY_H
|
#define GET_GATEWAY_H
|
||||||
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _MONITOR_H
|
#ifndef MONITOR_H
|
||||||
#define _MONITOR_H
|
#define MONITOR_H
|
||||||
|
|
||||||
void monitor_run();
|
void monitor_run();
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HEADER_OUTPUT_MODULES_H
|
#ifndef OUTPUT_MODULES_H
|
||||||
#define HEADER_OUTPUT_MODULES_H
|
#define OUTPUT_MODULES_H
|
||||||
|
|
||||||
#include "../state.h"
|
#include "../state.h"
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
#include <netinet/ip_icmp.h>
|
#include <netinet/ip_icmp.h>
|
||||||
#include <netinet/udp.h>
|
#include <netinet/udp.h>
|
||||||
|
|
||||||
#ifndef HEADER_ZMAP_PACKET_H
|
#ifndef PACKET_H
|
||||||
#define HEADER_ZMAP_PACKET_H
|
#define PACKET_H
|
||||||
|
|
||||||
#define MAX_PACKET_SIZE 4096
|
#define MAX_PACKET_SIZE 4096
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "../state.h"
|
#include "../state.h"
|
||||||
|
|
||||||
#ifndef HEADER_PROBE_MODULES_H
|
#ifndef PROBE_MODULES_H
|
||||||
#define HEADER_PROBE_MODULES_H
|
#define PROBE_MODULES_H
|
||||||
|
|
||||||
typedef struct probe_response_type {
|
typedef struct probe_response_type {
|
||||||
const uint8_t is_success;
|
const uint8_t is_success;
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _RECV_H
|
#ifndef RECV_H
|
||||||
#define _RECV_H
|
#define RECV_H
|
||||||
|
|
||||||
int recv_update_pcap_stats(void);
|
int recv_update_pcap_stats(void);
|
||||||
int recv_run(pthread_mutex_t *recv_ready_mutex);
|
int recv_run(pthread_mutex_t *recv_ready_mutex);
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SEND_H
|
#ifndef SEND_H
|
||||||
#define _SEND_H
|
#define SEND_H
|
||||||
|
|
||||||
int send_init(void);
|
int send_init(void);
|
||||||
int send_run(void);
|
int send_run(void);
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
#include <netinet/ether.h>
|
#include <netinet/ether.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
|
||||||
#ifndef _STATE_H
|
#ifndef STATE_H
|
||||||
#define _STATE_H
|
#define STATE_H
|
||||||
|
|
||||||
#define MAX_PACKET_SIZE 4096
|
#define MAX_PACKET_SIZE 4096
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _VALIDATE_H
|
#ifndef VALIDATE_H
|
||||||
#define _VALIDATE_H
|
#define VALIDATE_H
|
||||||
|
|
||||||
#define VALIDATE_BYTES 16
|
#define VALIDATE_BYTES 16
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user