Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 18:56:24 -0800 (PST)
From:      Garrett Wollman <wollman@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/net if.h
Message-ID:  <199801130256.SAA22814@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

wollman     1998/01/12 18:56:23 PST

  Modified files:
    sys/net              if.h 
  Log:
  Add a macro to accurately calculate the length of a struct ifreq when
  it contains an address.  This can replace all the myriad (wrong) ways
  in which this task is performed in the current system.  As an added
  bonus, since it's a macro, then third-party software vendors have an easy
  way to tell whether it's there or not.  (This will become necessary
  when sizeof(struct sockaddr) is increaased, and also when additional
  fields are added to struct ifreq.)
  
  Revision  Changes    Path
  1.48      +6 -1      src/sys/net/if.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801130256.SAA22814>