github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/linux/test/udp (about)

     1  # This simply creates 2 UDP sockets and sends a packet between them.
     2  
     3  r0 = socket$inet_udp(AUTO, AUTO, AUTO)
     4  bind$inet(r0, &AUTO={AUTO, 0x4e20, @empty}, AUTO)
     5  r1 = socket$inet_udp(AUTO, AUTO, AUTO)
     6  sendto$inet(r1, &AUTO=""/10, AUTO, 0x0, &AUTO={AUTO, 0x4e20, @empty}, AUTO)
     7  recvfrom(r0, &AUTO=""/10, AUTO, 0x0, 0x0, 0x0)