Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 1998 17:19:28 -0700 (PDT)
From:      John Birrell <jb@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG
Subject:   cvs commit: src/sbin/ping ping.c
Message-ID:  <199805160019.RAA14626@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jb          1998/05/15 17:19:28 PDT

  Modified files:
    sbin/ping            ping.c 
  Log:
  When a timeval is stored at the beginning of icmp_data, the fields
  are unaligned for access by the alpha, so copy the value to a variable
  that is aligned.
  
  When checking the returned data, be careful to avoid confusing the
  size of the icmp header with the size of a timeval. On i386 these
  are both 8, but on alpha, a timeval is 16 bytes. This means that
  a packet sent from an alpha contains 48 bytes of data, not 56 like
  on i386.
  
  Revision  Changes    Path
  1.34      +27 -14    src/sbin/ping/ping.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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