From mboxrd@z Thu Jan 1 00:00:00 1970 From: ivan Subject: Re: L2 NAT Date: Thu, 4 Dec 2008 13:43:33 -0200 Message-ID: References: <38bcb3ec0812031701k3df95b38y5bf4c77686a2347f@mail.gmail.com> <4937EB6A.9050109@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "James King" , netfilter-devel@vger.kernel.org To: "John Haxby" Return-path: Received: from ey-out-2122.google.com ([74.125.78.26]:56720 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758896AbYLDPnf (ORCPT ); Thu, 4 Dec 2008 10:43:35 -0500 Received: by ey-out-2122.google.com with SMTP id 6so1756650eyi.37 for ; Thu, 04 Dec 2008 07:43:33 -0800 (PST) In-Reply-To: <4937EB6A.9050109@oracle.com> Content-Disposition: inline Sender: netfilter-devel-owner@vger.kernel.org List-ID: Thanks jch, I will try doing this! My module works changing the IP address of a package according to its MAC address, so I would like to add diferents couples while the module is running. Thanks!! On Thu, Dec 4, 2008 at 12:38 PM, John Haxby wrote: > ivan wrote: >> >> I think that your answer is a good approach, but I would like to >> pass/modify the module parameters while this one is running. I believe >> this way allows to the user more flexibility to add/configure the >> module behavior. >> > > You can do that with module parameters, they appears as files in > /sys/module//parameters and, given the right permissions, you > can modify them as you see fit. > > jch >