Home
last modified time | relevance | path

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

/tools/testing/selftests/net/tcp_ao/
A Dkey-management.c77 del.sndid = sndid; in test_del_key()
133 sndid, rcvid, err); in try_delete_key()
595 uint8_t sndid, rcvid, vrf; in key_collection_socket() local
605 sndid = key->server_keyid; in key_collection_socket()
610 sndid = key->client_keyid; in key_collection_socket()
640 uint8_t sndid, rcvid; in verify_counters() local
646 sndid = key->server_keyid; in verify_counters()
650 sndid = key->client_keyid; in verify_counters()
657 sndid, rcvid); in verify_counters()
670 if (sndid >= 0 && buf[i].sndid != sndid) in lookup_key()
[all …]
A Dconnect-deny.c11 uint8_t sndid, uint8_t rcvid) in test_add_key_maclen() argument
20 prefix, 0, sndid, rcvid, maclen, in test_add_key_maclen()
34 uint8_t sndid, uint8_t rcvid, uint8_t maclen, in try_accept() argument
45 if (pwd && test_add_key_maclen(lsk, pwd, maclen, addr, prefix, sndid, rcvid)) in try_accept()
168 uint8_t sndid, uint8_t rcvid, in try_connect() argument
178 if (pwd && test_add_key(sk, pwd, addr, prefix, sndid, rcvid)) in try_connect()
A Dunsigned-md5.c41 uint8_t sndid, uint8_t rcvid, uint8_t vrf, in try_accept() argument
59 *ao_addr, ao_prefix, sndid, rcvid)) in try_accept()
286 ao_prefix, sndid, rcvid)) in try_connect()
325 int vrf, uint8_t sndid, uint8_t rcvid, in try_add_key_vrf() argument
341 (uint8_t)vrf, sndid, rcvid); in try_add_key_vrf()
372 uint8_t sndid, uint8_t rcvid, in open_add() argument
391 sndid, rcvid, set_ao_required); in open_add()
417 uint8_t sndid, uint8_t rcvid, in try_to_preadd() argument
429 sndid, rcvid, inj); in try_to_preadd()
442 int ao_vrf, uint8_t sndid, uint8_t rcvid, in try_to_add() argument
[all …]
A Dsetsockopt-closed.c151 del->sndid = 100; in prepare_defs()
484 del.sndid = 101; in test_einval_del_key()
683 out.sndid = 1; in test_einval_get_keys()
706 out.sndid = 1; in test_einval_get_keys()
730 out.sndid = 1; in test_einval_get_keys()
814 ao.sndid = 101; in duplicate_tests()
834 u8 rcvid = 100, sndid = 100; in prepare_test_keys() local
852 test_ao[2].sndid = 100; in prepare_test_keys()
928 filter.sndid = original_keys[f].sndid; in filter_tests()
965 if (original_keys[i].sndid == 100) { in filter_tests()
[all …]
A Dbench-lookups.c153 ao_del.sndid = 100; in bench_delete()
/tools/testing/selftests/net/tcp_ao/lib/
A Dsock.c211 uint8_t prefix, uint8_t vrf, uint8_t sndid, uint8_t rcvid, in test_prepare_key_sockaddr() argument
220 ao->sndid = sndid; in test_prepare_key_sockaddr()
255 uint8_t sndid, uint8_t rcvid) in test_get_one_ao() argument
263 tmp.sndid = sndid; in test_get_one_ao()
319 __cmp_ao(sndid); in test_cmp_getsockopt_setsockopt()
472 out->ao.key_cnts[nr_keys].sndid = key_dump[nr_keys].sndid; in test_get_tcp_counters()
539 test_cnt expected, int sndid, int rcvid) in test_assert_counters_key() argument
548 before->key_cnts[i].sndid, \ in test_assert_counters_key()
557 before->key_cnts[i].sndid, \ in test_assert_counters_key()
572 if (sndid >= 0 && before->key_cnts[i].sndid != sndid) in test_assert_counters_key()
A Daolib.h374 uint8_t sndid, uint8_t rcvid, uint8_t maclen,
381 uint8_t sndid, uint8_t rcvid, uint8_t maclen, in test_prepare_key() argument
395 uint8_t sndid, uint8_t rcvid) in test_prepare_def_key() argument
401 prefix, vrf, sndid, rcvid, 0, keyflags, in test_prepare_def_key()
421 key->prefix, key->sndid, key->rcvid); in test_verify_socket_key()
437 vrf, sndid, rcvid); in test_add_key_vrf()
450 uint8_t sndid, uint8_t rcvid) in test_add_key() argument
490 uint8_t sndid; member
578 test_cnt expected, int sndid, int rcvid);
703 uint8_t sndid, uint8_t rcvid) in test_add_repaired_key() argument
[all …]
A Dkconfig.c57 tmp.sndid = 100; in has_tcp_ao()

Completed in 20 milliseconds