Home
last modified time | relevance | path

Searched refs:nla_strscpy (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/net/sched/
Dact_simple.c57 nla_strscpy(d->tcfd_defdata, defdata, SIMP_MAX_DATA); in alloc_defdata()
76 nla_strscpy(d->tcfd_defdata, defdata, SIMP_MAX_DATA); in reset_policy()
Dact_api.c1318 if (nla_strscpy(act_name, kind, IFNAMSIZ) < 0) { in tc_action_load_ops()
/linux-6.6.21/drivers/net/can/
Dvxcan.c203 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
240 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
/linux-6.6.21/net/ipv4/
Dmetrics.c33 nla_strscpy(tmp, nla, sizeof(tmp)); in ip_metrics_convert()
Dfib_semantics.c1032 nla_strscpy(tmp, nla, sizeof(tmp)); in fib_metrics_match()
/linux-6.6.21/net/netfilter/ipset/
Dip_set_hash_netiface.c229 nla_strscpy(e.iface, tb[IPSET_ATTR_IFACE], IFNAMSIZ); in hash_netiface4_uadt()
451 nla_strscpy(e.iface, tb[IPSET_ATTR_IFACE], IFNAMSIZ); in hash_netiface6_uadt()
/linux-6.6.21/include/linux/
Dgenl_magic_struct.h90 nla_strscpy, nla_put, false)
/linux-6.6.21/net/netfilter/
Dnfnetlink_cthelper.c153 nla_strscpy(expect_policy->name, in nfnl_cthelper_expect_policy()
240 nla_strscpy(helper->name, in nfnl_cthelper_create()
Dnft_log.c169 nla_strscpy(priv->prefix, nla, nla_len(nla) + 1); in nft_log_init()
Dnfnetlink_hook.c362 nla_strscpy(name, nla[NFNLA_HOOK_DEV], sizeof(name)); in nfnl_hook_dump_start()
Dnfnetlink_acct.c126 nla_strscpy(nfacct->name, tb[NFACCT_NAME], NFACCT_NAME_MAX); in nfnl_acct_new()
Dnft_ct.c1068 nla_strscpy(name, tb[NFTA_CT_HELPER_NAME], sizeof(name)); in nft_ct_helper_obj_init()
/linux-6.6.21/lib/
Dnlattr.c750 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy() function
777 EXPORT_SYMBOL(nla_strscpy);
/linux-6.6.21/drivers/infiniband/core/
Dnldev.c1088 nla_strscpy(name, tb[RDMA_NLDEV_ATTR_DEV_NAME], in nldev_set_doit()
1708 nla_strscpy(ibdev_name, tb[RDMA_NLDEV_ATTR_DEV_NAME], in nldev_newlink()
1713 nla_strscpy(type, tb[RDMA_NLDEV_ATTR_LINK_TYPE], sizeof(type)); in nldev_newlink()
1714 nla_strscpy(ndev_name, tb[RDMA_NLDEV_ATTR_NDEV_NAME], in nldev_newlink()
1781 nla_strscpy(client_name, tb[RDMA_NLDEV_ATTR_CHARDEV_TYPE], in nldev_get_chardev()
/linux-6.6.21/fs/smb/client/
Dcifs_swn.c556 nla_strscpy(name, info->attrs[CIFS_GENL_ATTR_SWN_RESOURCE_NAME], in cifs_swn_notify()
/linux-6.6.21/kernel/
Dtaskstats.c371 nla_strscpy(data, na, len); in parse()
/linux-6.6.21/net/core/
Dfib_rules.c566 nla_strscpy(nlrule->iifname, tb[FRA_IIFNAME], IFNAMSIZ); in fib_nl2rule()
576 nla_strscpy(nlrule->oifname, tb[FRA_OIFNAME], IFNAMSIZ); in fib_nl2rule()
Drtnetlink.c2049 nla_strscpy(kind, linfo[IFLA_INFO_KIND], sizeof(kind)); in linkinfo_to_kind_ops()
2757 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in do_setlink()
3131 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_dev_get()
3133 nla_strscpy(ifname, tb[IFLA_ALT_IFNAME], ALTIFNAMSIZ); in rtnl_dev_get()
3449 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_newlink_create()
3592 nla_strscpy(kind, linkinfo[IFLA_INFO_KIND], sizeof(kind)); in __rtnl_newlink()
/linux-6.6.21/net/netlabel/
Dnetlabel_mgmt.c99 nla_strscpy(entry->domain, in netlbl_mgmt_add_common()
/linux-6.6.21/include/net/
Dpkt_cls.h549 if (nla_strscpy(indev, indev_tlv, IFNAMSIZ) < 0) { in tcf_change_indev()
Dnetlink.h521 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize);
/linux-6.6.21/drivers/net/
Dveth.c1862 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in veth_newlink()
1915 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in veth_newlink()
/linux-6.6.21/net/ieee802154/
Dnl-mac.c152 nla_strscpy(name, info->attrs[IEEE802154_ATTR_DEV_NAME], in ieee802154_nl_get_dev()
/linux-6.6.21/net/tipc/
Dnetlink_compat.c698 nla_strscpy(link_info.str, link[TIPC_NLA_LINK_NAME], in tipc_nl_compat_link_dump()
/linux-6.6.21/net/nfc/
Dnetlink.c1242 nla_strscpy(firmware_name, info->attrs[NFC_ATTR_FIRMWARE_NAME], in nfc_genl_fw_download()

12