From owner-freebsd-net@FreeBSD.ORG Wed Jul 16 17:49:15 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DC709E7 for ; Wed, 16 Jul 2014 17:49:15 +0000 (UTC) Received: from a0i308.smtpcorp.com (a0i308.smtpcorp.com [216.22.15.140]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46E9020E5 for ; Wed, 16 Jul 2014 17:49:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0_1; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=KBje91U65J0aG7v2c7k8uZWFxq4bq0k8bWYVQQkrEOg=; b=HmIT+kA+XRsKXKT7Q+tBu97sGWUjDM8Id+50qJiUhM2VwYkb0zkLxHCc1ef/7Sqhxlnx9EMzztcB0EdbulgAHHTTGl3XrLh7wN1BDiaIrHvNNvalWtOKQUv9E3bReHuGXEbNegNejE2g2midku372EeZMMt49hlZFGfqnVUhxbo=; From: Daniel Corbe To: freebsd-net@freebsd.org Subject: netmap, selective processing. Date: Wed, 16 Jul 2014 13:48:58 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Smtpcorp-Track: 1b7TKF4gfGnzGx.xrsSmHQbq X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2014 17:49:15 -0000 I hope this it the right place to ask questions about netmap. I'm toying with the idea of writing a netmap-based OSPF implementation because bird's OSPF implementation isn't as good as its BGP implementation, quagga doesn't scale well and openospfd doesn't compile on 10-RELEASE or CURRENT. But I'm only interested in selectively processing packets on the netmap-enabled interface. Is there a way to do this? Or alternatively if I throw the IF into netmap mode, can I process what I'm interested in processing and then somehow throw the rest of the traffic back up to the host's IP stack?