[Xorp-hackers] [greearb/xorp.ct] b8e926: fea: Auto-create mcast socket if none exist.

noreply at github.com noreply at github.com
Mon Oct 3 17:11:16 PDT 2011


  Branch: refs/heads/master
  Home:   https://github.com/greearb/xorp.ct

  Commit: b8e92623c28d71d04a1eedae87e7fef8cff2a794
      https://github.com/greearb/xorp.ct/commit/b8e92623c28d71d04a1eedae87e7fef8cff2a794
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-10-03 (Mon, 03 Oct 2011)

  Changed paths:
    M xorp/fea/data_plane/io/io_ip_socket.cc

  Log Message:
  -----------
  fea: Auto-create mcast socket if none exist.

Linux uses one socket per interface, but BSD cannot do that.
This code path has probably just never been tested since I
added the linux one-socket logic years ago.  I see no reason
to not auto-create the socket as needed on BSD.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: fa5cebaf71a00d65dffb3249cc88a7ba641013a7
      https://github.com/greearb/xorp.ct/commit/fa5cebaf71a00d65dffb3249cc88a7ba641013a7
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-10-03 (Mon, 03 Oct 2011)

  Changed paths:
    M xorp/site_scons/config/allconfig.py

  Log Message:
  -----------
  bsd/mcast: Properly detect support for IPv6 multicast routing.

Need to conditionally include if_vars.h in the config checks,
as netbsd doesn't have that file.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: a9f4e3dae366d3156c03df93d885df4df49774be
      https://github.com/greearb/xorp.ct/commit/a9f4e3dae366d3156c03df93d885df4df49774be
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-10-03 (Mon, 03 Oct 2011)

  Changed paths:
    M xorp/fea/data_plane/fibconfig/fibconfig_entry_set_routing_socket.cc

  Log Message:
  -----------
  bsd: Fix assert when using ipv6 mcast routing.

The IPvX code will throw an exception if you pass it the wrong type of
struct for it's family, so do some explicit casting.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 29ba22af87d62405bb5143b6b8fe7a01ec30d85b
      https://github.com/greearb/xorp.ct/commit/29ba22af87d62405bb5143b6b8fe7a01ec30d85b
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-10-03 (Mon, 03 Oct 2011)

  Changed paths:
    M xorp/fea/data_plane/io/io_ip_socket.cc
  M xorp/fea/mfea_mrouter.cc

  Log Message:
  -----------
  bsd/fea: Add some debugging for ipv6 mcast socket failures.

Seems ipv6 mcast ADD_MIF sockopt fails about 1/2 of
the time, not sure why.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 7735f61fc3aa759b20bc10787f189cb452154a36
      https://github.com/greearb/xorp.ct/commit/7735f61fc3aa759b20bc10787f189cb452154a36
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-10-03 (Mon, 03 Oct 2011)

  Changed paths:
    M xorp/RELEASE_NOTES

  Log Message:
  -----------
  rls-notes:  Note limited netbsd support for ipv6 mcast.
Signed-off-by: Ben Greear <greearb at candelatech.com>


Compare: https://github.com/greearb/xorp.ct/compare/92998c5...7735f61



More information about the Xorp-hackers mailing list