/net/ieee802154/ |
D | nl-mac.c | 1225 struct ieee802154_llsec_seclevel *sl) in llsec_parse_seclevel() argument 1227 memset(sl, 0, sizeof(*sl)); in llsec_parse_seclevel() 1234 sl->frame_type = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_TYPE]); in llsec_parse_seclevel() 1235 if (sl->frame_type == IEEE802154_FC_TYPE_MAC_CMD) { in llsec_parse_seclevel() 1239 sl->cmd_frame_id = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_CMD_FRAME_ID]); in llsec_parse_seclevel() 1242 sl->sec_levels = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_SECLEVELS]); in llsec_parse_seclevel() 1243 sl->device_override = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_DEV_OVERRIDE]); in llsec_parse_seclevel() 1251 struct ieee802154_llsec_seclevel sl; in llsec_add_seclevel() local 1253 if (llsec_parse_seclevel(info, &sl)) in llsec_add_seclevel() 1256 return ops->llsec->add_seclevel(dev, &sl); in llsec_add_seclevel() [all …]
|
D | nl802154.c | 2341 const struct ieee802154_llsec_seclevel *sl) in nl802154_send_seclevel() argument 2357 if (nla_put_u32(msg, NL802154_SECLEVEL_ATTR_FRAME, sl->frame_type) || in nl802154_send_seclevel() 2358 nla_put_u32(msg, NL802154_SECLEVEL_ATTR_LEVELS, sl->sec_levels) || in nl802154_send_seclevel() 2360 sl->device_override)) in nl802154_send_seclevel() 2363 if (sl->frame_type == NL802154_FRAME_CMD) { in nl802154_send_seclevel() 2365 sl->cmd_frame_id)) in nl802154_send_seclevel() 2383 struct ieee802154_llsec_seclevel *sl; in nl802154_dump_llsec_seclevel() local 2409 list_for_each_entry(sl, &table->security_levels, list) { in nl802154_dump_llsec_seclevel() 2413 rdev, wpan_dev->netdev, sl) < 0) { in nl802154_dump_llsec_seclevel() 2440 llsec_parse_seclevel(struct nlattr *nla, struct ieee802154_llsec_seclevel *sl) in llsec_parse_seclevel() argument [all …]
|
D | rdev-ops.h | 330 const struct ieee802154_llsec_seclevel *sl) in rdev_add_seclevel() argument 332 return rdev->ops->add_seclevel(&rdev->wpan_phy, wpan_dev, sl); in rdev_add_seclevel() 338 const struct ieee802154_llsec_seclevel *sl) in rdev_del_seclevel() argument 340 return rdev->ops->del_seclevel(&rdev->wpan_phy, wpan_dev, sl); in rdev_del_seclevel()
|
/net/mac802154/ |
D | llsec.c | 43 struct ieee802154_llsec_seclevel *sl, *sn; in mac802154_llsec_destroy() local 47 list_for_each_entry_safe(sl, sn, &sec->table.security_levels, list) { in mac802154_llsec_destroy() 50 msl = container_of(sl, struct mac802154_llsec_seclevel, level); in mac802154_llsec_destroy() 51 list_del(&sl->list); in mac802154_llsec_destroy() 476 const struct ieee802154_llsec_seclevel *sl) in llsec_find_seclevel() argument 481 if (pos->frame_type != sl->frame_type || in llsec_find_seclevel() 483 pos->cmd_frame_id != sl->cmd_frame_id) || in llsec_find_seclevel() 484 pos->device_override != sl->device_override || in llsec_find_seclevel() 485 pos->sec_levels != sl->sec_levels) in llsec_find_seclevel() 496 const struct ieee802154_llsec_seclevel *sl) in mac802154_llsec_seclevel_add() argument [all …]
|
D | mib.c | 164 const struct ieee802154_llsec_seclevel *sl) in mac802154_add_seclevel() argument 172 res = mac802154_llsec_seclevel_add(&sdata->sec, sl); in mac802154_add_seclevel() 179 const struct ieee802154_llsec_seclevel *sl) in mac802154_del_seclevel() argument 187 res = mac802154_llsec_seclevel_del(&sdata->sec, sl); in mac802154_del_seclevel()
|
D | llsec.h | 92 const struct ieee802154_llsec_seclevel *sl); 94 const struct ieee802154_llsec_seclevel *sl);
|
D | cfg.c | 416 const struct ieee802154_llsec_seclevel *sl) in ieee802154_add_seclevel() argument 423 res = mac802154_llsec_seclevel_add(&sdata->sec, sl); in ieee802154_add_seclevel() 431 const struct ieee802154_llsec_seclevel *sl) in ieee802154_del_seclevel() argument 438 res = mac802154_llsec_seclevel_del(&sdata->sec, sl); in ieee802154_del_seclevel()
|
D | ieee802154_i.h | 259 const struct ieee802154_llsec_seclevel *sl); 261 const struct ieee802154_llsec_seclevel *sl);
|
/net/dccp/ |
D | proto.c | 418 struct dccp_service_list *sl = NULL; in dccp_setsockopt_service() local 425 sl = kmalloc(optlen, GFP_KERNEL); in dccp_setsockopt_service() 426 if (sl == NULL) in dccp_setsockopt_service() 429 sl->dccpsl_nr = optlen / sizeof(u32) - 1; in dccp_setsockopt_service() 430 if (copy_from_sockptr_offset(sl->dccpsl_list, optval, in dccp_setsockopt_service() 432 dccp_list_has_service(sl, DCCP_SERVICE_INVALID_VALUE)) { in dccp_setsockopt_service() 433 kfree(sl); in dccp_setsockopt_service() 443 dp->dccps_service_list = sl; in dccp_setsockopt_service() 592 const struct dccp_service_list *sl; in dccp_getsockopt_service() local 596 if ((sl = dp->dccps_service_list) != NULL) { in dccp_getsockopt_service() [all …]
|
/net/rds/ |
D | ib.c | 310 iinfo->sl = ic->i_sl; in rds_ib_conn_info_visitor() 347 iinfo6->sl = ic->i_sl; in rds6_ib_conn_info_visitor()
|
D | rdma_transport.c | 107 cm_id->route.path_rec[0].sl = in rds_rdma_cm_event_handler_cmn()
|
D | ib_cm.c | 131 ic->i_sl = ic->i_cm_id->route.path_rec->sl; in rds_ib_cm_connect_complete()
|