Home
last modified time | relevance | path

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

/linux/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 Dunsigned-md5.c40 uint8_t sndid, uint8_t rcvid, uint8_t vrf, in try_accept() argument
58 *ao_addr, ao_prefix, sndid, rcvid)) in try_accept()
279 ao_prefix, sndid, rcvid)) in try_connect()
320 int vrf, uint8_t sndid, uint8_t rcvid, in try_add_key_vrf() argument
336 (uint8_t)vrf, sndid, rcvid); in try_add_key_vrf()
367 uint8_t sndid, uint8_t rcvid, in open_add() argument
386 sndid, rcvid, set_ao_required); in open_add()
412 uint8_t sndid, uint8_t rcvid, in try_to_preadd() argument
424 sndid, rcvid, inj); in try_to_preadd()
437 int ao_vrf, uint8_t sndid, uint8_t rcvid, in try_to_add() argument
[all …]
A Dconnect-deny.c10 uint8_t sndid, uint8_t rcvid) in test_add_key_maclen() argument
19 prefix, 0, sndid, rcvid, maclen, in test_add_key_maclen()
33 uint8_t sndid, uint8_t rcvid, uint8_t maclen, in try_accept() argument
44 if (pwd && test_add_key_maclen(lsk, pwd, maclen, addr, prefix, sndid, rcvid)) in try_accept()
163 uint8_t sndid, uint8_t rcvid, in try_connect() argument
174 if (pwd && test_add_key(sk, pwd, addr, prefix, sndid, rcvid)) in try_connect()
A Dsetsockopt-closed.c149 del->sndid = 100; in prepare_defs()
482 del.sndid = 101; in test_einval_del_key()
681 out.sndid = 1; in test_einval_get_keys()
704 out.sndid = 1; in test_einval_get_keys()
728 out.sndid = 1; in test_einval_get_keys()
812 ao.sndid = 101; in duplicate_tests()
A Dbench-lookups.c153 ao_del.sndid = 100; in bench_delete()
/linux/tools/testing/selftests/net/tcp_ao/lib/
A Dsock.c140 uint8_t prefix, uint8_t vrf, uint8_t sndid, uint8_t rcvid, in test_prepare_key_sockaddr() argument
149 ao->sndid = sndid; in test_prepare_key_sockaddr()
184 uint8_t sndid, uint8_t rcvid) in test_get_one_ao() argument
192 tmp.sndid = sndid; in test_get_one_ao()
248 __cmp_ao(sndid); in test_cmp_getsockopt_setsockopt()
396 out->key_cnts[nr_keys].sndid = key_dump[nr_keys].sndid; in test_get_tcp_ao_counters()
451 int sndid, int rcvid) in test_tcp_ao_key_counters_cmp() argument
460 before->key_cnts[i].sndid, \ in test_tcp_ao_key_counters_cmp()
469 before->key_cnts[i].sndid, \ in test_tcp_ao_key_counters_cmp()
484 if (sndid >= 0 && before->key_cnts[i].sndid != sndid) in test_tcp_ao_key_counters_cmp()
A Daolib.h372 uint8_t sndid, uint8_t rcvid, uint8_t maclen,
379 uint8_t sndid, uint8_t rcvid, uint8_t maclen, in test_prepare_key() argument
393 uint8_t sndid, uint8_t rcvid) in test_prepare_def_key() argument
399 prefix, vrf, sndid, rcvid, 0, keyflags, in test_prepare_def_key()
419 key->prefix, key->sndid, key->rcvid); in test_verify_socket_key()
435 vrf, sndid, rcvid); in test_add_key_vrf()
448 uint8_t sndid, uint8_t rcvid) in test_add_key() argument
491 uint8_t sndid; member
546 test_cnt expected, int sndid, int rcvid);
636 uint8_t sndid, uint8_t rcvid) in test_add_repaired_key() argument
[all …]
A Dkconfig.c57 tmp.sndid = 100; in has_tcp_ao()
/linux/include/net/
A Dtcp_ao.h46 u8 sndid; member
187 int sndid, int rcvid);
207 int family, int sndid, int rcvid);
221 int sndid, int rcvid);
232 int sndid, int rcvid);
248 struct sock *addr_sk, int sndid, int rcvid);
251 int sndid, int rcvid);
294 int family, int sndid, int rcvid) in tcp_ao_do_lookup() argument
A Dtcp.h2255 int sndid, int rcvid);
2278 int sndid, int rcvid);
/linux/net/ipv4/
A Dtcp_ao.c113 int sndid, int rcvid) in tcp_ao_established_key() argument
118 if ((sndid >= 0 && key->sndid != sndid) || in tcp_ao_established_key()
144 if (sndid >= 0 && key->sndid != sndid) in __tcp_ao_key_cmp()
145 return (key->sndid > sndid) ? 1 : -1; in __tcp_ao_key_cmp()
195 int sndid, int rcvid) in __tcp_ao_do_lookup() argument
212 family, sndid, rcvid)) in __tcp_ao_do_lookup()
703 int sndid, int rcvid) in tcp_v4_ao_lookup_rsk() argument
854 AF_INET, sndid, rcvid); in tcp_ao_inbound_lookup()
1717 key->sndid = cmd.sndid; in tcp_ao_add_cmd()
1906 if (cmd.sndid != key->sndid || in tcp_ao_del_cmd()
[all …]
A Dtcp_ipv4.c994 (key->ao_key->sndid << 8) | in tcp_v4_send_ack()
A Dtcp_output.c633 (key->ao_key->sndid << 8) | in process_tcp_ao_options()
/linux/net/ipv6/
A Dtcp_ao.c92 int sndid, int rcvid) in tcp_v6_ao_lookup() argument
99 AF_INET6, sndid, rcvid); in tcp_v6_ao_lookup()
104 int sndid, int rcvid) in tcp_v6_ao_lookup_rsk() argument
112 AF_INET6, sndid, rcvid); in tcp_v6_ao_lookup_rsk()
A Dtcp_ipv6.c939 (key->ao_key->sndid << 8) | in tcp_v6_send_response()
/linux/include/uapi/linux/
A Dtcp.h389 __u8 sndid; /* SendID for outgoing segments */ member
406 __u8 sndid; /* SendID for outgoing segments */ member
451 __u8 sndid; /* in/out: dump keys with SendID */ member
/linux/Documentation/networking/
A Dtcp_ao.rst316 peer and/or sndid/rcvid, VRF L3 interface or get current_key/rnext_key.

Completed in 52 milliseconds