1. 24 Nov, 2016 1 commit
  2. 16 Nov, 2016 2 commits
  3. 15 Nov, 2016 6 commits
  4. 14 Nov, 2016 4 commits
    • Constantin Rack's avatar
      Merge pull request #2210 from bluca/ipv6_tos_v4_only · b9b0fd87
      Constantin Rack authored
      Problem: IPV6_TCLASS setsockopt fails on IPv4 socket
      b9b0fd87
    • Luca Boccassi's avatar
      Problem: IPV6_TCLASS setsockopt fails on IPv4 socket · 90f091ab
      Luca Boccassi authored
      Solution: if setsockopt errors out and errno is set to ENOPROTOOPT
      (or EINVAL on OSX) ignore it and carry on.
      90f091ab
    • Luca Boccassi's avatar
      Merge pull request #2209 from saifhhasan/master · bc186043
      Luca Boccassi authored
      Make ZMQ_TOS work with IPv6 sockets
      bc186043
    • Saif Hasan's avatar
      Make ZMQ_TOS work with IPv6 sockets · fc8007e8
      Saif Hasan authored
      Summary:
      To set `Type Of Service` for IP layer packets ZMQ provides `ZMQ_TOS` socket
      option. However this only works for v4 sockets. Considering things are moving to
      IPv6 heavily (especially within enterprise networks), ZMQ should support setting
      `traffic class` for v6 based on `ZMQ_TOS`.
      
      There is a subtle difference between v4 and v6 in terms of the positioning of
      field but TOS has same meaning in both v4 and v6. Linux provides following APIs
      for v4/v6 to set TOS field value.
      ```
      // For v4
      setsockopt(fd, IPPROTO_IP, IP_TOS, tos, sizeof(tos));
      
      // For v6
      setsockopt(fd, IPPROTO_IPV6, IPV6_TCLASS, tos, sizeof(tos));
      ```
      
      Test Plan:
      Make sure Cmake works fine and all tests passes.
      Imported this change to `OpenR` project and tested on our local testbed.
      Captured some packets exchanged between PUB/SUB and ROUTER/ROUTER sockets
      pairs. Verify that `TCLASS` value is set as per expectation.
      
      Tasks: #2208
      fc8007e8
  5. 12 Nov, 2016 2 commits
  6. 10 Nov, 2016 1 commit
    • Luca Boccassi's avatar
      Problem: linker fails looking for dladdr · 1b3fcbd3
      Luca Boccassi authored
      Solution: search and add it via AC_CHECK_LIB when building with
      libunwind, as the backtrace function uses dladdr. This problem
      only appears on some distributions and with some compiler/toolchain
      versions.
      1b3fcbd3
  7. 08 Nov, 2016 1 commit
  8. 07 Nov, 2016 2 commits
  9. 06 Nov, 2016 4 commits
  10. 05 Nov, 2016 5 commits
  11. 04 Nov, 2016 9 commits
  12. 02 Nov, 2016 3 commits