cvs commit: src/sys/netinet

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Aug 26 14:21:54 PDT 2004


dillon      2004/08/26 14:21:46 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_output.c 
  Log:
  Bring in FreeBSD/1.218.
  >date: 2004/05/11 19:14:44;  author: maxim;  state: Exp;  lines: +1 -1
  >o Calculate a number of bytes to copy (cnt) correctly:
  >
  >  +----+-+-+-+-+----+----+- - - - - - - - - - - -  -+----+
  >  |    | |C| | |    |    |                          |    |
  >  | IP |N|O|L|P|    | IP |                          | IP |
  >  | #1 |O|D|E|T|    | #2 |                          | #n |
  >  |    |P|E|N|R|    |    |                          |    |
  >  +----+-+-+-+-+----+----+- - - - - - - - - - - -  -+----+
  >               ^    ^<---- cnt - (IPOPT_MINOFF - 1) ---->|
  >               |    |
  >src            |    +-- cp[IPOPT_OFF + 1] + sizeof(struct in_addr)
  >               |
  >dst            +-- cp[IPOPT_OFF + 1]
  >
  >PR:             kern/66386
  >Submitted by:   Andrei Iltchenko
  
  Revision  Changes    Path
  1.20      +2 -2      src/sys/netinet/ip_output.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_output.c.diff?r1=1.19&r2=1.20&f=u





More information about the Commits mailing list