From owner-cvs-src-old@FreeBSD.ORG Thu Apr 1 20:24:06 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43140106564A for ; Thu, 1 Apr 2010 20:24:06 +0000 (UTC) (envelope-from qingli@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 31BEF8FC1A for ; Thu, 1 Apr 2010 20:24:06 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o31KO6fL006938 for ; Thu, 1 Apr 2010 20:24:06 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o31KO6sq006937 for cvs-src-old@freebsd.org; Thu, 1 Apr 2010 20:24:06 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <201004012024.o31KO6sq006937@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Thu, 1 Apr 2010 20:23:43 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/net flowtable.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2010 20:24:06 -0000 qingli 2010-04-01 20:23:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/net flowtable.c Log: SVN rev 206055 on 2010-04-01 20:23:43Z by qingli MFC 205077 The flow-table module retrieves the destination and source address as well as the transport protocol port information from the outbound packets. The routing code is generic and compares every byte in the given sockaddr object. Therefore the temporary sockaddr objects must be cleared due to padding bytes. In addition, the port information must be stripped or the route search will either fail or return the incorrect route entry. Unit testing is done using OpenVPN over the if_tun interface. Revision Changes Path 1.15.2.12 +13 -0 src/sys/net/flowtable.c