0
votes

As far as i know, these are buffer/queues for UDP in Linux (correct me if im wrong)

UDP Tx : [sendto] UDP socket buffer(getsockopt(SO_SNDBUF)) -> interface socket buf() -> driver ring buffer UDP_Rx : driver ring buffer -> backlog queue -> [recvfrom] UDP socket buffer(getsockopt(SO_RCVBUF))

I know we can monitor drop/queue: -socket buffer(UDP) at /proc/net/udp -interface queue(IP) at /proc/net/dev

Where can i monitor the driver queue/buffer(MAC) for a drop in Linux?

p/s: i wanna see and PROVE what happen to the datagramme in those queues if we cut the connection during UDP transfer over WLAN.

1
i ask this question differently here : stackoverflow.com/questions/11500428/… - r a
I found the solution on how I can observe what happen to those packets by using FTRACE. Now i can prove what happen to those packets in each layer by reading the LXR of the function called. - r a

1 Answers

0
votes

use $tc -s -d qdisc ls dev eth0 for eth0 interface