From owner-freebsd-net@FreeBSD.ORG Mon Aug 27 02:09:22 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F161916A41A for ; Mon, 27 Aug 2007 02:09:22 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from zombie.scms.waikato.ac.nz (mail.scms.waikato.ac.nz [130.217.241.36]) by mx1.freebsd.org (Postfix) with ESMTP id AC6BC13C46C for ; Mon, 27 Aug 2007 02:09:22 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from sorcerer.cs.waikato.ac.nz ([130.217.250.39]) by zombie.scms.waikato.ac.nz with esmtps (TLSv1:AES256-SHA:256) (Exim 4.52) id 1IPTLb-0002wX-1i for freebsd-net@freebsd.org; Mon, 27 Aug 2007 13:24:55 +1200 Message-ID: <46D227E6.9070100@luckie.org.nz> Date: Mon, 27 Aug 2007 13:24:54 +1200 From: Matthew Luckie User-Agent: Thunderbird 2.0.0.6 (X11/20070804) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: BPF divide instruction X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2007 02:09:23 -0000 BPF includes a divide instruction. As best I can tell, libpcap does not ever output a BPF divide instruction, which indicates that use of the BPF divide instruction is probably going to be done with a BPF program created by hand. Can anyone provide any examples of a BPF program where a divide instruction is used? Thanks Matthew