From owner-freebsd-net@FreeBSD.ORG Sat Sep 20 08:13:50 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 2F8D57D5 for ; Sat, 20 Sep 2014 08:13:50 +0000 (UTC) Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E60EACF4 for ; Sat, 20 Sep 2014 08:13:49 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id x13so4192279qcv.24 for ; Sat, 20 Sep 2014 01:13:49 -0700 (PDT) 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=lacxpD4pg50E02VmiFBe26FtHPFKjGTfvPSH0G0r6No=; b=NtwoLNiX0wc9KyPI/FRFy4EI+3+fqLfRgPkldRRvzAJhflPCWi1iF3CgTKolTtSk4Z F8C/0JtGTWlc8zoBTERsT1kdWwr4W7/r71Lon3eLIPcwIhLiuZFQ+7KN5xIi/Cs4X0bC MtiY1s1oAtlub8LK/VtWD+chYL1GQ8DiPa0GHF5yAiOAOSjdApiXgYJPmJuNCoOw17Uo VmeF38e1+tDXQOhPVR3wqLPf6hCdz19f2MnefZ+DIAk0db7UyOfbZYOs2AgtXAE3I58m ifHzAhVQL4T/dcqPE1hZnpcfCtjjMzkNZuf1rZ9kX0xDYU6J2gXKlhQLHnnREVbkMLrv /1Og== MIME-Version: 1.0 X-Received: by 10.224.20.9 with SMTP id d9mr6955559qab.7.1411200829065; Sat, 20 Sep 2014 01:13:49 -0700 (PDT) Received: by 10.229.234.194 with HTTP; Sat, 20 Sep 2014 01:13:49 -0700 (PDT) Date: Sat, 20 Sep 2014 11:43:49 +0330 Message-ID: Subject: timestamping by netmap's drivers From: Mahnaz Talebi To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-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: Sat, 20 Sep 2014 08:13:50 -0000 Hi, I want to timestamp generated packets by netmap-pktgen in order to compute delay of receiving packets. Is it possible? =D9=90Does netmap-drivers and its API support this? Does anyone have any advice to do this? >I use your netmap pkt-gen for testing my applications and thanks you for >your great nice work. >I want to modify (if I can!) your pkt-gen such that I can insert timestamp= s >in udp packets in order to find delay of receiving packets (that forward >from my DUT). >?Do you have any suggestion to me to do this work? >Thanks in advance.