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

Andre Oppermann andre at FreeBSD.org
Tue Apr 4 20:07:24 UTC 2006


andre       2006-04-04 20:07:24 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              route.h rtsock.c 
  Log:
  MFC route.h rev. 1.65 and rtsock.c rev. 1.133:
  
    - 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.
  
  Approved by:    re
  
  Revision   Changes    Path
  1.63.2.1   +7 -1      src/sys/net/route.h
  1.123.2.7  +8 -0      src/sys/net/rtsock.c


More information about the cvs-src mailing list