Searched refs:rnext_keyid (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | key-management.c | 142 static int test_set_key(int sk, int current_keyid, int rnext_keyid) in test_set_key() argument 151 if (rnext_keyid >= 0) { in test_set_key() 153 ao_info.rnext = (uint8_t)rnext_keyid; in test_set_key() 163 if (rnext_keyid >= 0 && ao_info.rnext != (uint8_t)rnext_keyid) in test_set_key() 515 int current_keyid, int rnext_keyid) in test_key_error() 533 if (rnext_keyid >= 0) { in test_add_key_cr() 536 else if (ao_info.rnext != rnext_keyid) in test_add_key_cr() 538 tst, rnext_keyid, ao_info.rnext); in test_add_key_cr() 550 verify_current_rnext(const char * tst,int sk,int current_keyid,int rnext_keyid) verify_current_rnext() argument
|
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 830 -1, aoh->rnext_keyid); in tcp_ao_prepare_reset() 855 *key = tcp_ao_established_key(sk, ao_info, aoh->rnext_keyid, -1); in tcp_ao_prepare_reset() 949 treq->ao_keyid = aoh->rnext_keyid; in tcp_ao_syncookie() 968 aoh->rnext_keyid, maclen); in tcp_ao_verify_hash() 980 aoh->rnext_keyid, maclen); in tcp_ao_verify_hash() 1009 aoh->rnext_keyid, maclen); in tcp_inbound_ao_hash() 1049 if (unlikely(aoh->rnext_keyid != current_key->sndid)) { in tcp_inbound_ao_hash() 1051 aoh->rnext_keyid, in tcp_inbound_ao_hash() 1054 key = tcp_ao_established_key(sk, info, aoh->rnext_keyid, -1); in tcp_inbound_ao_hash() 1114 aoh->rnext_keyid, maclen); in tcp_inbound_ao_hash()
|
| H A D | tcp_ipv4.c | 683 (aoh->rnext_keyid << 8) | keyid); in tcp_v4_ao_sign_reset() 1043 aoh->rnext_keyid, -1); 1103 aoh->rnext_keyid, -1);
|
| /linux/include/net/ |
| H A D | tcp_ao.h | 18 u8 rnext_keyid; member
|