* Packet Delay using Netfilter
@ 2006-04-20 16:45 Srinivas Krishnan
2006-04-20 18:52 ` Patrick McHardy
0 siblings, 1 reply; 4+ messages in thread
From: Srinivas Krishnan @ 2006-04-20 16:45 UTC (permalink / raw)
To: netfilter-devel
Hi ,
I am trying to create a module that adds delay to certain egress
packets. I am using the NF_IP_POST_ROUTING hook. The question I had
was that can I set NF_STOLEN and call dev_queue_xmit( ) directly or
should I call dev_hard_xmit ( ). the reason I am setting NF_STOLEN, is
because I do not want netfilter to wait for tons of NF_ACCEPT because
I will be holding those packets in my queue. is that a flawed argument
and can I just reinject the packets into the processing by calling
NF_ACCEPT?
Also if I directly send to the device are there are fields/operations
I need to set before sending the packet out ?
any help will be greatly appreciated
-shrin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Packet Delay using Netfilter
2006-04-20 16:45 Packet Delay using Netfilter Srinivas Krishnan
@ 2006-04-20 18:52 ` Patrick McHardy
0 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2006-04-20 18:52 UTC (permalink / raw)
To: Srinivas Krishnan; +Cc: netfilter-devel
Srinivas Krishnan wrote:
> I am trying to create a module that adds delay to certain egress
> packets. I am using the NF_IP_POST_ROUTING hook.
Why are you not doing this on the qdisc layer?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Packet Delay using Netfilter
@ 2006-04-20 19:35 Srinivas Krishnan
0 siblings, 0 replies; 4+ messages in thread
From: Srinivas Krishnan @ 2006-04-20 19:35 UTC (permalink / raw)
To: kaber; +Cc: netfilter-devel
I am trying to do it filter packets by flow and add delay to each
flow. Netfilter just seemed an easier way of doing it without getting
into the complications of qdiscs.
-shrin
Patrick McHardy wrote:
>Why are you not doing this on the qdisc layer?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Packet Delay using Netfilter
@ 2006-04-20 21:59 Srinivas Krishnan
0 siblings, 0 replies; 4+ messages in thread
From: Srinivas Krishnan @ 2006-04-20 21:59 UTC (permalink / raw)
To: kaber; +Cc: netfilter-devel
I am trying to do it filter packets by flow and add delay to each
flow. Netfilter just seemed an easier way of doing it without getting
into the complications of qdiscs.
-shrin
Patrick McHardy wrote:
>Why are you not doing this on the qdisc layer?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-04-20 21:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-20 16:45 Packet Delay using Netfilter Srinivas Krishnan
2006-04-20 18:52 ` Patrick McHardy
-- strict thread matches above, loose matches on Subject: below --
2006-04-20 19:35 Srinivas Krishnan
2006-04-20 21:59 Srinivas Krishnan
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.