Linux Netfilter discussions
 help / color / mirror / Atom feed
From: aoliva <aoliva@it.uc3m.es>
Cc: netfilter@lists.netfilter.org
Subject: Re: How to know inside a match which chain is calling
Date: Tue, 17 Oct 2006 13:16:06 +0200	[thread overview]
Message-ID: <4534BB76.7060500@it.uc3m.es> (raw)
In-Reply-To: <2FEE63312285CF428A8480B07AC1C359036187D0@CHN-SNR-MBX01.wipro.com>

Dear Anisha,
Sorry for being unspecific. I have implemented a match, this match is 
called in the chains OUTPUT and INPUT. I would like to know a way of 
accessing an structure or calling a function or something similar in 
order to be able of doing a switch inside the match changing the 
behaviour if the match is called from OUTPUT or INPUT.

Thank you very much
Regards
Antonio

anisha.chandrasekaran@wipro.com wrote:
> Can you be a little more specific on what you have asked.
>
> Is it that you want to know how to develop a new match??? Something like
> a "state" or "conntrack" that has already been developed
>
>
>  Regards,
>
> Anisha Chandrasekaran
> Email : anisha.chandrasekaran@wipro.com 
>  
>         
>
> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org
> [mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of aoliva
> Sent: Tuesday, October 17, 2006 2:27 PM
> To: netfilter@lists.netfilter.org
> Subject: How to know inside a match which chain is calling
>
> Hi all, I would like to know a way of programing in a match function a
> way of knowing which is the chain which is calling the match.
>
> Thanks in advance
> Antonio de la Oliva
>
>
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
>
> www.wipro.com
>
>   



  reply	other threads:[~2006-10-17 11:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-17  9:19 How to know inside a match which chain is calling anisha.chandrasekaran
2006-10-17 11:16 ` aoliva [this message]
2006-10-17 11:54   ` Jozsef Kadlecsik
2006-10-17 12:21     ` aoliva
  -- strict thread matches above, loose matches on Subject: below --
2006-10-17 11:23 anisha.chandrasekaran
2006-10-17  8:56 aoliva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4534BB76.7060500@it.uc3m.es \
    --to=aoliva@it.uc3m.es \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox