Linux : Udp packet is kept in buffer or droped when network is unreacheable?? how can i prove it?
===

I have a client constantly sending UDP packets to host by Wifi connection through a router. I would like to know what happen to the packets if i suddenly turn off the router. Will the udp packets be dropped or be kept in a certain buffer?

Also, i want to know what happen to the packets if i turn on back the wifi a moment after i turn it off.

I need what tools in android linux to prove whether the packet is dropped(and at which layer) or kept in a certain buffer(acces to buffer to verify it is the packet that i sent)?

Thanks