Skip to content

v0.5.0 Stable

Compare
Choose a tag to compare
@ahuangfeng ahuangfeng released this 06 Aug 08:02
· 66 commits to main since this release
2f93551

Changes

  • Monitoring thread: packets statistics every X seconds if activated
  • Prepend unyte_udp to some functions to avoid conflict with other libraries
  • Prepend unyte_udp to all getters to avoid conflicts
  • Major api changes to avoid conflicts with https-notif upcoming library:
    • Rename queue.h to unyte_udp_queue.h
    • Rename unyte_utils.h to unyte_udp_utils.h
    • Rename unyte_collector.h to unyte_udp_collector.h
    • Rename struct unyte_collector_t to unyte_udp_collector_t
    • Rename struct unyte_options_t to unyte_udp_options_t to avoid conflict with https-notif collector
    • Rename api unyte_start_collector() to unyte_udp_start_collector()
    • Rename queue_t to unyte_udp_queue_t
  • Usage of autotools to package and install
  • Support of IPv6
  • Collector options: port type changed to char *
  • Add new api, message returns sockaddr_storage instead of IP/port
    • struct sockaddr_storage *unyte_udp_get_src(unyte_seg_met_t *message);
    • struct sockaddr_storage *unyte_udp_get_dest_addr(unyte_seg_met_t *message)
  • Add new api, creating a collector from a existing socket:
    • unyte_udp_collector_t *unyte_udp_start_collector_sk(unyte_udp_sk_options_t *options);