/linux-6.6.21/net/can/ |
D | gw.c | 828 nla_memcpy(&mb, tb[CGW_FDMOD_AND], CGW_FDMODATTR_LEN); in cgw_parse_attr() 847 nla_memcpy(&mb, tb[CGW_FDMOD_OR], CGW_FDMODATTR_LEN); in cgw_parse_attr() 866 nla_memcpy(&mb, tb[CGW_FDMOD_XOR], CGW_FDMODATTR_LEN); in cgw_parse_attr() 885 nla_memcpy(&mb, tb[CGW_FDMOD_SET], CGW_FDMODATTR_LEN); in cgw_parse_attr() 906 nla_memcpy(&mb, tb[CGW_MOD_AND], CGW_MODATTR_LEN); in cgw_parse_attr() 922 nla_memcpy(&mb, tb[CGW_MOD_OR], CGW_MODATTR_LEN); in cgw_parse_attr() 938 nla_memcpy(&mb, tb[CGW_MOD_XOR], CGW_MODATTR_LEN); in cgw_parse_attr() 954 nla_memcpy(&mb, tb[CGW_MOD_SET], CGW_MODATTR_LEN); in cgw_parse_attr() 980 nla_memcpy(&mod->csum.crc8, tb[CGW_CS_CRC8], in cgw_parse_attr() 1003 nla_memcpy(&mod->csum.xor, tb[CGW_CS_XOR], in cgw_parse_attr() [all …]
|
/linux-6.6.21/include/net/ |
D | netlink.h | 523 int nla_memcpy(void *dest, const struct nlattr *src, int count); 1665 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_u64() 1678 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_be64() 1727 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_s64() 1771 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_in6_addr() 1783 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_bitfield32()
|
/linux-6.6.21/net/bridge/ |
D | br_cfm_netlink.c | 186 nla_memcpy(&config.unicast_mac.addr, in br_mep_config_parse() 230 nla_memcpy(&config.exp_maid.data, tb[IFLA_BRIDGE_CFM_CC_CONFIG_EXP_MAID], in br_cc_config_parse() 366 nla_memcpy(&tx_info.dmac.addr, in br_cc_ccm_tx_parse()
|
D | br_mdb.c | 1085 nla_memcpy(&src->addr.src, tb[MDBE_SRCATTR_ADDRESS], in br_mdb_config_src_entry_init()
|
/linux-6.6.21/net/sched/ |
D | act_vlan.c | 251 nla_memcpy(&p->tcfv_push_dst, tb[TCA_VLAN_PUSH_ETH_DST], in tcf_vlan_init() 253 nla_memcpy(&p->tcfv_push_src, tb[TCA_VLAN_PUSH_ETH_SRC], in tcf_vlan_init()
|
D | em_ipt.c | 169 nla_memcpy(im->match_data, tb[TCA_EM_IPT_MATCH_DATA], mdata_len); in em_ipt_change()
|
D | act_ct.c | 1184 nla_memcpy(val, tb[val_type], len); in tcf_ct_set_key_val() 1192 nla_memcpy(mask, tb[mask_type], len); in tcf_ct_set_key_val()
|
D | cls_flower.c | 795 nla_memcpy(val, tb[val_type], len); in fl_set_key_val() 799 nla_memcpy(mask, tb[mask_type], len); in fl_set_key_val()
|
/linux-6.6.21/include/linux/ |
D | genl_magic_struct.h | 93 nla_memcpy, nla_put, false)
|
/linux-6.6.21/net/ieee802154/ |
D | nl-phy.c | 230 nla_memcpy(&addr.sa_data, info->attrs[IEEE802154_ATTR_HW_ADDR], in ieee802154_add_iface()
|
D | nl-mac.c | 852 nla_memcpy(commands, in ieee802154_llsec_parse_key() 866 nla_memcpy(key->key, info->attrs[IEEE802154_ATTR_LLSEC_KEY_BYTES], in ieee802154_llsec_parse_key()
|
D | nl802154.c | 1940 nla_memcpy(commands, attrs[NL802154_KEY_ATTR_USAGE_CMDS], in nl802154_add_llsec_key() 1954 nla_memcpy(key.key, attrs[NL802154_KEY_ATTR_BYTES], NL802154_KEY_SIZE); in nl802154_add_llsec_key()
|
/linux-6.6.21/lib/ |
D | nlattr.c | 814 int nla_memcpy(void *dest, const struct nlattr *src, int count) in nla_memcpy() function 824 EXPORT_SYMBOL(nla_memcpy);
|
/linux-6.6.21/net/openvswitch/ |
D | vport.c | 418 nla_memcpy(vport_portids->ids, ids, nla_len(ids)); in ovs_vport_set_upcall_portids()
|
D | conntrack.c | 1111 nla_memcpy(&info->range.min_addr, a, in parse_nat() 1118 nla_memcpy(&info->range.max_addr, a, in parse_nat()
|
D | datapath.c | 620 nla_memcpy(__skb_put(packet, len), a[OVS_PACKET_ATTR_PACKET], len); in ovs_packet_cmd_execute() 1671 nla_memcpy(dp_nlsk_pids->pids, ids, nla_len(ids)); in ovs_dp_set_upcall_portids()
|
/linux-6.6.21/net/netfilter/ |
D | nf_nat_core.c | 986 nla_memcpy(&range->min_addr.ip6, tb[CTA_NAT_V6_MINIP], in nf_nat_ipv6_nlattr_to_range() 992 nla_memcpy(&range->max_addr.ip6, tb[CTA_NAT_V6_MAXIP], in nf_nat_ipv6_nlattr_to_range()
|
D | nfnetlink_cthelper.c | 108 nla_memcpy(help->data, attr, sizeof(help->data)); in nfnl_cthelper_from_nlattr()
|
D | nf_tables_api.c | 3962 nla_memcpy(udata->data, nla[NFTA_RULE_USERDATA], ulen); in nf_tables_newrule() 5121 nla_memcpy(udata, nla[NFTA_SET_USERDATA], udlen); in nf_tables_newset() 6845 nla_memcpy(&udata->data, nla[NFTA_SET_ELEM_USERDATA], ulen); in nft_add_set_elem() 10984 nla_memcpy(data->data, nla, len); in nft_value_init()
|
/linux-6.6.21/fs/smb/client/ |
D | cifs_swn.c | 574 nla_memcpy(&addr, info->attrs[CIFS_GENL_ATTR_SWN_IP], sizeof(addr)); in cifs_swn_notify()
|
/linux-6.6.21/net/tipc/ |
D | udp_media.c | 587 nla_memcpy(&sa, nla, sizeof(sa)); in tipc_parse_udp_addr()
|
/linux-6.6.21/net/ipv6/ |
D | ioam6.c | 345 nla_memcpy(sc->data, info->attrs[IOAM6_ATTR_SC_DATA], len); in ioam6_genl_addsc()
|
D | route.c | 5069 nla_memcpy(&cfg->fc_dst, tb[RTA_DST], plen); in rtm_to_fib6_config() 5078 nla_memcpy(&cfg->fc_src, tb[RTA_SRC], plen); in rtm_to_fib6_config()
|
/linux-6.6.21/drivers/net/ |
D | macsec.c | 1818 nla_memcpy(rx_sa->key.salt.bytes, tb_sa[MACSEC_SA_ATTR_SALT], in macsec_add_rxsa() 1845 nla_memcpy(rx_sa->key.id, tb_sa[MACSEC_SA_ATTR_KEYID], MACSEC_KEYID_LEN); in macsec_add_rxsa() 2061 nla_memcpy(tx_sa->key.salt.bytes, tb_sa[MACSEC_SA_ATTR_SALT], in macsec_add_txsa() 2088 nla_memcpy(tx_sa->key.id, tb_sa[MACSEC_SA_ATTR_KEYID], MACSEC_KEYID_LEN); in macsec_add_txsa()
|
/linux-6.6.21/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 3473 nla_memcpy(&usvc->addr, nla_addr, sizeof(usvc->addr)); in ip_vs_genl_parse_service() 3502 nla_memcpy(&flags, nla_flags, sizeof(flags)); in ip_vs_genl_parse_service() 3662 nla_memcpy(&udest->addr, nla_addr, sizeof(udest->addr)); in ip_vs_genl_parse_dest()
|