All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] IMQ mark and iptables mark
Date: Mon, 06 May 2002 16:26:40 +0000	[thread overview]
Message-ID: <marc-lartc-102072278922077@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102067570011487@msgid-missing>

Ciprian Niculescu wrote:
> hy,
> 
> devik said that "iptables -j IMQ" don't do the actual jump but it mark 
> the pachets to do the jump at the end of the table, but for my 
> information, it makes the mark where in the pachet?
> 
> C
> 


IMQ uses an (until then) unused field in struct sk_buff for the marks 
and the device number.

Something unrelated maybe someone can answer:
For reinjecting imq needs to keep struct nf_info, therefor i introduced 
a new field in struct sk_buff (nf_info). I thought about using skb->cb, 
but i'm not sure if it would be right.
It says "This is owned by whoever has the skb queued ATM." which is not 
imq but the qdiscs of course, but none of them are using it and i can't 
see why they should. So does anyone know if it would be ok to use it ?

Thanks & Bye,
Patrick

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      reply	other threads:[~2002-05-06 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-06  9:00 [LARTC] IMQ mark and iptables mark Ciprian Niculescu
2002-05-06 16:26 ` Patrick McHardy [this message]

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=marc-lartc-102072278922077@msgid-missing \
    --to=kaber@trash.net \
    --cc=lartc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.