Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/net/tcp_ao/lib/
H A Daolib.h375 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 Dsock.c212 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 Dkey-management.c168 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 Dsetsockopt-closed.c226 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 Dunsigned-md5.c328 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 Dtcp_ao.c149 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 Dtcp.h398 __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 Dtcp_ao.h45 u8 keyflags; member
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_rmap.c2995 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()