types.h 355 B

1234567891011121314
  1. #ifndef ZMAP_TYPES_H
  2. #define ZMAP_TYPES_H
  3. #include <stdint.h>
  4. #include <stdint.h>
  5. typedef uint32_t ipaddr_n_t; // IPv4 address network order
  6. typedef uint32_t ipaddr_h_t; // IPv4 address host order
  7. typedef uint16_t port_n_t; // port network order
  8. typedef uint16_t port_h_t; // port host order
  9. typedef unsigned char macaddr_t;
  10. #endif /* ZMAP_TYPES_H */