Lines Matching defs:test_options
116 u_int32_t new_options, test_options[2];
123 len = sizeof(test_options);
124 if (getsockopt(sock, IPPROTO_IP, IP_OPTIONS, test_options, &len) < 0)
151 test_options[0] = TEST_MAGIC;
152 test_options[1] = TEST_MAGIC;
153 len = sizeof(test_options);
154 if (getsockopt(sock, IPPROTO_IP, IP_OPTIONS, test_options, &len) < 0)
169 if (test_options[0] == TEST_MAGIC)
176 if (new_options != test_options[0])
179 new_options, test_options[0]);
191 test_options[0] = TEST_MAGIC;
192 test_options[1] = TEST_MAGIC;
193 len = sizeof(test_options);
194 if (getsockopt(sock, IPPROTO_IP, IP_OPTIONS, test_options, &len) < 0)