Skip to contentSkip to conversation

How many packets can be held by queue target?

netfilter-core Harald Welte 1 participant 1 message Dec 8, 2005 1 message not in the archive netfilter

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · Xiaohu Dong

Hi,
I am using libipq to fetch pkt in my current project. I am curious
if I don't retrieve pkt from the queue in time, how many pkt can the queue hold before dropping?

that depends on how much you have configured ;) I think the limit would be 2^32 packets if you have that amount of RAM. default is 1024.

use the source, luke.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie