cvs commit: src/sys/net route.h rtsock.c

Andre Oppermann andre at FreeBSD.org
Wed Mar 15 19:39:10 UTC 2006


andre       2006-03-15 19:39:09 UTC

  FreeBSD src repository

  Modified files:
    sys/net              route.h rtsock.c 
  Log:
  - Fill in the correct rtm_index for RTM_ADD and RTM_CHANGE messages.
  
  - Allow RTM_CHANGE to change a number of route flags as specified by
    RTF_FMASK.
  
  - The unused rtm_use field in struct rt_msghdr is redesignated as
    rtm_fmask field to communicate route flag changes in RTM_CHANGE
    messages from userland.  The use count of a route was moved to
    rtm_rmx a long time ago.  For source code compatibility reasons
    a define of rtm_use to rtm_fmask is provided.
  
  These changes faciliate running of multiple cooperating routing
  daemons at the same time without causing undesired interference.
  Open[BGP|OSPF]D make use of these features to have IGP routes
  override EGP ones.
  
  Obtained from:  OpenBSD (claudio@)
  MFC after:      3 days
  
  Revision  Changes    Path
  1.65      +7 -1      src/sys/net/route.h
  1.133     +8 -0      src/sys/net/rtsock.c


More information about the cvs-src mailing list