Date: Tue, 28 Jul 2009 17:16:54 +0000 (UTC) From: Qing Li <qingli@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if_ethersubr.c Message-ID: <200907281717.n6SHH2Le010782@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
qingli 2009-07-28 17:16:54 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: SVN rev 195921 on 2009-07-28 17:16:54Z by qingli The new flow table caches both the routing table entry as well as the L2 information. For an indirect route the cached L2 entry contains the MAC address of the gateway. Typically the default route is used to transmit multicast packets when explicit multicast routes are not available. The ether_output() function bypasses L2 resolution function if it verifies the L2 cache is valid, because the cached L2 address (a unicast MAC address) is copied into the packets as the destination MAC address. This validation, however, does not apply to broadcast and multicast packets because the destination MAC address is mapped according to a standard method instead. Submitted by: Xin Li Reviewed by: bz Approved by: re Revision Changes Path 1.269 +2 -1 src/sys/net/if_ethersubr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907281717.n6SHH2Le010782>