xref: /openbsd-src/regress/sys/net/pf_divert/args-rip-reply.pl (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1# test divert-reply with raw ip
2
3use strict;
4use warnings;
5use Socket;
6
7our %args = (
8    socktype => Socket::SOCK_RAW,
9    protocol => 254,
10    client => { func => \&write_datagram, noin => 1, },
11    server => { func => \&read_datagram, noout => 1, },
12    divert => "reply",
13);
14