From owner-freebsd-net@freebsd.org Fri Jan 8 18:35:51 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0795A67540 for ; Fri, 8 Jan 2016 18:35:51 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5F1918D2 for ; Fri, 8 Jan 2016 18:35:51 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: by mail-ig0-x232.google.com with SMTP id z14so81210092igp.0 for ; Fri, 08 Jan 2016 10:35:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EbvISzAXAscv+TUxmSucB8lgExE1y8xvSJL2eIMHPC4=; b=JRH52BjyV9qzrz3klm437oOgwh9MHjyBfY8rj0DuQv11nHCsv2ZxKX3uzT45Imcuq9 zxPdpTphDbGJu0wRxKy+nDRXuqArq+sD9YKYziKkX1jXchDWUSWi9daRJikkGvT+6t9V j2/pi8oaL3q+mj33+rpaPNcuYPyQCSWIo5DvMheuMh01/QdH2zv7eqUUloQmOPjvlEmO eghjFXvknHiQEYiOjVDjkSwyN+OZM3KxfV4XLEUrxn5kuh73ZXoIShNeKhLOF/j+clIo hWCSJrJWrK0U5r2pupZXPRaZ44b5bZOF0FZgFqAKMequko+0yLobjQzv0rpiT2S0OlPF on9w== MIME-Version: 1.0 X-Received: by 10.50.30.166 with SMTP id t6mr358651igh.15.1452278151103; Fri, 08 Jan 2016 10:35:51 -0800 (PST) Received: by 10.79.36.79 with HTTP; Fri, 8 Jan 2016 10:35:51 -0800 (PST) Date: Fri, 8 Jan 2016 21:35:51 +0300 Message-ID: Subject: Netmap software interface mirror / netmap monitor From: Pavel Odintsov To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 18:35:52 -0000 Hello, Dear Community! I'm working with netmap and my application uses netmap for traffic capture. It's works really well. But I need some way to feed same data from physical interface to two or more applications. I have found this code https://github.com/luigirizzo/netmap/blob/master/sys/dev/netmap/netmap_monitor.c but could not find any docs about it. Could you help me with examples and use cases? -- Sincerely yours, Pavel Odintsov