Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/tcp_ao/
H A Dsetsockopt-closed.c832 struct tcp_ao_add test_ao[FILTER_TEST_NKEYS]; in prepare_test_keys() local
843 test_prepare_key(&test_ao[i], DEFAULT_TEST_ALGO, this_ip_dest, in prepare_test_keys()
848 test_ao[0].set_current = 1; in prepare_test_keys()
849 test_ao[1].set_rnext = 1; in prepare_test_keys()
851 tcp_addr_to_sockaddr_in(&test_ao[2].addr, &this_ip_addr, 0); in prepare_test_keys()
852 test_ao[2].sndid = 100; in prepare_test_keys()
853 test_ao[2].rcvid = 100; in prepare_test_keys()
860 &test_ao[randidx], sizeof(struct tcp_ao_add))) in prepare_test_keys()
862 memcpy(&test_ao[randidx], &test_ao[FILTER_TEST_NKEYS - 1 - i], in prepare_test_keys()