Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/infiniband/ulp/ipoib/
Dipoib_netlink.c79 mode = nla_get_u16(data[IFLA_IPOIB_MODE]); in ipoib_changelink()
92 umcast = nla_get_u16(data[IFLA_IPOIB_UMCAST]); in ipoib_changelink()
127 child_pkey = nla_get_u16(data[IFLA_IPOIB_PKEY]); in ipoib_new_child_link()
/linux-6.1.9/drivers/infiniband/core/
Diwpm_msg.c411 iwpm_version = nla_get_u16(nltb[IWPM_NLA_RREG_ULIB_VER]); in iwpm_register_pid_cb()
570 err_code = nla_get_u16(nltb[IWPM_NLA_RQUERY_MAPPING_ERR]); in iwpm_add_and_query_mapping_cb()
709 iwpm_version = nla_get_u16(nltb[IWPM_NLA_MAPINFO_ULIB_VER]); in iwpm_mapping_info_cb()
790 err_code = nla_get_u16(nltb[IWPM_NLA_ERR_CODE]); in iwpm_mapping_error_cb()
837 abi_version = nla_get_u16(nltb[IWPM_NLA_HELLO_ABI_VERSION]); in iwpm_hello_cb()
/linux-6.1.9/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.c142 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_newlink()
282 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_rtnl_validate()
310 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_changelink()
/linux-6.1.9/drivers/net/ipvlan/
Dipvlan_main.c453 u16 nmode = nla_get_u16(data[IFLA_IPVLAN_MODE]); in ipvlan_nl_changelink()
459 u16 flags = nla_get_u16(data[IFLA_IPVLAN_FLAGS]); in ipvlan_nl_changelink()
490 u16 mode = nla_get_u16(data[IFLA_IPVLAN_MODE]); in ipvlan_nl_validate()
496 u16 flags = nla_get_u16(data[IFLA_IPVLAN_FLAGS]); in ipvlan_nl_validate()
626 port->flags = nla_get_u16(data[IFLA_IPVLAN_FLAGS]); in ipvlan_link_new()
629 mode = nla_get_u16(data[IFLA_IPVLAN_MODE]); in ipvlan_link_new()
/linux-6.1.9/net/bridge/
Dbr_netlink_tunnel.c239 vid = nla_get_u16(tb[IFLA_BRIDGE_VLAN_TUNNEL_VID]); in br_parse_vlan_tunnel_info()
244 flags = nla_get_u16(tb[IFLA_BRIDGE_VLAN_TUNNEL_FLAGS]); in br_parse_vlan_tunnel_info()
Dbr_vlan_options.c575 msti = nla_get_u16(tb[BRIDGE_VLANDB_GOPTS_MSTI]); in br_vlan_process_global_one_opts()
637 vid = nla_get_u16(tb[BRIDGE_VLANDB_GOPTS_ID]); in br_vlan_rtm_process_global_options()
642 vid_range = nla_get_u16(tb[BRIDGE_VLANDB_GOPTS_RANGE]); in br_vlan_rtm_process_global_options()
Dbr_netlink.c967 err = br_stp_set_port_priority(p, nla_get_u16(tb[IFLA_BRPORT_PRIORITY])); in br_setport()
1002 u16 fwd_mask = nla_get_u16(tb[IFLA_BRPORT_GROUP_FWD_MASK]); in br_setport()
1135 __u16 defpvid = nla_get_u16(data[IFLA_BR_VLAN_DEFAULT_PVID]); in br_validate()
1259 u32 priority = nla_get_u16(data[IFLA_BR_PRIORITY]); in br_changelink()
1282 __u16 defpvid = nla_get_u16(data[IFLA_BR_VLAN_DEFAULT_PVID]); in br_changelink()
1307 u16 fwd_mask = nla_get_u16(data[IFLA_BR_GROUP_FWD_MASK]); in br_changelink()
Dbr_mrp_netlink.c59 inst.prio = nla_get_u16(tb[IFLA_BRIDGE_MRP_INSTANCE_PRIO]); in br_mrp_instance_parse()
308 role.in_id = nla_get_u16(tb[IFLA_BRIDGE_MRP_IN_ROLE_IN_ID]); in br_mrp_in_role_parse()
Dbr_mst.c319 msti = nla_get_u16(tb[IFLA_BRIDGE_MST_ENTRY_MSTI]); in br_mst_process_one()
/linux-6.1.9/net/8021q/
Dvlan_netlink.c74 id = nla_get_u16(data[IFLA_VLAN_ID]); in vlan_validate()
168 vlan->vlan_id = nla_get_u16(data[IFLA_VLAN_ID]); in vlan_newlink()
/linux-6.1.9/net/openvswitch/
Dvport-geneve.c69 dst_port = nla_get_u16(a); in geneve_tnl_create()
Dvport-vxlan.c93 conf.dst_port = htons(nla_get_u16(a)); in vxlan_tnl_create()
/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/
Dtestmode.c143 attr = nla_get_u16(tb[WCN36XX_TM_ATTR_CMD]); in wcn36xx_tm_cmd()
/linux-6.1.9/drivers/net/wireguard/
Dnetlink.c338 family = nla_get_u16(attrs[WGALLOWEDIP_A_FAMILY]); in set_allowedip()
470 const u16 persistent_keepalive_interval = nla_get_u16( in set_peer()
535 nla_get_u16(info->attrs[WGDEVICE_A_LISTEN_PORT])); in wg_set_device()
/linux-6.1.9/drivers/net/
Dbareudp.c588 conf->port = nla_get_u16(data[IFLA_BAREUDP_PORT]); in bareudp2info()
589 conf->ethertype = nla_get_u16(data[IFLA_BAREUDP_ETHERTYPE]); in bareudp2info()
592 conf->sport_min = nla_get_u16(data[IFLA_BAREUDP_SRCPORT_MIN]); in bareudp2info()
/linux-6.1.9/net/l2tp/
Dl2tp_netlink.c161 cfg->local_udp_port = nla_get_u16(attrs[L2TP_ATTR_UDP_SPORT]); in l2tp_nl_cmd_tunnel_create_get_addr()
163 cfg->peer_udp_port = nla_get_u16(attrs[L2TP_ATTR_UDP_DPORT]); in l2tp_nl_cmd_tunnel_create_get_addr()
218 cfg.encap = nla_get_u16(attrs[L2TP_ATTR_ENCAP_TYPE]); in l2tp_nl_cmd_tunnel_create()
560 cfg.pw_type = nla_get_u16(info->attrs[L2TP_ATTR_PW_TYPE]); in l2tp_nl_cmd_session_create()
/linux-6.1.9/net/sched/
Dsch_dsmark.c363 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init()
369 default_index = nla_get_u16(tb[TCA_DSMARK_DEFAULT_INDEX]); in dsmark_init()
Dact_pedit.c80 k->htype = nla_get_u16(tb[TCA_PEDIT_KEY_EX_HTYPE]); in tcf_pedit_keys_ex_parse()
81 k->cmd = nla_get_u16(tb[TCA_PEDIT_KEY_EX_CMD]); in tcf_pedit_keys_ex_parse()
Dact_skbmod.c142 eth_type = nla_get_u16(tb[TCA_SKBMOD_ETYPE]); in tcf_skbmod_init()
/linux-6.1.9/net/wireless/
Dnl80211.c3141 txq_params->txop = nla_get_u16(tb[NL80211_TXQ_ATTR_TXOP]); in parse_txq_params()
3142 txq_params->cwmin = nla_get_u16(tb[NL80211_TXQ_ATTR_CWMIN]); in parse_txq_params()
3143 txq_params->cwmax = nla_get_u16(tb[NL80211_TXQ_ATTR_CWMAX]); in parse_txq_params()
4345 noack_map = nla_get_u16(info->attrs[NL80211_ATTR_NOACK_MAP]); in nl80211_set_noack_map()
4689 key.p.vlan_id = nla_get_u16(info->attrs[NL80211_ATTR_VLAN_ID]); in nl80211_new_key()
5872 params->inactivity_timeout = nla_get_u16( in nl80211_start_ap()
6894 params->aid = nla_get_u16(info->attrs[NL80211_ATTR_PEER_AID]); in nl80211_set_station_tdls()
6980 params.aid = nla_get_u16(info->attrs[NL80211_ATTR_STA_AID]); in nl80211_set_station()
6983 params.vlan_id = nla_get_u16(info->attrs[NL80211_ATTR_VLAN_ID]); in nl80211_set_station()
6987 nla_get_u16(info->attrs[NL80211_ATTR_STA_LISTEN_INTERVAL]); in nl80211_set_station()
[all …]
/linux-6.1.9/drivers/net/bonding/
Dbond_netlink.c152 u16 queue_id = nla_get_u16(data[IFLA_BOND_SLAVE_QUEUE_ID]); in bond_slave_changelink()
498 nla_get_u16(data[IFLA_BOND_AD_ACTOR_SYS_PRIO]); in bond_changelink()
508 nla_get_u16(data[IFLA_BOND_AD_USER_PORT_KEY]); in bond_changelink()
/linux-6.1.9/net/ipv6/
Dioam6.c119 id = cpu_to_be16(nla_get_u16(info->attrs[IOAM6_ATTR_NS_ID])); in ioam6_genl_addns()
172 id = cpu_to_be16(nla_get_u16(info->attrs[IOAM6_ATTR_NS_ID])); in ioam6_genl_delns()
512 ns_id = cpu_to_be16(nla_get_u16(info->attrs[IOAM6_ATTR_NS_ID])); in ioam6_genl_ns_set_schema()
/linux-6.1.9/include/linux/
Dgenl_magic_struct.h80 nla_get_u16, nla_put_u16, false)
/linux-6.1.9/net/netlabel/
Dnetlabel_mgmt.c112 nla_get_u16(info->attrs[NLBL_MGMT_A_FAMILY]); in netlbl_mgmt_add_common()
605 family = nla_get_u16(info->attrs[NLBL_MGMT_A_FAMILY]); in netlbl_mgmt_listdef()
/linux-6.1.9/net/core/
Dlwtunnel.c207 encap_type = nla_get_u16(nla_entype); in lwtunnel_valid_encap_type_attr()

123