Home
last modified time | relevance | path

Searched refs:nla_put_u16 (Results 1 - 25 of 153) sorted by relevance

1234567

/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/
H A Dipoib_netlink.c54 if (nla_put_u16(skb, IFLA_IPOIB_PKEY, priv->pkey)) in ipoib_fill_info()
58 if (nla_put_u16(skb, IFLA_IPOIB_MODE, val)) in ipoib_fill_info()
62 if (nla_put_u16(skb, IFLA_IPOIB_UMCAST, val)) in ipoib_fill_info()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
H A Dipoib_netlink.c55 if (nla_put_u16(skb, IFLA_IPOIB_PKEY, priv->pkey)) in ipoib_fill_info()
59 if (nla_put_u16(skb, IFLA_IPOIB_MODE, val)) in ipoib_fill_info()
63 if (nla_put_u16(skb, IFLA_IPOIB_UMCAST, val)) in ipoib_fill_info()
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_netlink.c52 if (nla_put_u16(skb, IFLA_BOND_SLAVE_QUEUE_ID, slave->queue_id)) in bond_fill_slave_info()
62 if (nla_put_u16(skb, IFLA_BOND_SLAVE_AD_AGGREGATOR_ID, in bond_fill_slave_info()
69 if (nla_put_u16(skb, in bond_fill_slave_info()
641 if (nla_put_u16(skb, IFLA_BOND_AD_ACTOR_SYS_PRIO, in bond_fill_info()
645 if (nla_put_u16(skb, IFLA_BOND_AD_USER_PORT_KEY, in bond_fill_info()
660 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_AGGREGATOR, in bond_fill_info()
663 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_NUM_PORTS, in bond_fill_info()
666 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_ACTOR_KEY, in bond_fill_info()
669 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_PARTNER_KEY, in bond_fill_info()
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_netlink.c54 if (nla_put_u16(skb, IFLA_BOND_SLAVE_QUEUE_ID, slave->queue_id)) in bond_fill_slave_info()
67 if (nla_put_u16(skb, IFLA_BOND_SLAVE_AD_AGGREGATOR_ID, in bond_fill_slave_info()
74 if (nla_put_u16(skb, in bond_fill_slave_info()
781 if (nla_put_u16(skb, IFLA_BOND_AD_ACTOR_SYS_PRIO, in bond_fill_info()
785 if (nla_put_u16(skb, IFLA_BOND_AD_USER_PORT_KEY, in bond_fill_info()
800 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_AGGREGATOR, in bond_fill_info()
803 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_NUM_PORTS, in bond_fill_info()
806 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_ACTOR_KEY, in bond_fill_info()
809 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_PARTNER_KEY, in bond_fill_info()
/kernel/linux/linux-6.6/net/devlink/
H A Dsb.c184 if (nla_put_u16(msg, DEVLINK_ATTR_SB_INGRESS_POOL_COUNT, in devlink_nl_sb_fill()
187 if (nla_put_u16(msg, DEVLINK_ATTR_SB_EGRESS_POOL_COUNT, in devlink_nl_sb_fill()
190 if (nla_put_u16(msg, DEVLINK_ATTR_SB_INGRESS_TC_COUNT, in devlink_nl_sb_fill()
193 if (nla_put_u16(msg, DEVLINK_ATTR_SB_EGRESS_TC_COUNT, in devlink_nl_sb_fill()
286 if (nla_put_u16(msg, DEVLINK_ATTR_SB_POOL_INDEX, pool_index)) in devlink_nl_sb_pool_fill()
475 if (nla_put_u16(msg, DEVLINK_ATTR_SB_POOL_INDEX, pool_index)) in devlink_nl_sb_port_pool_fill()
681 if (nla_put_u16(msg, DEVLINK_ATTR_SB_TC_INDEX, tc_index)) in devlink_nl_sb_tc_pool_bind_fill()
685 if (nla_put_u16(msg, DEVLINK_ATTR_SB_POOL_INDEX, pool_index)) in devlink_nl_sb_tc_pool_bind_fill()
H A Dport.c216 if (nla_put_u16(msg, DEVLINK_ATTR_PORT_FLAVOUR, attrs->flavour)) in devlink_nl_port_attrs_put()
222 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, attrs->pci_pf.pf)) in devlink_nl_port_attrs_put()
230 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, attrs->pci_vf.pf) || in devlink_nl_port_attrs_put()
231 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_VF_NUMBER, attrs->pci_vf.vf)) in devlink_nl_port_attrs_put()
239 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, in devlink_nl_port_attrs_put()
457 if (nla_put_u16(msg, DEVLINK_ATTR_PORT_TYPE, devlink_port->type)) in devlink_nl_port_fill()
460 nla_put_u16(msg, DEVLINK_ATTR_PORT_DESIRED_TYPE, in devlink_nl_port_fill()
/kernel/linux/linux-6.6/net/psample/
H A Dpsample.c410 ret = nla_put_u16(nl_skb, PSAMPLE_ATTR_IIFINDEX, in_ifindex); in psample_sample_packet()
416 ret = nla_put_u16(nl_skb, PSAMPLE_ATTR_OIFINDEX, out_ifindex); in psample_sample_packet()
438 ret = nla_put_u16(nl_skb, PSAMPLE_ATTR_OUT_TC, md->out_tc); in psample_sample_packet()
462 ret = nla_put_u16(nl_skb, PSAMPLE_ATTR_PROTO, in psample_sample_packet()
/kernel/linux/linux-5.10/net/hsr/
H A Dhsr_netlink.c141 nla_put_u16(skb, IFLA_HSR_SEQ_NR, hsr->sequence_nr)) in hsr_fill_info()
360 res = nla_put_u16(skb_out, HSR_A_IF1_SEQ, hsr_node_if1_seq); in hsr_get_node_status()
373 res = nla_put_u16(skb_out, HSR_A_IF2_SEQ, hsr_node_if2_seq); in hsr_get_node_status()
/kernel/linux/linux-6.6/net/smc/
H A Dsmc_ism.c256 if (nla_put_u16(skb, SMC_NLA_DEV_PCI_CHID, smc_pci_dev.pci_pchid)) in smc_nl_handle_smcd_dev()
258 if (nla_put_u16(skb, SMC_NLA_DEV_PCI_VENDOR, smc_pci_dev.pci_vendor)) in smc_nl_handle_smcd_dev()
260 if (nla_put_u16(skb, SMC_NLA_DEV_PCI_DEVICE, smc_pci_dev.pci_device)) in smc_nl_handle_smcd_dev()
/kernel/linux/linux-6.6/net/sched/
H A Dact_skbedit.c309 nla_put_u16(skb, TCA_SKBEDIT_QUEUE_MAPPING, params->queue_mapping)) in tcf_skbedit_dump()
315 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) in tcf_skbedit_dump()
323 if (nla_put_u16(skb, TCA_SKBEDIT_QUEUE_MAPPING_MAX, in tcf_skbedit_dump()
/kernel/linux/linux-6.6/net/hsr/
H A Dhsr_netlink.c141 nla_put_u16(skb, IFLA_HSR_SEQ_NR, hsr->sequence_nr)) in hsr_fill_info()
360 res = nla_put_u16(skb_out, HSR_A_IF1_SEQ, hsr_node_if1_seq); in hsr_get_node_status()
373 res = nla_put_u16(skb_out, HSR_A_IF2_SEQ, hsr_node_if2_seq); in hsr_get_node_status()
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_netlink.c183 nla_put_u16(skb, IFLA_BRPORT_PRIORITY, p->priority) || in br_port_fill_attrs()
207 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_PORT, p->designated_port) || in br_port_fill_attrs()
208 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_COST, p->designated_cost) || in br_port_fill_attrs()
209 nla_put_u16(skb, IFLA_BRPORT_ID, p->port_id) || in br_port_fill_attrs()
210 nla_put_u16(skb, IFLA_BRPORT_NO, p->port_no) || in br_port_fill_attrs()
216 nla_put_u16(skb, IFLA_BRPORT_GROUP_FWD_MASK, p->group_fwd_mask) || in br_port_fill_attrs()
1475 nla_put_u16(skb, IFLA_BR_PRIORITY, priority) || in br_fill_info()
1477 nla_put_u16(skb, IFLA_BR_GROUP_FWD_MASK, br->group_fwd_mask) || in br_fill_info()
1482 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
1493 nla_put_u16(sk in br_fill_info()
[all...]
H A Dbr_netlink_tunnel.c102 if (nla_put_u16(skb, IFLA_BRIDGE_VLAN_TUNNEL_VID, in br_fill_vlan_tinfo()
105 if (nla_put_u16(skb, IFLA_BRIDGE_VLAN_TUNNEL_FLAGS, in br_fill_vlan_tinfo()
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_netlink.c241 nla_put_u16(skb, IFLA_BRPORT_PRIORITY, p->priority) || in br_port_fill_attrs()
265 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_PORT, p->designated_port) || in br_port_fill_attrs()
266 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_COST, p->designated_cost) || in br_port_fill_attrs()
267 nla_put_u16(skb, IFLA_BRPORT_ID, p->port_id) || in br_port_fill_attrs()
268 nla_put_u16(skb, IFLA_BRPORT_NO, p->port_no) || in br_port_fill_attrs()
274 nla_put_u16(skb, IFLA_BRPORT_GROUP_FWD_MASK, p->group_fwd_mask) || in br_port_fill_attrs()
1658 nla_put_u16(skb, IFLA_BR_PRIORITY, priority) || in br_fill_info()
1660 nla_put_u16(skb, IFLA_BR_GROUP_FWD_MASK, br->group_fwd_mask) || in br_fill_info()
1665 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
1676 nla_put_u16(sk in br_fill_info()
[all...]
H A Dbr_netlink_tunnel.c102 if (nla_put_u16(skb, IFLA_BRIDGE_VLAN_TUNNEL_VID, in br_fill_vlan_tinfo()
105 if (nla_put_u16(skb, IFLA_BRIDGE_VLAN_TUNNEL_FLAGS, in br_fill_vlan_tinfo()
/kernel/linux/linux-5.10/net/l2tp/
H A Dl2tp_netlink.c331 if (nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send_addr6()
332 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send_addr6()
353 nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send_addr4()
354 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send_addr4()
398 nla_put_u16(skb, L2TP_ATTR_ENCAP_TYPE, tunnel->encap)) in l2tp_nl_tunnel_send()
728 nla_put_u16(skb, L2TP_ATTR_PW_TYPE, session->pwtype)) in l2tp_nl_session_send()
/kernel/linux/linux-6.6/net/l2tp/
H A Dl2tp_netlink.c331 if (nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send_addr6()
332 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send_addr6()
353 nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send_addr4()
354 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send_addr4()
398 nla_put_u16(skb, L2TP_ATTR_ENCAP_TYPE, tunnel->encap)) in l2tp_nl_tunnel_send()
728 nla_put_u16(skb, L2TP_ATTR_PW_TYPE, session->pwtype)) in l2tp_nl_session_send()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dvendor.c88 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/kernel/linux/linux-5.10/net/openvswitch/
H A Dvport-vxlan.c27 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, ntohs(dst_port))) in vxlan_get_options()
H A Dvport-geneve.c46 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, geneve_port->dst_port)) in geneve_get_options()
/kernel/linux/linux-5.10/net/mptcp/
H A Ddiag.c62 nla_put_u16(skb, MPTCP_SUBFLOW_ATTR_MAP_DATALEN, in subflow_get_info()
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dvendor.c88 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/kernel/linux/linux-6.6/net/openvswitch/
H A Dvport-vxlan.c27 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, ntohs(dst_port))) in vxlan_get_options()
H A Dvport-geneve.c46 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, geneve_port->dst_port)) in geneve_get_options()
/kernel/linux/linux-6.6/net/mptcp/
H A Ddiag.c67 nla_put_u16(skb, MPTCP_SUBFLOW_ATTR_MAP_DATALEN, in subflow_get_info()

Completed in 20 milliseconds

1234567