Home
last modified time | relevance | path

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

/linux/drivers/net/can/
H A Dvxcan.c230 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
259 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
/linux/net/devlink/
H A Dnetlink.c65 data_offset += nla_strscpy(pos, in devlink_nl_notify_filter_set_doit()
72 nla_strscpy(pos, attrs[DEVLINK_ATTR_DEV_NAME], in devlink_nl_notify_filter_set_doit()
/linux/net/netfilter/ipset/
H A Dip_set_hash_netiface.c228 nla_strscpy(e.iface, tb[IPSET_ATTR_IFACE], IFNAMSIZ); in hash_netiface4_uadt()
450 nla_strscpy(e.iface, tb[IPSET_ATTR_IFACE], IFNAMSIZ); in hash_netiface6_uadt()
/linux/net/netfilter/
H A Dnfnetlink_cthelper.c162 nla_strscpy(expect_policy->name, in nfnl_cthelper_expect_policy()
249 nla_strscpy(helper->name, in nfnl_cthelper_create()
H A Dnfnetlink_hook.c429 nla_strscpy(name, nla[NFNLA_HOOK_DEV], sizeof(name)); in nfnl_hook_dump_start()
H A Dnfnetlink_cttimeout.c171 nla_strscpy(timeout->name, cda[CTA_TIMEOUT_NAME], sizeof(timeout->name)); in cttimeout_new_timeout()
H A Dnft_ct.c1043 nla_strscpy(name, tb[NFTA_CT_HELPER_NAME], sizeof(name)); in nft_ct_helper_obj_init()
H A Dnf_tables_api.c1897 nla_strscpy(search, nla, sizeof(search)); in nft_chain_lookup()
2412 err = nla_strscpy(hook->ifname, attr, IFNAMSIZ); in nft_netdev_hook_alloc()
8105 nla_strscpy(search, nla, sizeof(search)); in nft_obj_lookup()
/linux/lib/
H A Dnlattr.c772 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy() function
799 EXPORT_SYMBOL(nla_strscpy);
/linux/net/netlabel/
H A Dnetlabel_mgmt.c99 nla_strscpy(entry->domain, in netlbl_mgmt_add_common()
/linux/net/core/
H A Dfib_rules.c612 nla_strscpy(nlrule->iifname, tb[FRA_IIFNAME], IFNAMSIZ); in fib_nl2rule()
617 nla_strscpy(nlrule->oifname, tb[FRA_OIFNAME], IFNAMSIZ); in fib_nl2rule()
H A Drtnetlink.c2415 nla_strscpy(kind, linfo[IFLA_INFO_KIND], sizeof(kind)); in linkinfo_to_kind_ops()
3158 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in do_setlink()
3532 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_dev_get()
3534 nla_strscpy(ifname, tb[IFLA_ALT_IFNAME], ALTIFNAMSIZ); in rtnl_dev_get()
3547 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_dev_get_rcu()
3549 nla_strscpy(ifname, tb[IFLA_ALT_IFNAME], ALTIFNAMSIZ); in rtnl_dev_get_rcu()
3953 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_newlink_create()
4141 nla_strscpy(kind, linkinfo[IFLA_INFO_KIND], sizeof(kind)); in rtnl_newlink()
/linux/fs/smb/client/
H A Dcifs_swn.c699 nla_strscpy(name, info->attrs[CIFS_GENL_ATTR_SWN_RESOURCE_NAME], in cifs_swn_notify()
/linux/include/net/
H A Dpkt_cls.h574 if (nla_strscpy(indev, indev_tlv, IFNAMSIZ) < 0) { in tcf_change_indev()
/linux/drivers/net/
H A Dveth.c1850 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in veth_newlink()
1895 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in veth_newlink()
/linux/net/sunrpc/
H A Dsvcauth_unix.c1440 nla_strscpy(class, tb[SUNRPC_A_IP_MAP_CLASS], sizeof(class)); in sunrpc_nl_parse_one_ip_map()
/linux/net/tipc/
H A Dnetlink_compat.c699 nla_strscpy(link_info.str, link[TIPC_NLA_LINK_NAME], in tipc_nl_compat_link_dump()
/linux/net/nfc/
H A Dnetlink.c1245 nla_strscpy(firmware_name, info->attrs[NFC_ATTR_FIRMWARE_NAME], in nfc_genl_fw_download()
/linux/net/sched/
H A Dact_api.c1358 if (nla_strscpy(act_name, kind, IFNAMSIZ) < 0) { in tc_action_load_ops()
H A Dsch_api.c1815 if (nla_strscpy(name, kind, IFNAMSIZ) >= 0) { in request_qdisc_module()
H A Dcls_api.c347 return nla_strscpy(name, kind, IFNAMSIZ) < 0; in tcf_proto_check_kind()
/linux/net/ipv4/
H A Dfib_semantics.c1083 nla_strscpy(tmp, nla, sizeof(tmp)); in fib_metrics_match()
H A Ddevinet.c929 nla_strscpy(ifa->ifa_label, tb[IFA_LABEL], IFNAMSIZ); in inet_rtm_to_ifa()