Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2009 00:27:28 +0000 (UTC)
From:      Qing Li <qingli@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netinet in.c src/sys/netinet6 in6.c
Message-ID:  <200901042349.n04NnH19084224@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
qingli      2009-01-03 00:27:28 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in.c 
    sys/netinet6         in6.c 
  Log:
  SVN rev 186708 on 2009-01-03 00:27:28Z by qingli
  
  Some modules such as SCTP supplies a valid route entry as an input argument
  to ip_output(). The destionation is represented in a sockaddr{} object
  that may contain other pieces of information, e.g., port number. This
  same destination sockaddr{} object may be passed into L2 code, which
  could be used to create a L2 entry. Since there exists a L2 table per
  address family, the L2 lookup function can make address family specific
  comparison instead of the generic bcmp() operation over the entire
  sockaddr{} structure.
  
  Note in the IPv6 case the sin6_scope_id is not compared because the
  address is currently stored in the embedded form inside the kernel.
  The in6_lltable_lookup() has to account for the scope-id if this
  storage format were to change in the future.
  
  Revision  Changes    Path
  1.115     +2 -1      src/sys/netinet/in.c
  1.94      +15 -36    src/sys/netinet6/in6.c



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