From owner-freebsd-net@FreeBSD.ORG Tue Jun 8 23:20:08 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 100D816A4CE for ; Tue, 8 Jun 2004 23:20:08 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B9CB43D53 for ; Tue, 8 Jun 2004 23:20:07 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i58NH3AT002098 for net@FreeBSD.org.checked; (8.12.8/vak/2.1) Wed, 9 Jun 2004 03:17:03 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (rik.cronyx.ru [172.22.4.1]) by hanoi.cronyx.ru with ESMTP id i58NGoS5002085 for ; (8.12.8/vak/2.1) Wed, 9 Jun 2004 03:16:51 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <40C6477C.1000101@cronyx.ru> Date: Wed, 09 Jun 2004 03:10:52 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: net@FreeBSD.org References: <200406082116.i58LGg2M086150@repoman.freebsd.org> In-Reply-To: <200406082116.i58LGg2M086150@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: src/sys/net bpf.h X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 23:20:08 -0000 This commit reminded me one of my old ideas. Why not to make some function that allow to change DLT on the fly? Sync adapters can work with various types of protocols and protocol can be changed on the fly. Now we have to use DLT_NULL in such case and this strips functionality. rik David Malone: >dwmalone 2004-06-08 21:16:42 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_4) > sys/net bpf.h > Log: > MFC: Make the comment for DLT_NULL slightly more accurate. > > Revision Changes Path > 1.21.2.5 +1 -1 src/sys/net/bpf.h > > > >