| /linux-6.15/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_netlink.c | 79 mode = nla_get_u16(data[IFLA_IPOIB_MODE]); in ipoib_changelink() 92 umcast = nla_get_u16(data[IFLA_IPOIB_UMCAST]); in ipoib_changelink() 130 child_pkey = nla_get_u16(data[IFLA_IPOIB_PKEY]); in ipoib_new_child_link()
|
| /linux-6.15/drivers/infiniband/core/ |
| H A D | iwpm_msg.c | 411 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.15/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_config.c | 150 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_newlink() 290 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_rtnl_validate() 318 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_changelink()
|
| /linux-6.15/drivers/net/ipvlan/ |
| H A D | ipvlan_main.c | 457 u16 nmode = nla_get_u16(data[IFLA_IPVLAN_MODE]); in ipvlan_nl_changelink() 463 u16 flags = nla_get_u16(data[IFLA_IPVLAN_FLAGS]); in ipvlan_nl_changelink() 494 u16 mode = nla_get_u16(data[IFLA_IPVLAN_MODE]); in ipvlan_nl_validate() 500 u16 flags = nla_get_u16(data[IFLA_IPVLAN_FLAGS]); in ipvlan_nl_validate() 632 port->flags = nla_get_u16(data[IFLA_IPVLAN_FLAGS]); in ipvlan_link_new() 635 mode = nla_get_u16(data[IFLA_IPVLAN_MODE]); in ipvlan_link_new()
|
| /linux-6.15/net/bridge/ |
| H A D | br_netlink_tunnel.c | 242 vid = nla_get_u16(tb[IFLA_BRIDGE_VLAN_TUNNEL_VID]); in br_parse_vlan_tunnel_info() 247 flags = nla_get_u16(tb[IFLA_BRIDGE_VLAN_TUNNEL_FLAGS]); in br_parse_vlan_tunnel_info()
|
| H A D | br_vlan_options.c | 618 msti = nla_get_u16(tb[BRIDGE_VLANDB_GOPTS_MSTI]); in br_vlan_process_global_one_opts() 680 vid = nla_get_u16(tb[BRIDGE_VLANDB_GOPTS_ID]); in br_vlan_rtm_process_global_options() 685 vid_range = nla_get_u16(tb[BRIDGE_VLANDB_GOPTS_RANGE]); in br_vlan_rtm_process_global_options()
|
| H A D | br_mrp_netlink.c | 59 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()
|
| H A D | br_netlink.c | 1009 err = br_stp_set_port_priority(p, nla_get_u16(tb[IFLA_BRPORT_PRIORITY])); in br_setport() 1051 u16 fwd_mask = nla_get_u16(tb[IFLA_BRPORT_GROUP_FWD_MASK]); in br_setport() 1190 __u16 defpvid = nla_get_u16(data[IFLA_BR_VLAN_DEFAULT_PVID]); in br_validate() 1318 u32 priority = nla_get_u16(data[IFLA_BR_PRIORITY]); in br_changelink() 1341 __u16 defpvid = nla_get_u16(data[IFLA_BR_VLAN_DEFAULT_PVID]); in br_changelink() 1366 u16 fwd_mask = nla_get_u16(data[IFLA_BR_GROUP_FWD_MASK]); in br_changelink()
|
| H A D | br_mst.c | 322 msti = nla_get_u16(tb[IFLA_BRIDGE_MST_ENTRY_MSTI]); in br_mst_process_one()
|
| /linux-6.15/net/8021q/ |
| H A D | vlan_netlink.c | 74 id = nla_get_u16(data[IFLA_VLAN_ID]); in vlan_validate() 171 vlan->vlan_id = nla_get_u16(data[IFLA_VLAN_ID]); in vlan_newlink()
|
| /linux-6.15/net/openvswitch/ |
| H A D | vport-geneve.c | 69 dst_port = nla_get_u16(a); in geneve_tnl_create()
|
| H A D | vport-vxlan.c | 93 conf.dst_port = htons(nla_get_u16(a)); in vxlan_tnl_create()
|
| /linux-6.15/net/mptcp/ |
| H A D | pm_netlink.c | 62 addr->family = nla_get_u16(tb[MPTCP_PM_ADDR_ATTR_FAMILY]); in mptcp_pm_parse_pm_addr_attr() 87 addr->port = htons(nla_get_u16(tb[MPTCP_PM_ADDR_ATTR_PORT])); in mptcp_pm_parse_pm_addr_attr() 125 entry->addr.port = htons(nla_get_u16(tb[MPTCP_PM_ADDR_ATTR_PORT])); in mptcp_pm_parse_entry()
|
| /linux-6.15/drivers/net/wireless/ath/wcn36xx/ |
| H A D | testmode.c | 143 attr = nla_get_u16(tb[WCN36XX_TM_ATTR_CMD]); in wcn36xx_tm_cmd()
|
| /linux-6.15/drivers/net/wireguard/ |
| H A D | netlink.c | 338 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.15/net/l2tp/ |
| H A D | l2tp_netlink.c | 162 cfg->local_udp_port = nla_get_u16(attrs[L2TP_ATTR_UDP_SPORT]); in l2tp_nl_cmd_tunnel_create_get_addr() 164 cfg->peer_udp_port = nla_get_u16(attrs[L2TP_ATTR_UDP_DPORT]); in l2tp_nl_cmd_tunnel_create_get_addr() 219 cfg.encap = nla_get_u16(attrs[L2TP_ATTR_ENCAP_TYPE]); in l2tp_nl_cmd_tunnel_create() 567 cfg.pw_type = nla_get_u16(info->attrs[L2TP_ATTR_PW_TYPE]); in l2tp_nl_cmd_session_create()
|
| /linux-6.15/drivers/net/ |
| H A D | bareudp.c | 620 conf->port = nla_get_u16(data[IFLA_BAREUDP_PORT]); in bareudp2info() 621 conf->ethertype = nla_get_u16(data[IFLA_BAREUDP_ETHERTYPE]); in bareudp2info() 624 conf->sport_min = nla_get_u16(data[IFLA_BAREUDP_SRCPORT_MIN]); in bareudp2info()
|
| /linux-6.15/net/wireless/ |
| H A D | nl80211.c | 8514 nla_get_u16); in nl80211_parse_mesh_config() 8517 nla_get_u16); in nl80211_parse_mesh_config() 8520 nla_get_u16); in nl80211_parse_mesh_config() 8545 nla_get_u16); in nl80211_parse_mesh_config() 8556 nla_get_u16); in nl80211_parse_mesh_config() 8559 nla_get_u16); in nl80211_parse_mesh_config() 8563 nla_get_u16); in nl80211_parse_mesh_config() 8568 nla_get_u16); in nl80211_parse_mesh_config() 8611 nla_get_u16); in nl80211_parse_mesh_config() 12233 nla_get_u16( in nl80211_connect() [all …]
|
| /linux-6.15/drivers/net/bonding/ |
| H A D | bond_netlink.c | 159 u16 queue_id = nla_get_u16(data[IFLA_BOND_SLAVE_QUEUE_ID]); in bond_slave_changelink() 505 nla_get_u16(data[IFLA_BOND_AD_ACTOR_SYS_PRIO]); in bond_changelink() 515 nla_get_u16(data[IFLA_BOND_AD_USER_PORT_KEY]); in bond_changelink()
|
| /linux-6.15/fs/lockd/ |
| H A D | svc.c | 767 ln->tcp_port = nla_get_u16(attr); in lockd_nl_server_set_doit() 774 ln->udp_port = nla_get_u16(attr); in lockd_nl_server_set_doit()
|
| /linux-6.15/net/sched/ |
| H A D | act_pedit.c | 94 k->htype = nla_get_u16(tb[TCA_PEDIT_KEY_EX_HTYPE]); in tcf_pedit_keys_ex_parse() 95 k->cmd = nla_get_u16(tb[TCA_PEDIT_KEY_EX_CMD]); in tcf_pedit_keys_ex_parse()
|
| H A D | act_skbmod.c | 144 eth_type = nla_get_u16(tb[TCA_SKBMOD_ETYPE]); in tcf_skbmod_init()
|
| /linux-6.15/net/ipv6/ |
| H A D | ioam6.c | 119 id = cpu_to_be16(nla_get_u16(info->attrs[IOAM6_ATTR_NS_ID])); in ioam6_genl_addns() 168 id = cpu_to_be16(nla_get_u16(info->attrs[IOAM6_ATTR_NS_ID])); in ioam6_genl_delns() 508 ns_id = cpu_to_be16(nla_get_u16(info->attrs[IOAM6_ATTR_NS_ID])); in ioam6_genl_ns_set_schema()
|
| /linux-6.15/net/devlink/ |
| H A D | port.c | 838 port_type = nla_get_u16(info->attrs[DEVLINK_ATTR_PORT_TYPE]); in devlink_nl_port_set_doit() 914 new_attrs.flavour = nla_get_u16(info->attrs[DEVLINK_ATTR_PORT_FLAVOUR]); in devlink_nl_port_new_doit() 916 nla_get_u16(info->attrs[DEVLINK_ATTR_PORT_PCI_PF_NUMBER]); in devlink_nl_port_new_doit() 926 nla_get_u16(info->attrs[DEVLINK_ATTR_PORT_CONTROLLER_NUMBER]); in devlink_nl_port_new_doit()
|
| /linux-6.15/include/linux/ |
| H A D | genl_magic_struct.h | 78 nla_get_u16, nla_put_u16, false)
|