recv_packet_infos_overlap - Receiving Packet Informations when memory is not enough
To check that kernel can return correct packet informations when memory is not enough.
./recv_packet_infos_overlap [-tooloption ...] -tooloption : v6api tool option
1. Create tcp socket for tcp server 2. Create tcp socket for tcp client 3. Set hoplimit of tcp server to 255 4. Enable tcp client to receive hop limit 5. Enable tcp client to receive packet information 6. Enable tcp client to receive old hop limit information 7. Enable tcp client to receive old packet information 8. Bind tcp server socket to address 9. Listen on tcp server socket 10.Connect to tcp server 11.Accept a connection on tcp socket 12.Send message from tcp server to tcp client 13.Recv message from tcp server on tcp client 14.Used IPV6_2292PKTOPTIONS to get the packet informations with not enough memory 15.Check A: check whether packet informations is returned correctly
None
None