Searched refs:save_ports (Results 1 – 1 of 1) sorted by relevance
/freebsd/tests/sys/netinet/ |
H A D | ip6_v4mapped_test.c | 70 struct portrange save_ports; in set_portrange() local 84 sysctlsz = sizeof(save_ports.first); in set_portrange() 85 error = sysctlbyname("net.inet.ip.portrange.first", &save_ports.first, in set_portrange() 92 if (sysctlsz != sizeof(save_ports.first)) { in set_portrange() 94 "(expected %zu, actual %zu)\n", sizeof(save_ports.first), in set_portrange() 100 sysctlsz = sizeof(save_ports.last); in set_portrange() 101 error = sysctlbyname("net.inet.ip.portrange.last", &save_ports.last, in set_portrange() 108 if (sysctlsz != sizeof(save_ports.last)) { in set_portrange() 110 "(expected %zu, actual %zu)\n", sizeof(save_ports.last), in set_portrange() 122 error = write(fd, &save_ports, sizeof(save_ports)); in set_portrange() [all …]
|