From owner-freebsd-net@freebsd.org Wed Jun 15 09:01:33 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 A2627A13869 for ; Wed, 15 Jun 2016 09:01:33 +0000 (UTC) (envelope-from ibk@labhijau.net) Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (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 6D02419D1 for ; Wed, 15 Jun 2016 09:01:33 +0000 (UTC) (envelope-from ibk@labhijau.net) Received: by mail-qk0-x234.google.com with SMTP id s186so12507081qkc.1 for ; Wed, 15 Jun 2016 02:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=labhijau-net.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=dvaqHX4IbdMRWAmYXL0tcjObFp3G21jYy7PR6hapuNo=; b=o/YrRvIeijnpZh034Yvar4xs2kEdRKRpDJJCjpujKAbJkjl6+uwdS2XynqsCKmenw8 yszx2jGeFK04Abiy8SlYcYlUiUmE9Dd5hRTMqjIoNCTaBNj3f6mWX84yRo/2drprRXjw rZqiJpYFDENspfo66+01W+QdPFIQjskDHmeKU9lSXPcUmgej/LxB/qYpLLcQOyFjgU2d Rf/hjukQf5NiaxBRpEY/DoQmmy0CWJK75onjEz5VILJBVASfCs6NLiVjkaL82xFbQnoZ Hthruamag4uXun5BHwVsh67fa8e5H2jPztydNqbNzMnRAjpDUz0+EpZnUR86FZS2aUFA gRaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=dvaqHX4IbdMRWAmYXL0tcjObFp3G21jYy7PR6hapuNo=; b=NeGEmwKXex/i8+QqspuebDdiHnYOsMmmghlVMhGuVpoOjaNiwlnZQPx4cSYfcmY6DS PfZgXw20YAkB1Ksdw8ajSo4htQqVraijaXo19Aj4nyd3m+1jgUuSGnnePVGnnU8fypLt fI2c034b2I4lCK8/UNuOMn92rGpCOZ0n19zsHv8wp8p5c+JRAyhByuC4zlxzoC0kZqaJ RSLcJk3EHlOp13TDpnEqFv/0ns31loWirEZ75uNYShytaWx0lUxIimrQxvbZYsMCTpew kZNx+Mon3YmmpnIwBe2qIcMPleiUX/PTmOmsa32jqc3ICigjhPnvKB7LNRnjDXZZaY3T TSXQ== X-Gm-Message-State: ALyK8tLSWotHALHPHBFFTGIzMCM1/GAoHYaGPwFeFXDKrF8ioW/e0yCHL3Oxaqa1PnjJ9QQzTKbzuywQ+NE0+A== MIME-Version: 1.0 X-Received: by 10.55.162.68 with SMTP id l65mr24815235qke.5.1465981292532; Wed, 15 Jun 2016 02:01:32 -0700 (PDT) Received: by 10.55.78.150 with HTTP; Wed, 15 Jun 2016 02:01:32 -0700 (PDT) X-Originating-IP: [180.253.25.48] Date: Wed, 15 Jun 2016 16:01:32 +0700 Message-ID: Subject: specify destination when using netmap From: Iwan Budi Kusnanto To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 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, 15 Jun 2016 09:01:33 -0000 Hi all, I am just learning netmap these last few days and wrote some simple receiver & sender based on example from https://www.freebsd.org/cgi/man.cgi?query=netmap&sektion=4. And then i just realized that the sender doesn't specify the destination address, neither mac or IP address. It only specify the interface to use. Same case with pkt-gen example. So, how we specify the destination address? -- Iwan Budi Kusnanto