/kernel/linux/linux-5.10/net/tipc/ |
H A D | name_distr.c | 87 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ) in tipc_named_publish() argument 93 if (publ->scope == TIPC_NODE_SCOPE) { in tipc_named_publish() 94 list_add_tail_rcu(&publ->binding_node, &nt->node_scope); in tipc_named_publish() 98 list_add_tail(&publ->binding_node, &nt->cluster_scope); in tipc_named_publish() 108 publ_to_item(item, publ); in tipc_named_publish() 115 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ) in tipc_named_withdraw() argument 122 list_del(&publ->binding_node); in tipc_named_withdraw() 124 if (publ->scope == TIPC_NODE_SCOPE) in tipc_named_withdraw() 135 publ_to_item(item, publ); in tipc_named_withdraw() 148 struct publication *publ; in named_distribute() local 224 tipc_publ_purge(struct net *net, struct publication *publ, u32 addr) tipc_publ_purge() argument 271 struct publication *publ, *tmp; tipc_publ_notify() local 405 struct publication *publ; tipc_named_reinit() local [all...] |
H A D | name_distr.h | 71 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ); 72 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ);
|
H A D | netlink_compat.c | 901 struct nlattr *publ[TIPC_NLA_PUBL_MAX + 1]; in tipc_nl_compat_name_table_dump() local 919 err = nla_parse_nested_deprecated(publ, TIPC_NLA_PUBL_MAX, in tipc_nl_compat_name_table_dump() 933 (type != nla_get_u32(publ[TIPC_NLA_PUBL_TYPE]))) in tipc_nl_compat_name_table_dump() 935 if (lowbound && (lowbound > nla_get_u32(publ[TIPC_NLA_PUBL_UPPER]))) in tipc_nl_compat_name_table_dump() 937 if (upbound && (upbound < nla_get_u32(publ[TIPC_NLA_PUBL_LOWER]))) in tipc_nl_compat_name_table_dump() 941 nla_get_u32(publ[TIPC_NLA_PUBL_TYPE])); in tipc_nl_compat_name_table_dump() 947 nla_get_u32(publ[TIPC_NLA_PUBL_LOWER]), in tipc_nl_compat_name_table_dump() 948 nla_get_u32(publ[TIPC_NLA_PUBL_UPPER])); in tipc_nl_compat_name_table_dump() 953 node = nla_get_u32(publ[TIPC_NLA_PUBL_NODE]); in tipc_nl_compat_name_table_dump() 955 tipc_node(node), nla_get_u32(publ[TIPC_NLA_PUBL_RE in tipc_nl_compat_name_table_dump() 974 struct nlattr *publ[TIPC_NLA_PUBL_MAX + 1]; __tipc_nl_compat_publ_dump() local [all...] |
H A D | name_table.c | 226 struct publication *publ = kzalloc(sizeof(*publ), GFP_ATOMIC); in tipc_publ_create() local 228 if (!publ) in tipc_publ_create() 231 publ->type = type; in tipc_publ_create() 232 publ->lower = lower; in tipc_publ_create() 233 publ->upper = upper; in tipc_publ_create() 234 publ->scope = scope; in tipc_publ_create() 235 publ->node = node; in tipc_publ_create() 236 publ->port = port; in tipc_publ_create() 237 publ in tipc_publ_create() [all...] |
H A D | socket.c | 2900 struct publication *publ; in tipc_sk_publish() local 2912 publ = tipc_nametbl_publish(net, seq->type, seq->lower, seq->upper, in tipc_sk_publish() 2914 if (unlikely(!publ)) in tipc_sk_publish() 2917 list_add(&publ->binding_sock, &tsk->publications); in tipc_sk_publish() 2927 struct publication *publ; in tipc_sk_withdraw() local 2934 list_for_each_entry_safe(publ, safe, &tsk->publications, binding_sock) { in tipc_sk_withdraw() 2936 if (publ->scope != scope) in tipc_sk_withdraw() 2938 if (publ->type != seq->type) in tipc_sk_withdraw() 2940 if (publ->lower != seq->lower) in tipc_sk_withdraw() 2942 if (publ in tipc_sk_withdraw() 3697 __tipc_nl_add_sk_publ(struct sk_buff *skb, struct netlink_callback *cb, struct publication *publ) __tipc_nl_add_sk_publ() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | dh_group5.c | 16 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument 18 wpabuf_free(*publ); in dh5_init() 19 *publ = dh_init(dh_groups_get(5), priv); in dh5_init() 20 if (*publ == NULL) in dh5_init() 26 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) in dh5_init_fixed() argument
|
H A D | dh_group5.h | 12 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ); 13 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ);
|
H A D | crypto_openssl.c | 747 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument 757 wpabuf_free(*publ); in dh5_init() 758 *publ = NULL; in dh5_init() 792 *publ = pubkey; in dh5_init() 808 wpabuf_free(*publ); in dh5_init() 809 *publ = NULL; in dh5_init() 842 *publ = pubkey; in dh5_init() 857 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) in dh5_init_fixed() argument 880 dh->pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NUL in dh5_init_fixed() [all...] |
H A D | crypto_wolfssl.c | 640 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument 650 wpabuf_free(*publ); in dh5_init() 651 *publ = NULL; in dh5_init() 682 *publ = pubkey; in dh5_init() 698 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) in dh5_init_fixed() argument 724 if (secret_sz != wpabuf_len(publ) || in dh5_init_fixed() 725 os_memcmp(secret, wpabuf_head(publ), secret_sz) != 0) in dh5_init_fixed()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | dh_group5.c | 16 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument 18 wpabuf_free(*publ); in dh5_init() 19 *publ = dh_init(dh_groups_get(5), priv); in dh5_init() 20 if (*publ == NULL) in dh5_init() 26 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) in dh5_init_fixed() argument
|
H A D | dh_group5.h | 12 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ); 13 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ);
|
H A D | crypto_wolfssl.c | 640 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument 650 wpabuf_free(*publ); in dh5_init() 651 *publ = NULL; in dh5_init() 682 *publ = pubkey; in dh5_init() 700 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) in dh5_init_fixed() argument 726 if (secret_sz != wpabuf_len(publ) || in dh5_init_fixed() 727 os_memcmp(secret, wpabuf_head(publ), secret_sz) != 0) in dh5_init_fixed()
|
H A D | crypto_openssl.c | 820 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument 830 wpabuf_free(*publ); in dh5_init() 831 *publ = NULL; in dh5_init() 865 *publ = pubkey; in dh5_init() 881 wpabuf_free(*publ); in dh5_init() 882 *publ = NULL; in dh5_init() 915 *publ = pubkey; in dh5_init() 930 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) in dh5_init_fixed() argument 953 dh->pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NUL in dh5_init_fixed() [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | name_distr.h | 70 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ); 71 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ);
|
H A D | netlink_compat.c | 900 struct nlattr *publ[TIPC_NLA_PUBL_MAX + 1]; in tipc_nl_compat_name_table_dump() local 918 err = nla_parse_nested_deprecated(publ, TIPC_NLA_PUBL_MAX, in tipc_nl_compat_name_table_dump() 932 (type != nla_get_u32(publ[TIPC_NLA_PUBL_TYPE]))) in tipc_nl_compat_name_table_dump() 934 if (lowbound && (lowbound > nla_get_u32(publ[TIPC_NLA_PUBL_UPPER]))) in tipc_nl_compat_name_table_dump() 936 if (upbound && (upbound < nla_get_u32(publ[TIPC_NLA_PUBL_LOWER]))) in tipc_nl_compat_name_table_dump() 940 nla_get_u32(publ[TIPC_NLA_PUBL_TYPE])); in tipc_nl_compat_name_table_dump() 946 nla_get_u32(publ[TIPC_NLA_PUBL_LOWER]), in tipc_nl_compat_name_table_dump() 947 nla_get_u32(publ[TIPC_NLA_PUBL_UPPER])); in tipc_nl_compat_name_table_dump() 952 node = nla_get_u32(publ[TIPC_NLA_PUBL_NODE]); in tipc_nl_compat_name_table_dump() 954 tipc_node(node), nla_get_u32(publ[TIPC_NLA_PUBL_RE in tipc_nl_compat_name_table_dump() 973 struct nlattr *publ[TIPC_NLA_PUBL_MAX + 1]; __tipc_nl_compat_publ_dump() local [all...] |
H A D | name_distr.c | 153 struct publication *publ; in named_distribute() local 161 list_for_each_entry(publ, pls, binding_node) { in named_distribute() 178 publ_to_item(item, publ); in named_distribute() 258 struct publication *publ, *tmp; in tipc_publ_notify() local 260 list_for_each_entry_safe(publ, tmp, nsub_list, binding_node) in tipc_publ_notify() 261 tipc_publ_purge(net, publ, addr); in tipc_publ_notify()
|
H A D | socket.c | 3707 struct publication *publ) in __tipc_nl_add_sk_publ() 3721 if (nla_put_u32(skb, TIPC_NLA_PUBL_KEY, publ->key)) in __tipc_nl_add_sk_publ() 3723 if (nla_put_u32(skb, TIPC_NLA_PUBL_TYPE, publ->sr.type)) in __tipc_nl_add_sk_publ() 3725 if (nla_put_u32(skb, TIPC_NLA_PUBL_LOWER, publ->sr.lower)) in __tipc_nl_add_sk_publ() 3727 if (nla_put_u32(skb, TIPC_NLA_PUBL_UPPER, publ->sr.upper)) in __tipc_nl_add_sk_publ() 3705 __tipc_nl_add_sk_publ(struct sk_buff *skb, struct netlink_callback *cb, struct publication *publ) __tipc_nl_add_sk_publ() argument
|
/third_party/libwebsockets/plugins/ssh-base/ |
H A D | kex-25519.c | 123 uint32_t l, publ, m; in ed25519_key_parse() local 152 publ = lws_g32(&p); /* length of pubkey block */ in ed25519_key_parse() 153 if ((size_t)((uint32_t)(p - op) + publ) >= len) in ed25519_key_parse() 171 publ = lws_g32(&p); /* length of private key block */ in ed25519_key_parse() 172 if ((size_t)((uint32_t)(p - op) + publ) != len) in ed25519_key_parse()
|
/third_party/pulseaudio/src/modules/raop/ |
H A D | raop-client.c | 1276 char *publ, *wath, *mth = NULL, *val; in rtsp_auth_cb() local 1343 publ = pa_xstrdup(pa_headerlist_gets(headers, "Public")); in rtsp_auth_cb() 1348 pa_xfree(publ); in rtsp_auth_cb()
|