Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/tcp_ao/lib/
A Daolib.h373 uint8_t keyflags, uint8_t keylen, const char *key);
380 uint8_t keyflags, uint8_t keylen, const char *key) in test_prepare_key() argument
387 maclen, keyflags, keylen, key); in test_prepare_key()
391 const char *key, uint8_t keyflags, in test_prepare_def_key() argument
399 prefix, vrf, sndid, rcvid, 0, keyflags, in test_prepare_def_key()
427 const char *key, uint8_t keyflags, in test_add_key_vrf() argument
434 err = test_prepare_def_key(&tmp, key, keyflags, in_addr, prefix, in test_add_key_vrf()
634 const char *key, uint8_t keyflags, in test_add_repaired_key() argument
641 err = test_prepare_def_key(&tmp, key, keyflags, in_addr, prefix, in test_add_repaired_key()
A Dsock.c141 uint8_t maclen, uint8_t keyflags, in test_prepare_key_sockaddr() argument
152 ao->keyflags = keyflags; in test_prepare_key_sockaddr()
251 __cmp_ao(keyflags); in test_cmp_getsockopt_setsockopt()
/linux/include/uapi/linux/
A Dtcp.h392 __u8 keyflags; /* see TCP_AO_KEYF_ */ member
410 __u8 keyflags; /* see TCP_AO_KEYF_ */ member
457 __u8 keyflags; /* in/out: see TCP_AO_KEYF_ */ member
/linux/tools/testing/selftests/net/tcp_ao/
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()
A Dsetsockopt-closed.c224 offsetof(struct tcp_ao_del, keyflags)); in extend_tests()
321 ao.keyflags = (uint8_t)(-1); in test_einval_add_key()
359 ao.keyflags |= TCP_AO_KEYF_IFINDEX; in test_einval_add_key()
415 del.keyflags = (uint8_t)(-1); in test_einval_del_key()
424 del.keyflags |= TCP_AO_KEYF_IFINDEX; in test_einval_del_key()
621 out.keyflags = (uint8_t)(-1); in test_einval_get_keys()
A Dunsigned-md5.c323 uint8_t keyflags = 0; in try_add_key_vrf() local
326 keyflags |= TCP_AO_KEYF_IFINDEX; in try_add_key_vrf()
335 return test_add_key_vrf(sk, ao_password, keyflags, in_addr, prefix, in try_add_key_vrf()
/linux/net/ipv4/
A Dtcp_ao.c148 if (l3index >= 0 && (key->keyflags & TCP_AO_KEYF_IFINDEX)) { in __tcp_ao_key_cmp()
600 !!(key->keyflags & TCP_AO_KEYF_EXCLUDE_OPT), in tcp_ao_hash_hdr()
649 !!(key->keyflags & TCP_AO_KEYF_EXCLUDE_OPT), in tcp_ao_hash_skb()
1625 if (cmd.keyflags & ~TCP_AO_KEYF_ALL) in tcp_ao_add_cmd()
1670 if (cmd.keyflags & TCP_AO_KEYF_IFINDEX) { in tcp_ao_add_cmd()
1716 key->keyflags = cmd.keyflags; in tcp_ao_add_cmd()
1837 if (cmd.keyflags & ~TCP_AO_DEL_KEYF_ALL) in tcp_ao_del_cmd()
1915 if ((cmd.keyflags & TCP_AO_KEYF_IFINDEX) != in tcp_ao_del_cmd()
1916 (key->keyflags & TCP_AO_KEYF_IFINDEX)) in tcp_ao_del_cmd()
2133 if (opt_in.keyflags & ~TCP_AO_GET_KEYF_VALID) in tcp_ao_copy_mkts_to_user()
[all …]
/linux/include/net/
A Dtcp_ao.h45 u8 keyflags; member
/linux/fs/xfs/libxfs/
A Dxfs_rmap.c2889 unsigned int keyflags; in xfs_rmap_count_owners_helper() local
2912 keyflags = check.rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK); in xfs_rmap_count_owners_helper()
2918 keyflags == roc->good.rm_flags) { in xfs_rmap_count_owners_helper()

Completed in 43 milliseconds