All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] IMQ mark and iptables mark
@ 2002-05-06  9:00 Ciprian Niculescu
  2002-05-06 16:26 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Ciprian Niculescu @ 2002-05-06  9:00 UTC (permalink / raw)
  To: lartc

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


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] IMQ mark and iptables mark
  2002-05-06  9:00 [LARTC] IMQ mark and iptables mark Ciprian Niculescu
@ 2002-05-06 16:26 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2002-05-06 16:26 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-06 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-06  9:00 [LARTC] IMQ mark and iptables mark Ciprian Niculescu
2002-05-06 16:26 ` Patrick McHardy

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.