Home
last modified time | relevance | path

Searched refs:keys (Results 1 – 25 of 41) sorted by relevance

12

/net/core/
A Dflow_dissector.c1775 swap(keys->addrs.v4addrs.src, keys->addrs.v4addrs.dst); in __flow_hash_consistentify()
1779 swap(keys->ports.src, keys->ports.dst); in __flow_hash_consistentify()
1793 swap(keys->ports.src, keys->ports.dst); in __flow_hash_consistentify()
1829 struct flow_keys *keys, in ___skb_get_hash() argument
1869 struct flow_keys keys; in __skb_get_hash_symmetric_net() local
1873 memset(&keys, 0, sizeof(keys)); in __skb_get_hash_symmetric_net()
1893 struct flow_keys keys; in __skb_get_hash_net() local
1896 memset(&keys, 0, sizeof(keys)); in __skb_get_hash_net()
1899 &keys, NULL, 0, 0, 0, in __skb_get_hash_net()
1913 struct flow_keys keys; in skb_get_hash_perturb() local
[all …]
/net/wireless/
A Dwext-compat.c416 if (!wdev->wext.keys) { in cfg80211_set_encryption()
417 wdev->wext.keys = kzalloc(sizeof(*wdev->wext.keys), in cfg80211_set_encryption()
419 if (!wdev->wext.keys) in cfg80211_set_encryption()
422 wdev->wext.keys->params[i].key = in cfg80211_set_encryption()
423 wdev->wext.keys->data[i]; in cfg80211_set_encryption()
473 memset(wdev->wext.keys->data[idx], 0, in cfg80211_set_encryption()
514 wdev->wext.keys->params[idx] = *params; in cfg80211_set_encryption()
515 memcpy(wdev->wext.keys->data[idx], in cfg80211_set_encryption()
517 wdev->wext.keys->params[idx].key = in cfg80211_set_encryption()
518 wdev->wext.keys->data[idx]; in cfg80211_set_encryption()
[all …]
A Dwext-sme.c37 if (wdev->wext.keys) { in cfg80211_mgd_wext_connect()
38 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_mgd_wext_connect()
46 if (wdev->wext.keys && wdev->wext.keys->def != -1) { in cfg80211_mgd_wext_connect()
47 ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL); in cfg80211_mgd_wext_connect()
A Dibss.c267 if (wdev->wext.keys) in cfg80211_ibss_wext_join()
268 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_ibss_wext_join()
272 if (wdev->wext.keys && wdev->wext.keys->def != -1) { in cfg80211_ibss_wext_join()
273 ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL); in cfg80211_ibss_wext_join()
A DKconfig97 keys in the certs/ directory.
100 bool "allow regdb keys shipped with the kernel" if CFG80211_CERTIFICATION_ONUS
104 Allow the regulatory database to be signed by one of the keys for
/net/ipv4/
A Droute.c1945 struct flow_keys keys, hash_keys; in fib_multipath_custom_hash_outer() local
1961 hash_keys.ports.src = keys.ports.src; in fib_multipath_custom_hash_outer()
1963 hash_keys.ports.dst = keys.ports.dst; in fib_multipath_custom_hash_outer()
1974 struct flow_keys keys, hash_keys; in fib_multipath_custom_hash_inner() local
1987 skb_flow_dissect_flow_keys(skb, &keys, 0); in fib_multipath_custom_hash_inner()
2011 hash_keys.ports.src = keys.ports.src; in fib_multipath_custom_hash_inner()
2013 hash_keys.ports.dst = keys.ports.dst; in fib_multipath_custom_hash_inner()
2083 struct flow_keys keys; in fib_multipath_hash() local
2093 flkeys = &keys; in fib_multipath_hash()
2120 struct flow_keys keys; in fib_multipath_hash() local
[all …]
/net/mac802154/
A Dllsec.c35 INIT_LIST_HEAD(&sec->table.keys); in mac802154_llsec_init()
63 list_for_each_entry_safe(key, kn, &sec->table.keys, list) { in mac802154_llsec_destroy()
223 list_for_each_entry(pos, &sec->table.keys, list) { in mac802154_llsec_key_add()
259 list_add_rcu(&new->list, &sec->table.keys); in mac802154_llsec_key_add()
285 list_for_each_entry(pos, &sec->table.keys, list) { in mac802154_llsec_key_del()
347 list_for_each_entry_safe(pos, pn, &dev->dev.keys, list) { in llsec_dev_free()
378 INIT_LIST_HEAD(&entry->dev.keys); in mac802154_llsec_dev_add()
418 list_for_each_entry_rcu(devkey, &dev->dev.keys, list) { in llsec_devkey_find()
449 list_add_tail_rcu(&devkey->devkey.list, &dev->dev.keys); in mac802154_llsec_devkey_add()
570 list_for_each_entry_rcu(key_entry, &sec->table.keys, list) { in llsec_lookup_key()
[all …]
/net/sched/
A Dsch_choke.c134 struct flow_keys_digest keys; member
159 make_flow_keys_digest(&choke_skb_cb(skb1)->keys, &temp); in choke_match_flow()
165 make_flow_keys_digest(&choke_skb_cb(skb2)->keys, &temp); in choke_match_flow()
168 return !memcmp(&choke_skb_cb(skb1)->keys, in choke_match_flow()
169 &choke_skb_cb(skb2)->keys, in choke_match_flow()
170 sizeof(choke_skb_cb(skb1)->keys)); in choke_match_flow()
A Dcls_flower.c2154 keys[cnt].key_id = id; \
2171 FL_KEY_SET_IF_MASKED(mask, keys, cnt, in fl_init_dissector()
2175 FL_KEY_SET_IF_MASKED(mask, keys, cnt, in fl_init_dissector()
2177 FL_KEY_SET_IF_MASKED(mask, keys, cnt, in fl_init_dissector()
2179 FL_KEY_SET_IF_MASKED(mask, keys, cnt, in fl_init_dissector()
2181 FL_KEY_SET_IF_MASKED(mask, keys, cnt, in fl_init_dissector()
2183 FL_KEY_SET_IF_MASKED(mask, keys, cnt, in fl_init_dissector()
2185 FL_KEY_SET_IF_MASKED(mask, keys, cnt, in fl_init_dissector()
2187 FL_KEY_SET_IF_MASKED(mask, keys, cnt, in fl_init_dissector()
2189 FL_KEY_SET_IF_MASKED(mask, keys, cnt, in fl_init_dissector()
[all …]
A Dsch_cake.c589 if (ip != keys->addrs.v4addrs.src) { in cake_update_flowkeys()
590 keys->addrs.v4addrs.src = ip; in cake_update_flowkeys()
594 if (ip != keys->addrs.v4addrs.dst) { in cake_update_flowkeys()
595 keys->addrs.v4addrs.dst = ip; in cake_update_flowkeys()
599 if (keys->ports.ports) { in cake_update_flowkeys()
603 if (port != keys->ports.src) { in cake_update_flowkeys()
604 keys->ports.src = port; in cake_update_flowkeys()
608 if (port != keys->ports.dst) { in cake_update_flowkeys()
609 port = keys->ports.dst; in cake_update_flowkeys()
698 struct flow_keys keys, host_keys; in cake_hash() local
[all …]
A Dact_pedit.c249 nparms->tcfp_keys = kmemdup(parm->keys, ksize, GFP_KERNEL); in tcf_pedit_init()
511 s = struct_size(opt, keys, parms->tcfp_nkeys); in tcf_pedit_dump()
520 memcpy(opt->keys, parms->tcfp_keys, in tcf_pedit_dump()
521 flex_array_size(opt, keys, parms->tcfp_nkeys)); in tcf_pedit_dump()
A Dcls_flow.c308 u32 keys[FLOW_KEY_MAX + 1]; in flow_classify() local
321 keys[n] = flow_key_get(skb, key, &flow_keys); in flow_classify()
325 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify()
327 classid = keys[0]; in flow_classify()
A Dcls_u32.c139 struct tc_u32_key *key = n->sel.keys; in u32_classify()
829 new = kzalloc(struct_size(new, sel.keys, s->nkeys), GFP_KERNEL); in u32_init_knode()
856 memcpy(&new->sel, s, struct_size(s, keys, s->nkeys)); in u32_init_knode()
1102 sel_size = struct_size(s, keys, s->nkeys); in u32_change()
1108 n = kzalloc(struct_size(n, sel.keys, s->nkeys), GFP_KERNEL); in u32_change()
1371 if (nla_put(skb, TCA_U32_SEL, struct_size(&n->sel, keys, n->sel.nkeys), in u32_dump()
/net/rxrpc/
A Drxgk.c111 gk = conn->rxgk.keys[key_number & mask]; in rxgk_rekey()
133 if (WARN_ON(conn->rxgk.keys[key_number & mask])) in rxgk_rekey()
138 gk = conn->rxgk.keys[current_key & mask]; in rxgk_rekey()
149 dead = conn->rxgk.keys[(current_key - 2) & mask]; in rxgk_rekey()
150 conn->rxgk.keys[(current_key - 2) & mask] = NULL; in rxgk_rekey()
152 conn->rxgk.keys[current_key & mask] = gk; in rxgk_rekey()
196 gk = conn->rxgk.keys[key_number & mask]; in rxgk_get_key()
219 gk = conn->rxgk.keys[current_key & mask]; in rxgk_get_key()
255 conn->rxgk.keys[gk->key_number & 3] = gk; in rxgk_init_connection_security()
1326 for (i = 0; i < ARRAY_SIZE(conn->rxgk.keys); i++) in rxgk_clear()
[all …]
/net/mac80211/
A Dkey.c357 sdata->keys[idx]); in __ieee80211_set_default_key()
563 rcu_assign_pointer(sdata->keys[idx], new); in ieee80211_key_replace()
896 sdata->keys[idx]); in ieee80211_key_link()
1079 struct list_head *keys) in ieee80211_free_keys_iface() argument
1094 list_add_tail(&key->list, keys); in ieee80211_free_keys_iface()
1101 struct list_head *keys) in ieee80211_remove_link_keys() argument
1115 list_add_tail(&key->list, keys); in ieee80211_remove_link_keys()
1120 struct list_head *keys) in ieee80211_free_key_list() argument
1137 LIST_HEAD(keys); in ieee80211_free_keys()
1144 ieee80211_free_keys_iface(sdata, &keys); in ieee80211_free_keys()
[all …]
A Dkey.h160 struct list_head *keys);
162 struct list_head *keys);
A Dlink.c183 LIST_HEAD(keys); in ieee80211_tear_down_links()
194 ieee80211_remove_link_keys(link, &keys); in ieee80211_tear_down_links()
201 ieee80211_free_key_list(sdata->local, &keys); in ieee80211_tear_down_links()
/net/sctp/
A Dobjcnt.c40 SCTP_DBG_OBJCNT(keys);
55 SCTP_DBG_OBJCNT_ENTRY(keys),
A Dauth.c53 SCTP_DBG_OBJCNT_DEC(keys); in sctp_auth_key_put()
73 SCTP_DBG_OBJCNT_INC(keys); in sctp_auth_create_key()
118 void sctp_auth_destroy_keys(struct list_head *keys) in sctp_auth_destroy_keys() argument
123 if (list_empty(keys)) in sctp_auth_destroy_keys()
126 key_for_each_safe(ep_key, tmp, keys) { in sctp_auth_destroy_keys()
/net/ethernet/
A Deth.c129 struct flow_keys_basic keys; in eth_get_headlen() local
136 if (!skb_flow_dissect_flow_keys_basic(dev_net(dev), NULL, &keys, data, in eth_get_headlen()
139 return max_t(u32, keys.control.thoff, sizeof(*eth)); in eth_get_headlen()
142 return min_t(u32, __skb_get_poff(NULL, data, &keys, len), len); in eth_get_headlen()
/net/bluetooth/hidp/
A Dcore.c181 unsigned char *keys = session->keys; in hidp_input_report() local
197 if (keys[i] > 3 && memscan(udata + 2, keys[i], 6) == udata + 8) { in hidp_input_report()
198 if (hidp_keycode[keys[i]]) in hidp_input_report()
199 input_report_key(dev, hidp_keycode[keys[i]], 0); in hidp_input_report()
201 BT_ERR("Unknown key (scancode %#x) released.", keys[i]); in hidp_input_report()
204 if (udata[i] > 3 && memscan(keys + 2, udata[i], 6) == keys + 8) { in hidp_input_report()
212 memcpy(keys, udata, 8); in hidp_input_report()
/net/ipv6/
A Droute.c2343 struct flow_keys *keys, in ip6_multipath_l3_keys() argument
2392 struct flow_keys keys, hash_keys; in rt6_multipath_custom_hash_outer() local
2410 hash_keys.ports.src = keys.ports.src; in rt6_multipath_custom_hash_outer()
2412 hash_keys.ports.dst = keys.ports.dst; in rt6_multipath_custom_hash_outer()
2423 struct flow_keys keys, hash_keys; in rt6_multipath_custom_hash_inner() local
2460 hash_keys.ports.src = keys.ports.src; in rt6_multipath_custom_hash_inner()
2462 hash_keys.ports.dst = keys.ports.dst; in rt6_multipath_custom_hash_inner()
2534 struct flow_keys keys; in rt6_multipath_hash() local
2544 flkeys = &keys; in rt6_multipath_hash()
2570 struct flow_keys keys; in rt6_multipath_hash() local
[all …]
/net/mctp/
A Droute.c200 hlist_for_each_entry(key, &net->mctp.keys, hlist) { in mctp_lookup_key()
279 hlist_for_each_entry(tmp, &net->mctp.keys, hlist) { in mctp_key_add()
296 hlist_add_head(&key->hlist, &net->mctp.keys); in mctp_key_add()
297 hlist_add_head(&key->sklist, &msk->keys); in mctp_key_add()
712 hlist_add_head_rcu(&key->hlist, &mns->keys); in mctp_reserve_tag()
713 hlist_add_head_rcu(&key->sklist, &msk->keys); in mctp_reserve_tag()
748 hlist_for_each_entry(tmp, &mns->keys, hlist) { in mctp_alloc_local_tag()
819 hlist_for_each_entry(tmp, &mns->keys, hlist) { in mctp_lookup_prealloc_tag()
1727 INIT_HLIST_HEAD(&ns->keys); in mctp_routes_net_init()
A Daf_mctp.c571 hlist_for_each_entry_safe(key, tmp, &msk->keys, sklist) { in mctp_ioctl_droptag()
663 hlist_for_each_entry_safe(key, tmp, &msk->keys, sklist) { in mctp_sk_expire_keys()
697 INIT_HLIST_HEAD(&msk->keys); in mctp_sk_init()
770 hlist_for_each_entry_safe(key, tmp, &msk->keys, sklist) { in mctp_sk_unhash()
/net/ceph/
A Dauth_x_protocol.h47 __le32 keys; member

Completed in 80 milliseconds

12