Home
last modified time | relevance | path

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

/Linux-v6.6/net/sched/
Dact_gate.c194 entry->ipv = nla_get_s32(tb[TCA_GATE_ENTRY_IPV]); in fill_gate_entry()
199 entry->maxoctets = nla_get_s32(tb[TCA_GATE_ENTRY_MAX_OCTETS]); in fill_gate_entry()
331 clockid = nla_get_s32(tb[TCA_GATE_CLOCKID]); in tcf_gate_init()
376 prio = nla_get_s32(tb[TCA_GATE_PRIORITY]); in tcf_gate_init()
Dsch_taprio.c1646 int clockid = nla_get_s32(tb[TCA_TAPRIO_ATTR_SCHED_CLOCKID]); in taprio_parse_clockid()
Dsch_cake.c2616 q->rate_overhead = nla_get_s32(tb[TCA_CAKE_OVERHEAD]); in cake_change()
/Linux-v6.6/net/core/
Dnet_namespace.c763 nsid = nla_get_s32(tb[NETNSA_NSID]); in rtnl_net_newid()
915 peer = get_net_ns_by_id(net, nla_get_s32(tb[NETNSA_NSID])); in rtnl_net_getid()
931 int id = nla_get_s32(tb[NETNSA_TARGET_NSID]); in rtnl_net_getid()
1019 net = rtnl_get_net_ns_capable(sk, nla_get_s32(tb[i])); in rtnl_valid_dump_net_req()
Drtnetlink.c2204 netnsid = nla_get_s32(tb[i]); in rtnl_dump_ifinfo()
2774 new_ifindex = nla_get_s32(tb[IFLA_NEW_IFINDEX]); in do_setlink()
3099 nla_get_s32(xdp[IFLA_XDP_EXPECTED_FD]); in do_setlink()
3103 nla_get_s32(xdp[IFLA_XDP_FD]), in do_setlink()
3255 netnsid = nla_get_s32(tb[IFLA_TARGET_NETNSID]); in rtnl_dellink()
3460 int id = nla_get_s32(tb[IFLA_LINK_NETNSID]); in rtnl_newlink_create()
3793 netnsid = nla_get_s32(tb[IFLA_TARGET_NETNSID]); in rtnl_getlink()
/Linux-v6.6/net/ipv6/ila/
Dila_xlat.c120 xp->ifindex = nla_get_s32(info->attrs[ILA_ATTR_IFINDEX]); in parse_nl_config()
/Linux-v6.6/lib/
Dnlattr.c293 value = nla_get_s32(nla); in nla_validate_int_range_signed()
/Linux-v6.6/drivers/net/
Dmacvlan.c1543 vlan, nla_get_s32(data[IFLA_MACVLAN_BC_CUTOFF])); in macvlan_common_newlink()
1643 vlan, nla_get_s32(data[IFLA_MACVLAN_BC_CUTOFF])); in macvlan_changelink()
/Linux-v6.6/drivers/net/bonding/
Dbond_netlink.c171 int prio = nla_get_s32(data[IFLA_BOND_SLAVE_PRIO]); in bond_slave_changelink()
/Linux-v6.6/include/net/
Dnetlink.h1696 static inline s32 nla_get_s32(const struct nlattr *nla) in nla_get_s32() function
/Linux-v6.6/net/ipv4/
Dfou_core.c728 ifindex = nla_get_s32(info->attrs[FOU_ATTR_IFINDEX]); in parse_nl_config()
Ddevinet.c1782 fillargs->netnsid = nla_get_s32(tb[i]); in inet_valid_dump_ifaddr_req()
2209 ifindex = nla_get_s32(tb[NETCONFA_IFINDEX]); in inet_netconf_get_devconf()
/Linux-v6.6/net/openvswitch/
Ddatapath.c1833 ? nla_get_s32(a[OVS_DP_ATTR_IFINDEX]) : 0; in ovs_dp_cmd_new()
2309 ? nla_get_s32(a[OVS_VPORT_ATTR_IFINDEX]) : 0; in ovs_vport_cmd_new()
/Linux-v6.6/net/ieee802154/
Dnl802154.c1035 ed_level = nla_get_s32(info->attrs[NL802154_ATTR_CCA_ED_LEVEL]); in nl802154_set_cca_ed_level()
1057 power = nla_get_s32(info->attrs[NL802154_ATTR_TX_POWER]); in nl802154_set_tx_power()
Dnl-mac.c515 params.cca_ed_level = nla_get_s32(info->attrs[IEEE802154_ATTR_CCA_ED_LEVEL]) * 100; in ieee802154_set_macparams()
/Linux-v6.6/drivers/net/vxlan/
Dvxlan_mdb.c575 nla_get_s32(mdbe_attrs[MDBE_ATTR_IFINDEX]); in vxlan_mdb_config_attrs_init()
/Linux-v6.6/drivers/net/ppp/
Dppp_generic.c1283 if (nla_get_s32(data[IFLA_PPP_DEV_FD]) < 0) in ppp_nl_validate()
1300 file = fget(nla_get_s32(data[IFLA_PPP_DEV_FD])); in ppp_nl_newlink()
/Linux-v6.6/net/bridge/
Dbr_fdb.c706 int err, ifidx = nla_get_s32(tb[NDA_IFINDEX]); in br_fdb_delete_bulk()
/Linux-v6.6/net/ipv6/
Daddrconf.c667 ifindex = nla_get_s32(tb[NETCONFA_IFINDEX]); in inet6_netconf_get_devconf()
5296 fillargs->netnsid = nla_get_s32(tb[i]); in inet6_valid_dump_ifaddr_req()
5484 fillargs.netnsid = nla_get_s32(tb[IFA_TARGET_NETNSID]); in inet6_rtm_getaddr()
/Linux-v6.6/net/mptcp/
Dpm_netlink.c1261 u32 val = nla_get_s32(tb[MPTCP_PM_ADDR_ATTR_IF_IDX]); in mptcp_pm_parse_entry()
/Linux-v6.6/net/mpls/
Daf_mpls.c1272 ifindex = nla_get_s32(tb[NETCONFA_IFINDEX]); in mpls_netconf_get_devconf()
/Linux-v6.6/drivers/net/team/
Dteam.c2664 ctx.data.s32_val = nla_get_s32(attr_data); in team_nl_cmd_options_set()
/Linux-v6.6/drivers/net/wireless/virtual/
Dmac80211_hwsim.c3619 result->rssi_avg = nla_get_s32(tb[NL80211_PMSR_FTM_RESP_ATTR_RSSI_AVG]); in mac80211_hwsim_parse_ftm_result()
3624 nla_get_s32(tb[NL80211_PMSR_FTM_RESP_ATTR_RSSI_SPREAD]); in mac80211_hwsim_parse_ftm_result()
/Linux-v6.6/drivers/target/
Dtarget_core_user.c385 rc = nla_get_s32(info->attrs[TCMU_ATTR_CMD_STATUS]); in tcmu_genl_cmd_done()
/Linux-v6.6/net/wireless/
Dnl80211.c8388 nla_get_s32); in nl80211_parse_mesh_config()
9519 match_sets->per_band_rssi_thold[band] = nla_get_s32(attr); in nl80211_parse_sched_scan_per_band_rssi()
9590 default_match_rssi = nla_get_s32(rssi); in nl80211_parse_sched_scan()
9798 nla_get_s32(rssi); in nl80211_parse_sched_scan()
16602 nla_get_s32(spec[NL80211_SAR_ATTR_SPECS_POWER]); in nl80211_set_sar_sub_specs()