From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emmanuel Guiton Subject: Port information. Date: Mon, 19 Jan 2004 20:52:44 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <400C277C.8030504@netlab.hut.fi> Reply-To: emmanuel@netlab.hut.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: netfilter-devel Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hi! I'm creating a target for which I specify "-p tcp --dport XX" from the user-space program. How can I know the port number from the check function in the target? Where is it stored? I guess I can't access it via the "const struct ipt_entry *e". Emmanuel