| /linux-6.15/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | aolib.h | 375 uint8_t keyflags, uint8_t keylen, const char *key); 382 uint8_t keyflags, uint8_t keylen, const char *key) in test_prepare_key() argument 389 maclen, keyflags, keylen, key); in test_prepare_key() 393 const char *key, uint8_t keyflags, in test_prepare_def_key() argument 401 prefix, vrf, sndid, rcvid, 0, keyflags, in test_prepare_def_key() 429 const char *key, uint8_t keyflags, in test_add_key_vrf() argument 436 err = test_prepare_def_key(&tmp, key, keyflags, in_addr, prefix, in test_add_key_vrf() 701 const char *key, uint8_t keyflags, in test_add_repaired_key() argument 708 err = test_prepare_def_key(&tmp, key, keyflags, in_addr, prefix, in test_add_repaired_key()
|
| H A D | sock.c | 212 uint8_t maclen, uint8_t keyflags, in test_prepare_key_sockaddr() argument 223 ao->keyflags = keyflags; in test_prepare_key_sockaddr() 322 __cmp_ao(keyflags); in test_cmp_getsockopt_setsockopt()
|
| /linux-6.15/tools/testing/selftests/net/tcp_ao/ |
| H A D | key-management.c | 168 static int test_add_current_rnext_key(int sk, const char *key, uint8_t keyflags, in test_add_current_rnext_key() argument 178 prefix, 0, sndid, rcvid, 0, keyflags, in test_add_current_rnext_key() 191 static int __try_add_current_rnext_key(int sk, const char *key, uint8_t keyflags, in __try_add_current_rnext_key() argument 199 err = test_add_current_rnext_key(sk, key, keyflags, in_addr, prefix, in __try_add_current_rnext_key() 214 uint8_t keyflags, in try_add_current_rnext_key() argument 221 err = __try_add_current_rnext_key(sk, key, keyflags, in_addr, prefix, in try_add_current_rnext_key() 528 uint8_t keyflags = 0; in test_add_key_cr() local 535 keyflags |= TCP_AO_KEYF_IFINDEX; in test_add_key_cr() 538 keyflags, pwd_len, pwd); in test_add_key_cr()
|
| H A D | setsockopt-closed.c | 226 offsetof(struct tcp_ao_del, keyflags)); in extend_tests() 323 ao.keyflags = (uint8_t)(-1); in test_einval_add_key() 361 ao.keyflags |= TCP_AO_KEYF_IFINDEX; in test_einval_add_key() 417 del.keyflags = (uint8_t)(-1); in test_einval_del_key() 426 del.keyflags |= TCP_AO_KEYF_IFINDEX; in test_einval_del_key() 623 out.keyflags = (uint8_t)(-1); in test_einval_get_keys()
|
| H A D | unsigned-md5.c | 328 uint8_t keyflags = 0; in try_add_key_vrf() local 331 keyflags |= TCP_AO_KEYF_IFINDEX; in try_add_key_vrf() 340 return test_add_key_vrf(sk, ao_password, keyflags, in_addr, prefix, in try_add_key_vrf()
|
| /linux-6.15/net/ipv4/ |
| H A D | tcp_ao.c | 149 if (l3index >= 0 && (key->keyflags & TCP_AO_KEYF_IFINDEX)) { in __tcp_ao_key_cmp() 601 !!(key->keyflags & TCP_AO_KEYF_EXCLUDE_OPT), in tcp_ao_hash_hdr() 650 !!(key->keyflags & TCP_AO_KEYF_EXCLUDE_OPT), in tcp_ao_hash_skb() 1626 if (cmd.keyflags & ~TCP_AO_KEYF_ALL) in tcp_ao_add_cmd() 1671 if (cmd.keyflags & TCP_AO_KEYF_IFINDEX) { in tcp_ao_add_cmd() 1717 key->keyflags = cmd.keyflags; in tcp_ao_add_cmd() 1838 if (cmd.keyflags & ~TCP_AO_DEL_KEYF_ALL) in tcp_ao_del_cmd() 1917 if ((cmd.keyflags & TCP_AO_KEYF_IFINDEX) != in tcp_ao_del_cmd() 1918 (key->keyflags & TCP_AO_KEYF_IFINDEX)) in tcp_ao_del_cmd() 2136 if (opt_in.keyflags & ~TCP_AO_GET_KEYF_VALID) in tcp_ao_copy_mkts_to_user() [all …]
|
| /linux-6.15/include/uapi/linux/ |
| H A D | tcp.h | 398 __u8 keyflags; /* see TCP_AO_KEYF_ */ member 416 __u8 keyflags; /* see TCP_AO_KEYF_ */ member 463 __u8 keyflags; /* in/out: see TCP_AO_KEYF_ */ member
|
| /linux-6.15/include/net/ |
| H A D | tcp_ao.h | 45 u8 keyflags; member
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_rmap.c | 2995 unsigned int keyflags; in xfs_rmap_count_owners_helper() local 3018 keyflags = check.rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK); in xfs_rmap_count_owners_helper() 3024 keyflags == roc->good.rm_flags) { in xfs_rmap_count_owners_helper()
|