cvs commit: src/sys/netinet ip_mroute.c

Jeffrey Hsu hsu at
Tue Aug 5 10:01:34 PDT 2003

hsu         2003/08/05 10:01:33 PDT

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_mroute.c 
  * makes mfc[MFCTBLSIZ] and vif[MAXVIFS] tables accessible via
    - sysctlbyname("net.inet.ip.mfctable", ...)
    - sysctlbyname("net.inet.ip.viftable", ...)
    This change is needed so netstat can use sysctlbyname() to read
    the data from those tables.
    Otherwise, in some cases "netstat -g" may fail to report the
    multicast forwarding information (e.g., if we run a multicast
    router on PicoBSD).
  * Bug fix: when sending IGMPMSG_WRONGVIF upcall to the multicast
    routing daemon, set properly "im->im_vif" to the receiving
    incoming interface of the packet that triggered that upcall
    rather than to the expected incoming interface of that packet.
  * Bug fix: add missing increment of counter "mrtstat.mrts_upcalls"
  * Few formatting nits (e.g., replace extra spaces with TABs)
  Submitted by:   Pavlin Radoslavov <pavlin at>
  Revision  Changes    Path
  1.88      +24 -9     src/sys/netinet/ip_mroute.c

More information about the cvs-src mailing list