| /Linux-v5.4/drivers/infiniband/ulp/ipoib/ |
| D | ipoib_netlink.c | 50 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-v5.4/drivers/net/bonding/ |
| D | bond_netlink.c | 52 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() 642 if (nla_put_u16(skb, IFLA_BOND_AD_ACTOR_SYS_PRIO, in bond_fill_info() 646 if (nla_put_u16(skb, IFLA_BOND_AD_USER_PORT_KEY, in bond_fill_info() 661 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_AGGREGATOR, in bond_fill_info() 664 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_NUM_PORTS, in bond_fill_info() 667 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_ACTOR_KEY, in bond_fill_info() 670 if (nla_put_u16(skb, IFLA_BOND_AD_INFO_PARTNER_KEY, in bond_fill_info()
|
| /Linux-v5.4/net/hsr/ |
| D | hsr_netlink.c | 100 nla_put_u16(skb, IFLA_HSR_SEQ_NR, hsr->sequence_nr)) in hsr_fill_info() 313 res = nla_put_u16(skb_out, HSR_A_IF1_SEQ, hsr_node_if1_seq); in hsr_get_node_status() 328 res = nla_put_u16(skb_out, HSR_A_IF2_SEQ, hsr_node_if2_seq); in hsr_get_node_status()
|
| /Linux-v5.4/net/bridge/ |
| D | br_netlink.c | 180 nla_put_u16(skb, IFLA_BRPORT_PRIORITY, p->priority) || in br_port_fill_attrs() 204 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_PORT, p->designated_port) || in br_port_fill_attrs() 205 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_COST, p->designated_cost) || in br_port_fill_attrs() 206 nla_put_u16(skb, IFLA_BRPORT_ID, p->port_id) || in br_port_fill_attrs() 207 nla_put_u16(skb, IFLA_BRPORT_NO, p->port_no) || in br_port_fill_attrs() 213 nla_put_u16(skb, IFLA_BRPORT_GROUP_FWD_MASK, p->group_fwd_mask) || in br_port_fill_attrs() 1420 nla_put_u16(skb, IFLA_BR_PRIORITY, priority) || in br_fill_info() 1422 nla_put_u16(skb, IFLA_BR_GROUP_FWD_MASK, br->group_fwd_mask) || in br_fill_info() 1427 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info() 1438 nla_put_u16(skb, IFLA_BR_VLAN_DEFAULT_PVID, br->default_pvid) || in br_fill_info()
|
| D | br_netlink_tunnel.c | 102 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()
|
| /Linux-v5.4/net/psample/ |
| D | psample.c | 242 ret = nla_put_u16(nl_skb, PSAMPLE_ATTR_IIFINDEX, in_ifindex); in psample_sample_packet() 248 ret = nla_put_u16(nl_skb, PSAMPLE_ATTR_OIFINDEX, out_ifindex); in psample_sample_packet()
|
| /Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | vendor.c | 88 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
| /Linux-v5.4/net/openvswitch/ |
| D | vport-geneve.c | 46 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, geneve_port->dst_port)) in geneve_get_options()
|
| D | vport-vxlan.c | 27 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, ntohs(dst_port))) in vxlan_get_options()
|
| /Linux-v5.4/net/tls/ |
| D | tls_main.c | 840 err = nla_put_u16(skb, TLS_INFO_VERSION, version); in tls_get_info() 846 err = nla_put_u16(skb, TLS_INFO_CIPHER, cipher_type); in tls_get_info() 850 err = nla_put_u16(skb, TLS_INFO_TXCONF, tls_user_config(ctx, true)); in tls_get_info() 854 err = nla_put_u16(skb, TLS_INFO_RXCONF, tls_user_config(ctx, false)); in tls_get_info()
|
| /Linux-v5.4/net/sched/ |
| D | act_skbedit.c | 253 nla_put_u16(skb, TCA_SKBEDIT_QUEUE_MAPPING, params->queue_mapping)) in tcf_skbedit_dump() 259 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) in tcf_skbedit_dump()
|
| D | act_pedit.c | 120 if (nla_put_u16(skb, TCA_PEDIT_KEY_EX_HTYPE, keys_ex->htype) || in tcf_pedit_key_ex_dump() 121 nla_put_u16(skb, TCA_PEDIT_KEY_EX_CMD, keys_ex->cmd)) in tcf_pedit_key_ex_dump()
|
| D | sch_dsmark.c | 462 if (nla_put_u16(skb, TCA_DSMARK_INDICES, p->indices)) in dsmark_dump() 466 nla_put_u16(skb, TCA_DSMARK_DEFAULT_INDEX, p->default_index)) in dsmark_dump()
|
| D | sch_mqprio.c | 440 nla_put_u16(skb, TCA_MQPRIO_MODE, priv->mode)) in mqprio_dump() 444 nla_put_u16(skb, TCA_MQPRIO_SHAPER, priv->shaper)) in mqprio_dump()
|
| D | act_skbmod.c | 241 nla_put_u16(skb, TCA_SKBMOD_ETYPE, ntohs(p->eth_type))) in tcf_skbmod_dump()
|
| D | act_vlan.c | 274 (nla_put_u16(skb, TCA_VLAN_PUSH_VLAN_ID, p->tcfv_push_vid) || in tcf_vlan_dump()
|
| /Linux-v5.4/net/l2tp/ |
| D | l2tp_netlink.c | 342 nla_put_u16(skb, L2TP_ATTR_ENCAP_TYPE, tunnel->encap)) in l2tp_nl_tunnel_send() 405 if (nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send() 406 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send() 721 nla_put_u16(skb, L2TP_ATTR_PW_TYPE, session->pwtype)) in l2tp_nl_session_send()
|
| /Linux-v5.4/net/ipv4/ |
| D | ipip.c | 590 if (nla_put_u16(skb, IFLA_IPTUN_ENCAP_TYPE, in ipip_fill_info() 596 nla_put_u16(skb, IFLA_IPTUN_ENCAP_FLAGS, in ipip_fill_info()
|
| /Linux-v5.4/net/core/ |
| D | drop_monitor.c | 606 if (nla_put_u16(msg, NET_DM_ATTR_ORIGIN, NET_DM_ORIGIN_SW)) in net_dm_packet_report_fill() 630 if (nla_put_u16(msg, NET_DM_ATTR_PROTO, be16_to_cpu(skb->protocol))) in net_dm_packet_report_fill() 744 if (nla_put_u16(msg, NET_DM_ATTR_ORIGIN, NET_DM_ORIGIN_HW)) in net_dm_hw_packet_report_fill() 775 if (nla_put_u16(msg, NET_DM_ATTR_PROTO, be16_to_cpu(skb->protocol))) in net_dm_hw_packet_report_fill()
|
| D | lwtunnel.c | 249 ret = nla_put_u16(skb, encap_type_attr, lwtstate->type); in lwtunnel_fill_encap()
|
| D | devlink.c | 513 if (nla_put_u16(msg, DEVLINK_ATTR_PORT_FLAVOUR, attrs->flavour)) in devlink_nl_port_attrs_put() 517 if (nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, in devlink_nl_port_attrs_put() 522 if (nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, in devlink_nl_port_attrs_put() 524 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_VF_NUMBER, in devlink_nl_port_attrs_put() 566 if (nla_put_u16(msg, DEVLINK_ATTR_PORT_TYPE, devlink_port->type)) in devlink_nl_port_fill() 569 nla_put_u16(msg, DEVLINK_ATTR_PORT_DESIRED_TYPE, in devlink_nl_port_fill() 847 if (nla_put_u16(msg, DEVLINK_ATTR_SB_INGRESS_POOL_COUNT, in devlink_nl_sb_fill() 850 if (nla_put_u16(msg, DEVLINK_ATTR_SB_EGRESS_POOL_COUNT, in devlink_nl_sb_fill() 853 if (nla_put_u16(msg, DEVLINK_ATTR_SB_INGRESS_TC_COUNT, in devlink_nl_sb_fill() 856 if (nla_put_u16(msg, DEVLINK_ATTR_SB_EGRESS_TC_COUNT, in devlink_nl_sb_fill() [all …]
|
| /Linux-v5.4/include/linux/ |
| D | genl_magic_struct.h | 80 nla_get_u16, nla_put_u16, false)
|
| /Linux-v5.4/net/8021q/ |
| D | vlan_netlink.c | 218 nla_put_u16(skb, IFLA_VLAN_ID, vlan->vlan_id)) in vlan_fill_info()
|
| /Linux-v5.4/drivers/net/ethernet/qualcomm/rmnet/ |
| D | rmnet_config.c | 347 if (nla_put_u16(skb, IFLA_RMNET_MUX_ID, priv->mux_id)) in rmnet_fill_info()
|
| /Linux-v5.4/net/batman-adv/ |
| D | bridge_loop_avoidance.c | 2136 nla_put_u16(msg, BATADV_ATTR_BLA_VID, claim->vid) || in batadv_bla_claim_dump_entry() 2139 nla_put_u16(msg, BATADV_ATTR_BLA_CRC, in batadv_bla_claim_dump_entry() 2375 nla_put_u16(msg, BATADV_ATTR_BLA_VID, backbone_gw->vid) || in batadv_bla_backbone_dump_entry() 2376 nla_put_u16(msg, BATADV_ATTR_BLA_CRC, in batadv_bla_backbone_dump_entry()
|