Home
last modified time | relevance | path

Searched refs:SYSCTLBAKFILE (Results 1 – 2 of 2) sorted by relevance

/freebsd/tests/sys/netinet/
H A Dtcp_connect_port_test.c45 #define SYSCTLBAKFILE "tmp.net.inet.ip.portrange.randomized" macro
61 unlink(SYSCTLBAKFILE); in disable_random_ports()
84 fd = open(SYSCTLBAKFILE, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, in disable_random_ports()
106 (void)unlink(SYSCTLBAKFILE); in disable_random_ports()
123 fd = open(SYSCTLBAKFILE, O_RDONLY); in restore_random_ports()
142 error = unlink(SYSCTLBAKFILE); in restore_random_ports()
H A Dip6_v4mapped_test.c51 #define SYSCTLBAKFILE "tmp.net.inet.ip.portrange.values" macro
77 unlink(SYSCTLBAKFILE); in set_portrange()
116 fd = open(SYSCTLBAKFILE, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, in set_portrange()
138 (void)unlink(SYSCTLBAKFILE); in set_portrange()
160 fd = open(SYSCTLBAKFILE, O_RDONLY); in restore_portrange()
179 error = unlink(SYSCTLBAKFILE); in restore_portrange()