Home
last modified time | relevance | path

Searched refs:nla_put_s32 (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.15/net/handshake/
H A Dtlshd.c176 if (nla_put_s32(msg, HANDSHAKE_A_X509_CERT, in tls_handshake_put_certificate()
178 nla_put_s32(msg, HANDSHAKE_A_X509_PRIVKEY, in tls_handshake_put_certificate()
216 ret = nla_put_s32(msg, HANDSHAKE_A_ACCEPT_SOCKFD, fd); in tls_handshake_accept()
/linux-6.15/net/sched/
H A Dact_gate.c484 if (nla_put_s32(skb, TCA_GATE_ENTRY_MAX_OCTETS, entry->maxoctets)) in dumping_entry()
487 if (nla_put_s32(skb, TCA_GATE_ENTRY_IPV, entry->ipv)) in dumping_entry()
532 if (nla_put_s32(skb, TCA_GATE_CLOCKID, p->tcfg_clockid)) in tcf_gate_dump()
538 if (nla_put_s32(skb, TCA_GATE_PRIORITY, p->tcfg_priority)) in tcf_gate_dump()
H A Dsch_taprio.c2385 nla_put_s32(skb, TCA_TAPRIO_ATTR_SCHED_CLOCKID, q->clockid)) in taprio_dump()
H A Dsch_cake.c3040 if (nla_put_s32(d->skb, TCA_CAKE_STATS_ ## attr, data)) \ in cake_dump_class_stats()
/linux-6.15/net/mptcp/
H A Dpm_netlink.c149 nla_put_s32(skb, MPTCP_PM_ADDR_ATTR_IF_IDX, entry->ifindex)) in mptcp_nl_fill_addr()
366 nla_put_s32(skb, MPTCP_ATTR_IF_IDX, ssk->sk_bound_dev_if)) in mptcp_event_put_token_and_ssk()
/linux-6.15/net/ipv4/
H A Ddevinet.c1735 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) in inet_fill_ifaddr()
2163 if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) in inet_netconf_fill_devconf()
2170 nla_put_s32(skb, NETCONFA_FORWARDING, in inet_netconf_fill_devconf()
2174 nla_put_s32(skb, NETCONFA_RP_FILTER, in inet_netconf_fill_devconf()
2178 nla_put_s32(skb, NETCONFA_MC_FORWARDING, in inet_netconf_fill_devconf()
2182 nla_put_s32(skb, NETCONFA_BC_FORWARDING, in inet_netconf_fill_devconf()
2186 nla_put_s32(skb, NETCONFA_PROXY_NEIGH, in inet_netconf_fill_devconf()
2190 nla_put_s32(skb, NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, in inet_netconf_fill_devconf()
H A Dfou_core.c790 nla_put_s32(msg, FOU_ATTR_IFINDEX, sk->sk_bound_dev_if)) in fou_fill_info()
H A Dipmr.c2775 nla_put_s32(skb, IPMRA_TABLE_MROUTE_REG_VIF_NUM, in ipmr_fill_table()
/linux-6.15/drivers/dpll/
H A Ddpll_netlink.c166 if (nla_put_s32(msg, DPLL_A_TEMP, temp)) in dpll_msg_add_temp()
274 if (nla_put_s32(msg, DPLL_A_PIN_PHASE_ADJUST, phase_adjust)) in dpll_msg_add_pin_phase_adjust()
540 if (nla_put_s32(msg, DPLL_A_PIN_PHASE_ADJUST_MIN, in dpll_cmd_pin_get_one()
543 if (nla_put_s32(msg, DPLL_A_PIN_PHASE_ADJUST_MAX, in dpll_cmd_pin_get_one()
/linux-6.15/net/devlink/
H A Dnetlink.c151 if (nla_put_s32(msg, DEVLINK_ATTR_NETNS_ID, id)) in devlink_nl_put_nested_handle()
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dtestmode.c334 if (nla_put_s32(msg, MT76_TM_RX_ATTR_FREQ_OFFSET, phy->test.last_freq_offset)) in mt7615_tm_dump_stats()
/linux-6.15/net/core/
H A Dnet_namespace.c884 if (nla_put_s32(skb, NETNSA_NSID, args->nsid)) in rtnl_net_fill()
888 nla_put_s32(skb, NETNSA_CURRENT_NSID, args->ref_nsid)) in rtnl_net_fill()
H A Dnetdev-genl.c196 if (nla_put_s32(rsp, NETDEV_A_NAPI_DEFER_HARD_IRQS, in netdev_nl_napi_fill_one()
H A Drtnetlink.c1854 if (nla_put_s32(skb, IFLA_LINK_NETNSID, id)) in rtnl_fill_link_netnsid()
2042 if (tgt_netnsid >= 0 && nla_put_s32(skb, IFLA_TARGET_NETNSID, tgt_netnsid)) in rtnl_fill_ifinfo()
2136 nla_put_s32(skb, IFLA_NEW_NETNSID, *new_nsid) < 0) in rtnl_fill_ifinfo()
2139 nla_put_s32(skb, IFLA_NEW_IFINDEX, new_ifindex) < 0) in rtnl_fill_ifinfo()
/linux-6.15/include/net/
H A Dnetlink.h1574 static inline int nla_put_s32(struct sk_buff *skb, int attrtype, s32 value) in nla_put_s32() function
1608 return nla_put_s32(skb, attrtype, tmp32); in nla_put_sint()
/linux-6.15/net/ipv6/ila/
H A Dila_xlat.c432 nla_put_s32(msg, ILA_ATTR_IFINDEX, ila->xp.ifindex) || in ila_fill_info()
/linux-6.15/net/ieee802154/
H A Dnl802154.c397 if (nla_put_s32(msg, i, caps->cca_ed_levels[i])) in nl802154_put_capabilities()
413 if (nla_put_s32(msg, i, caps->tx_powers[i])) in nl802154_put_capabilities()
502 if (nla_put_s32(msg, NL802154_ATTR_TX_POWER, in nl802154_send_wpan_phy()
508 if (nla_put_s32(msg, NL802154_ATTR_CCA_ED_LEVEL, in nl802154_send_wpan_phy()
H A Dnl-mac.c120 nla_put_s32(msg, IEEE802154_ATTR_CCA_ED_LEVEL, in ieee802154_nl_fill_iface()
/linux-6.15/net/ipv6/
H A Daddrconf.c550 if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) in inet6_netconf_fill_devconf()
557 nla_put_s32(skb, NETCONFA_FORWARDING, in inet6_netconf_fill_devconf()
562 nla_put_s32(skb, NETCONFA_MC_FORWARDING, in inet6_netconf_fill_devconf()
567 nla_put_s32(skb, NETCONFA_PROXY_NEIGH, in inet6_netconf_fill_devconf()
572 nla_put_s32(skb, NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, in inet6_netconf_fill_devconf()
5152 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) in inet6_fill_ifaddr()
5229 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) { in inet6_fill_ifmcaddr()
5264 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) { in inet6_fill_ifacaddr()
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dtestmode.c737 if (nla_put_s32(msg, MT76_TM_RX_ATTR_FREQ_OFFSET, phy->test.last_freq_offset)) in mt7915_tm_dump_stats()
/linux-6.15/drivers/net/bonding/
H A Dbond_netlink.c58 if (nla_put_s32(skb, IFLA_BOND_SLAVE_PRIO, slave->prio)) in bond_fill_slave_info()
/linux-6.15/net/mpls/
H A Daf_mpls.c1152 if (nla_put_s32(skb, NETCONFA_IFINDEX, mdev->dev->ifindex) < 0) in mpls_netconf_fill_devconf()
1156 nla_put_s32(skb, NETCONFA_INPUT, in mpls_netconf_fill_devconf()
/linux-6.15/drivers/net/
H A Dmacvlan.c1721 nla_put_s32(skb, IFLA_MACVLAN_BC_CUTOFF, port->bc_cutoff)) in macvlan_fill_info()
/linux-6.15/net/openvswitch/
H A Ddatapath.c2126 if (nla_put_s32(skb, OVS_VPORT_ATTR_NETNSID, id)) in ovs_vport_cmd_fill_info()
/linux-6.15/drivers/net/team/
H A Dteam_core.c2400 if (nla_put_s32(skb, TEAM_ATTR_OPTION_DATA, ctx.data.s32_val)) in team_nl_fill_one_option_get()

12