aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/udp2
blob: b8280ee85967b6e8e305f8618182ee36f09981ca (plain)
1
2
3
4
5
6
# This creates a UDP socket and injects a packet to the socket.

r0 = socket$inet_udp(AUTO, AUTO, AUTO)
bind$inet(r0, &AUTO={AUTO, 0x4e20, @empty}, AUTO)
syz_emit_ethernet(AUTO, &AUTO={@local, @empty, @void, {@ipv4={AUTO, @udp={{AUTO, AUTO, 0x0, 0x0, AUTO, 0x0, 0x0, 0x0, AUTO, 0x0, @empty, @empty, {[]}}, {0x0, 0x4e20, AUTO, 0x0, @opaque=""/10}}}}}, 0x0)
recvfrom(r0, &AUTO=""/10, AUTO, 0x0, 0x0, 0x0)