From owner-freebsd-net@FreeBSD.ORG Tue Jan 12 04:56:34 2010 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 A7C63106566C for ; Tue, 12 Jan 2010 04:56:34 +0000 (UTC) (envelope-from gigabyte.tmn@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 351C88FC12 for ; Tue, 12 Jan 2010 04:56:33 +0000 (UTC) Received: by ewy5 with SMTP id 5so11398858ewy.14 for ; Mon, 11 Jan 2010 20:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:reply-to:from:to :references:subject:date:organization:mime-version:content-type :content-transfer-encoding:x-priority:x-msmail-priority:x-mailer :x-mimeole; bh=Wac6NEXK/KI2xi1+vSXMKtEzw75a6zTDFWMCXUlRVsU=; b=eujiMsvOVD8VAjLwPtbqS1hvuZMhpUtOEj/Rf3klvnmeiLYYuYHehRURC8vgc8Paha nn/y3CKBEhzqy6Ln3Zye4mLkf4C1ssIyC+8rLkeENsph0MwMiHtJifcTdYlwCGg7K55d Qz+IUEbInDajq6B8u5l6s/XXCxDZfssybBNnk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:reply-to:from:to:references:subject:date:organization :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:x-mailer:x-mimeole; b=Wt/FgdPhHdFbEv3qxnYlDUtgzQ+GFMVu7qWIh2oGNM51euUNa80EVzUNxja2VTaqt4 nxt03kmrRoTZXN5bI/QmviUcgs2NDqhlTJojBh2hWeZmqDBuzJ75DPfYVkCcyGrjgxl3 W3uYA4fKYkzlNqhNxm1X8ItLkJ+9WERtnMFW8= Received: by 10.213.110.206 with SMTP id o14mr7572619ebp.6.1263272184292; Mon, 11 Jan 2010 20:56:24 -0800 (PST) Received: from dm ([91.211.192.210]) by mx.google.com with ESMTPS id 23sm7656542eya.35.2010.01.11.20.56.21 (version=SSLv3 cipher=RC4-MD5); Mon, 11 Jan 2010 20:56:22 -0800 (PST) Message-ID: From: "Dmitriy Zamuraev" To: References: Date: Tue, 12 Jan 2010 09:56:21 +0500 Organization: Netline NSP MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5503 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5503 Subject: Re: ng_patch node X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitriy Zamuraev List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 04:56:34 -0000 > Hi, > I've written netgraph node able to modify arbitrary (8|16|32)-bit > unsigned integer in passing packets. Node applies one of =,+,-,&,| and > ^ operations to number at given offset. Thank you. I think about more functionality...