Searched refs:SYSCTLBAKFILE (Results 1 – 2 of 2) sorted by relevance
45 #define SYSCTLBAKFILE "tmp.net.inet.ip.portrange.randomized" macro61 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()
51 #define SYSCTLBAKFILE "tmp.net.inet.ip.portrange.values" macro77 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()