blob: 0d86a8a81647033705495f613e84e03cbd328a0f (
plain)
1 #include <stdlib.h>
2 #include <stdio.h>
3 #include <string.h>
4 #include "common.h"
5
6 typedef struct {
7 int octets[4];
8 } ipv4;
9
10 unsigned int ipv4_to_int(ipv4*);
11 ipv4 str_to_ipv4(char*);
12 void ipv4_to_str(ipv4*, char*);
13 void ipv4_inc(ipv4*);
|