Skip to content

EOS SDK v2.22.5.1 (EOS 4.31.2F)

Compare
Choose a tag to compare
@ruferp ruferp released this 17 Feb 07:04
· 6 commits to master since this release

Resources

Features

  • sdk

    • New interface counter manager option, to allow clamping down on keyshadow mounts when not necessary.

      • intf_counter_mgr * get_intf_counter_mgr_with_mode(mgr_mode_type_t mode)
        Mode is read-only/read-notifying/write; default is read-only (same as get_intf_counter_mgr(); once mode is set cannot be changed).
    • Contructors and copy assignment are no longer inlined -> new files xxx_gen.cpp. This was needed because the internal implementation now uses more efficient data structures and a special "ArSlab" allocator. This also means thatnthe memory allocations are tracked and visible via the "show memory allocation" Cli command.

  • policy_map

    • types/policy_map.h
      • traffic_policy_action_t

        • getter & setter for counter_name
          • std::string counter_name()
          • void counter_name_is(std::string const & counter_name)
      • traffic_policy_t

        • getter & setter for named_counters:
          • std::unordered_set<std::string> const & named_counters()
          • void named_counters_is(std::unordered_set<std::string> const & named_counters)
        • insert/delete counters from list:
          • void named_counter_set(std::string const & value)
          • void named_counter_del(std::string const & value)
  • ip_route

    • types/ip_route.h
      • ip_route_key_t
        • setter for address family of the route_key_t prefix:
          • af_t af()
      • ip_route_t
        • setter for the address family of the route_key_t prefix:
          • af_t af()

Bug fixes

  • As of 6th June 2024: Makefile.am now includes -DTRAFFIC_POLICY_ENABLED
    This resolves an ABI compatibility problem with the eos::policy_map_handler vtable between the user built stubbed libeos.so and the libeos.so shipped with EOS.