interface statistics and outgoing packet queue

interface statistics and outgoing packet queue

Post by Nikolaos Fideropoulo » Fri, 30 Aug 2002 03:05:18



Hi,

does somebody know, which is the default queue where outgoing packets are
getting queued by the kernel?
I don't wanna use any traffic shaping. Just need to monitor that
queue/buffer for each device/interface to count some kind of packetloss, so
i can see very fast when the buffer is full and no packets can leave the
device.
i read about queuing disciplines, but it didnt really helped me. It seems to
me that the default queue is a plain fifo.and i see the enqueue call (in
dev_queue_xmit(struct sk_buff *skb)) of net/core/dev.c. but i have
difficulties to find the way an IP packet goes after that.

I'm using kernel-version 2.4.18

Nikos

 
 
 

1. on dual-homed box, how to specify outgoing interface to send mcast packets

On a dual-homed machine, there is no "network" portion of the destination
Class D address to make any kind of determination as to which outgoing
interface to use.

So I make a call to

setsockopt(fd, IPPROTO_IP, IP_MULTICAST_IF, &inaddr, sizeof(struct
in_addr));

I confirm that this call works. Plus I doublechecked by giving it a bogus
inaddr, and it gave me errno 49 EADDRNOTAVAIL. However, when I try send a
packet to "225.0.0.1", I get errno 65 EHOSTUNREACH.

Please help! :-)

2. use of times facility

3. Router dropping packets from eth interface to ppp interface

4. INIT: Id "x" respaning too fast . Disabled for 5 minutes.

5. Review/edit outgoing mail queue

6. Man Stuff (again)

7. Queue outgoing mail (again)

8. Traceroute for Solaris x86 ???

9. Q: I'd like smail to queue outgoing mails.

10. [PATCH] [2.5.35] Run Queue Statistics

11. [2.5.45] SARQ (Run Queue Statistics) [Update]

12. How to rewrite only the port on incoming/outgoing packets

13. A Tale of Outgoing Packets or The Little Upload That Couldn't