Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_netlink.c50 if (nla_put_u16(skb, IFLA_IPOIB_PKEY, priv->pkey)) in ipoib_fill_info()
54 if (nla_put_u16(skb, IFLA_IPOIB_MODE, val)) in ipoib_fill_info()
58 if (nla_put_u16(skb, IFLA_IPOIB_UMCAST, val)) in ipoib_fill_info()
/Linux-v4.19/drivers/net/bonding/
Dbond_netlink.c56 if (nla_put_u16(skb, IFLA_BOND_SLAVE_QUEUE_ID, slave->queue_id)) in bond_fill_slave_info()
66 if (nla_put_u16(skb, IFLA_BOND_SLAVE_AD_AGGREGATOR_ID, in bond_fill_slave_info()
73 if (nla_put_u16(skb, in bond_fill_slave_info()
632 if (nla_put_u16(skb, IFLA_BOND_AD_ACTOR_SYS_PRIO, in bond_fill_info()
636 if (nla_put_u16(skb, IFLA_BOND_AD_USER_PORT_KEY, in bond_fill_info()
652 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_AGGREGATOR, in bond_fill_info()
655 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_NUM_PORTS, in bond_fill_info()
658 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_ACTOR_KEY, in bond_fill_info()
661 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_PARTNER_KEY, in bond_fill_info()
/Linux-v4.19/net/hsr/
Dhsr_netlink.c103 nla_put_u16(skb, IFLA_HSR_SEQ_NR, hsr->sequence_nr)) in hsr_fill_info()
321 res = nla_put_u16(skb_out, HSR_A_IF1_SEQ, hsr_node_if1_seq); in hsr_get_node_status()
336 res = nla_put_u16(skb_out, HSR_A_IF2_SEQ, hsr_node_if2_seq); in hsr_get_node_status()
/Linux-v4.19/net/bridge/
Dbr_netlink.c184 nla_put_u16(skb, IFLA_BRPORT_PRIORITY, p->priority) || in br_port_fill_attrs()
208 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_PORT, p->designated_port) || in br_port_fill_attrs()
209 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_COST, p->designated_cost) || in br_port_fill_attrs()
210 nla_put_u16(skb, IFLA_BRPORT_ID, p->port_id) || in br_port_fill_attrs()
211 nla_put_u16(skb, IFLA_BRPORT_NO, p->port_no) || in br_port_fill_attrs()
217 nla_put_u16(skb, IFLA_BRPORT_GROUP_FWD_MASK, p->group_fwd_mask) || in br_port_fill_attrs()
1401 nla_put_u16(skb, IFLA_BR_PRIORITY, priority) || in br_fill_info()
1403 nla_put_u16(skb, IFLA_BR_GROUP_FWD_MASK, br->group_fwd_mask) || in br_fill_info()
1408 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
1418 nla_put_u16(skb, IFLA_BR_VLAN_DEFAULT_PVID, br->default_pvid) || in br_fill_info()
Dbr_netlink_tunnel.c106 if (nla_put_u16(skb, IFLA_BRIDGE_VLAN_TUNNEL_VID, in br_fill_vlan_tinfo()
109 if (nla_put_u16(skb, IFLA_BRIDGE_VLAN_TUNNEL_FLAGS, in br_fill_vlan_tinfo()
/Linux-v4.19/net/psample/
Dpsample.c236 ret = nla_put_u16(nl_skb, PSAMPLE_ATTR_IIFINDEX, in_ifindex); in psample_sample_packet()
242 ret = nla_put_u16(nl_skb, PSAMPLE_ATTR_OIFINDEX, out_ifindex); in psample_sample_packet()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dvendor.c98 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/Linux-v4.19/net/openvswitch/
Dvport-geneve.c50 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, geneve_port->dst_port)) in geneve_get_options()
Dvport-vxlan.c40 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, ntohs(dst_port))) in vxlan_get_options()
/Linux-v4.19/net/sched/
Dact_skbedit.c247 nla_put_u16(skb, TCA_SKBEDIT_QUEUE_MAPPING, params->queue_mapping)) in tcf_skbedit_dump()
253 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) in tcf_skbedit_dump()
Dact_pedit.c121 if (nla_put_u16(skb, TCA_PEDIT_KEY_EX_HTYPE, keys_ex->htype) || in tcf_pedit_key_ex_dump()
122 nla_put_u16(skb, TCA_PEDIT_KEY_EX_CMD, keys_ex->cmd)) in tcf_pedit_key_ex_dump()
Dsch_dsmark.c456 if (nla_put_u16(skb, TCA_DSMARK_INDICES, p->indices)) in dsmark_dump()
460 nla_put_u16(skb, TCA_DSMARK_DEFAULT_INDEX, p->default_index)) in dsmark_dump()
Dsch_mqprio.c442 nla_put_u16(skb, TCA_MQPRIO_MODE, priv->mode)) in mqprio_dump()
446 nla_put_u16(skb, TCA_MQPRIO_SHAPER, priv->shaper)) in mqprio_dump()
Dact_vlan.c261 (nla_put_u16(skb, TCA_VLAN_PUSH_VLAN_ID, p->tcfv_push_vid) || in tcf_vlan_dump()
Dact_skbmod.c229 nla_put_u16(skb, TCA_SKBMOD_ETYPE, ntohs(p->eth_type))) in tcf_skbmod_dump()
/Linux-v4.19/net/l2tp/
Dl2tp_netlink.c345 nla_put_u16(skb, L2TP_ATTR_ENCAP_TYPE, tunnel->encap)) in l2tp_nl_tunnel_send()
408 if (nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send()
409 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send()
724 nla_put_u16(skb, L2TP_ATTR_PW_TYPE, session->pwtype)) in l2tp_nl_session_send()
/Linux-v4.19/net/core/
Ddevlink.c514 if (nla_put_u16(msg, DEVLINK_ATTR_PORT_FLAVOUR, attrs->flavour)) in devlink_nl_port_attrs_put()
543 if (nla_put_u16(msg, DEVLINK_ATTR_PORT_TYPE, devlink_port->type)) in devlink_nl_port_fill()
546 nla_put_u16(msg, DEVLINK_ATTR_PORT_DESIRED_TYPE, in devlink_nl_port_fill()
821 if (nla_put_u16(msg, DEVLINK_ATTR_SB_INGRESS_POOL_COUNT, in devlink_nl_sb_fill()
824 if (nla_put_u16(msg, DEVLINK_ATTR_SB_EGRESS_POOL_COUNT, in devlink_nl_sb_fill()
827 if (nla_put_u16(msg, DEVLINK_ATTR_SB_INGRESS_TC_COUNT, in devlink_nl_sb_fill()
830 if (nla_put_u16(msg, DEVLINK_ATTR_SB_EGRESS_TC_COUNT, in devlink_nl_sb_fill()
926 if (nla_put_u16(msg, DEVLINK_ATTR_SB_POOL_INDEX, pool_index)) in devlink_nl_sb_pool_fill()
1104 if (nla_put_u16(msg, DEVLINK_ATTR_SB_POOL_INDEX, pool_index)) in devlink_nl_sb_port_pool_fill()
1297 if (nla_put_u16(msg, DEVLINK_ATTR_SB_TC_INDEX, tc_index)) in devlink_nl_sb_tc_pool_bind_fill()
[all …]
Dlwtunnel.c253 ret = nla_put_u16(skb, RTA_ENCAP_TYPE, lwtstate->type); in lwtunnel_fill_encap()
/Linux-v4.19/net/ipv4/
Dipip.c593 if (nla_put_u16(skb, IFLA_IPTUN_ENCAP_TYPE, in ipip_fill_info()
599 nla_put_u16(skb, IFLA_IPTUN_ENCAP_FLAGS, in ipip_fill_info()
/Linux-v4.19/include/linux/
Dgenl_magic_struct.h80 nla_get_u16, nla_put_u16, false)
/Linux-v4.19/net/8021q/
Dvlan_netlink.c220 nla_put_u16(skb, IFLA_VLAN_ID, vlan->vlan_id)) in vlan_fill_info()
/Linux-v4.19/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.c353 if (nla_put_u16(skb, IFLA_RMNET_MUX_ID, priv->mux_id)) in rmnet_fill_info()
/Linux-v4.19/net/batman-adv/
Dbridge_loop_avoidance.c2135 nla_put_u16(msg, BATADV_ATTR_BLA_VID, claim->vid) || in batadv_bla_claim_dump_entry()
2138 nla_put_u16(msg, BATADV_ATTR_BLA_CRC, in batadv_bla_claim_dump_entry()
2369 nla_put_u16(msg, BATADV_ATTR_BLA_VID, backbone_gw->vid) || in batadv_bla_backbone_dump_entry()
2370 nla_put_u16(msg, BATADV_ATTR_BLA_CRC, in batadv_bla_backbone_dump_entry()
/Linux-v4.19/net/wireless/
Dnl80211.c671 if (nla_put_u16(msg, NL80211_WMMR_CW_MIN, in nl80211_msg_put_wmm_rules()
673 nla_put_u16(msg, NL80211_WMMR_CW_MAX, in nl80211_msg_put_wmm_rules()
677 nla_put_u16(msg, NL80211_WMMR_TXOP, in nl80211_msg_put_wmm_rules()
1369 nla_put_u16(msg, NL80211_BAND_ATTR_HT_CAPA, in nl80211_send_band_rateinfo()
1463 nla_put_u16(msg, NL80211_ATTR_FRAME_TYPE, in nl80211_send_mgmt_stypes()
1486 nla_put_u16(msg, NL80211_ATTR_FRAME_TYPE, in nl80211_send_mgmt_stypes()
1644 nla_put_u16(msg, NL80211_ATTR_MAX_SCAN_IE_LEN, in nl80211_send_wiphy()
1646 nla_put_u16(msg, NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN, in nl80211_send_wiphy()
4508 nla_put_u16(msg, NL80211_RATE_INFO_BITRATE, bitrate_compat)) in nl80211_put_sta_rate()
4712 nla_put_u16(msg, NL80211_STA_BSS_PARAM_BEACON_INTERVAL, in nl80211_send_station()
[all …]
/Linux-v4.19/net/ncsi/
Dncsi-netlink.c86 nla_put_u16(skb, NCSI_CHANNEL_ATTR_VLAN_ID, in ncsi_write_channel_info()

123