cvs commit: src/sys/netinet udp_usrreq.c

Bruce M Simpson bms at FreeBSD.org
Wed Nov 12 12:17:12 PST 2003


bms         2003/11/12 12:17:12 PST

  FreeBSD src repository

  Modified files:
    sys/netinet          udp_usrreq.c 
  Log:
  Add a new sysctl knob, net.inet.udp.strict_mcast_mship, to the udp_input path.
  
  This switch toggles between strict multicast delivery, and traditional
  multicast delivery.
  
  The traditional (default) behaviour is to deliver multicast datagrams to all
  sockets which are members of that group, regardless of the network interface
  where the datagrams were received.
  
  The strict behaviour is to deliver multicast datagrams received on a
  particular interface only to sockets whose membership is bound to that
  interface.
  
  Note that as a matter of course, multicast consumers specifying INADDR_ANY
  for their interface get joined on the interface where the default route
  happens to be bound. This switch has no effect if the interface which the
  consumer specifies for IP_ADD_MEMBERSHIP is not UP and RUNNING.
  
  The original patch has been cleaned up somewhat from that submitted. It has
  been tested on a multihomed machine with multiple QuickTime RTP streams
  running over the local switch, which doesn't do IGMP snooping.
  
  PR:             kern/58359
  Submitted by:   William A. Carrel
  Reviewed by:    rwatson
  MFC after:      1 week
  
  Revision  Changes    Path
  1.140     +28 -0     src/sys/netinet/udp_usrreq.c


More information about the cvs-src mailing list