/kernel/linux/linux-5.10/net/sched/ |
H A D | act_gate.c | 487 if (nla_put_s32(skb, TCA_GATE_ENTRY_MAX_OCTETS, entry->maxoctets)) in dumping_entry() 490 if (nla_put_s32(skb, TCA_GATE_ENTRY_IPV, entry->ipv)) in dumping_entry() 535 if (nla_put_s32(skb, TCA_GATE_CLOCKID, p->tcfg_clockid)) in tcf_gate_dump() 541 if (nla_put_s32(skb, TCA_GATE_PRIORITY, p->tcfg_priority)) in tcf_gate_dump()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_gate.c | 490 if (nla_put_s32(skb, TCA_GATE_ENTRY_MAX_OCTETS, entry->maxoctets)) in dumping_entry() 493 if (nla_put_s32(skb, TCA_GATE_ENTRY_IPV, entry->ipv)) in dumping_entry() 538 if (nla_put_s32(skb, TCA_GATE_CLOCKID, p->tcfg_clockid)) in tcf_gate_dump() 544 if (nla_put_s32(skb, TCA_GATE_PRIORITY, p->tcfg_priority)) in tcf_gate_dump()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | testmode.c | 338 if (nla_put_s32(msg, MT76_TM_RX_ATTR_FREQ_OFFSET, dev->test.last_freq_offset) || in mt7615_tm_dump_stats() 339 nla_put_s32(msg, MT76_TM_RX_ATTR_IB_RSSI, dev->test.last_ib_rssi) || in mt7615_tm_dump_stats() 340 nla_put_s32(msg, MT76_TM_RX_ATTR_WB_RSSI, dev->test.last_wb_rssi)) in mt7615_tm_dump_stats()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | devinet.c | 1669 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) in inet_fill_ifaddr() 2047 if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) in inet_netconf_fill_devconf() 2054 nla_put_s32(skb, NETCONFA_FORWARDING, in inet_netconf_fill_devconf() 2058 nla_put_s32(skb, NETCONFA_RP_FILTER, in inet_netconf_fill_devconf() 2062 nla_put_s32(skb, NETCONFA_MC_FORWARDING, in inet_netconf_fill_devconf() 2066 nla_put_s32(skb, NETCONFA_BC_FORWARDING, in inet_netconf_fill_devconf() 2070 nla_put_s32(skb, NETCONFA_PROXY_NEIGH, in inet_netconf_fill_devconf() 2074 nla_put_s32(skb, NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, in inet_netconf_fill_devconf()
|
H A D | fou.c | 797 nla_put_s32(msg, FOU_ATTR_IFINDEX, sk->sk_bound_dev_if)) in fou_fill_info()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | devinet.c | 1694 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) in inet_fill_ifaddr() 2090 if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) in inet_netconf_fill_devconf() 2097 nla_put_s32(skb, NETCONFA_FORWARDING, in inet_netconf_fill_devconf() 2101 nla_put_s32(skb, NETCONFA_RP_FILTER, in inet_netconf_fill_devconf() 2105 nla_put_s32(skb, NETCONFA_MC_FORWARDING, in inet_netconf_fill_devconf() 2109 nla_put_s32(skb, NETCONFA_BC_FORWARDING, in inet_netconf_fill_devconf() 2113 nla_put_s32(skb, NETCONFA_PROXY_NEIGH, in inet_netconf_fill_devconf() 2117 nla_put_s32(skb, NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, in inet_netconf_fill_devconf()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | testmode.c | 334 if (nla_put_s32(msg, MT76_TM_RX_ATTR_FREQ_OFFSET, phy->test.last_freq_offset)) in mt7615_tm_dump_stats()
|
/kernel/linux/linux-5.10/net/ieee802154/ |
H A D | nl802154.c | 378 if (nla_put_s32(msg, i, caps->cca_ed_levels[i])) in nl802154_put_capabilities() 394 if (nla_put_s32(msg, i, caps->tx_powers[i])) in nl802154_put_capabilities() 483 if (nla_put_s32(msg, NL802154_ATTR_TX_POWER, in nl802154_send_wpan_phy() 489 if (nla_put_s32(msg, NL802154_ATTR_CCA_ED_LEVEL, in nl802154_send_wpan_phy()
|
H A D | nl-mac.c | 120 nla_put_s32(msg, IEEE802154_ATTR_CCA_ED_LEVEL, in ieee802154_nl_fill_iface()
|
/kernel/linux/linux-6.6/net/ieee802154/ |
H A D | nl802154.c | 397 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()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | net_namespace.c | 849 if (nla_put_s32(skb, NETNSA_NSID, args->nsid)) in rtnl_net_fill() 853 nla_put_s32(skb, NETNSA_CURRENT_NSID, args->ref_nsid)) in rtnl_net_fill()
|
H A D | rtnetlink.c | 1589 if (nla_put_s32(skb, IFLA_LINK_NETNSID, id)) in rtnl_fill_link_netnsid() 1729 if (tgt_netnsid >= 0 && nla_put_s32(skb, IFLA_TARGET_NETNSID, tgt_netnsid)) in rtnl_fill_ifinfo() 1810 nla_put_s32(skb, IFLA_NEW_NETNSID, *new_nsid) < 0) in rtnl_fill_ifinfo() 1813 nla_put_s32(skb, IFLA_NEW_IFINDEX, new_ifindex) < 0) in rtnl_fill_ifinfo()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | net_namespace.c | 838 if (nla_put_s32(skb, NETNSA_NSID, args->nsid)) in rtnl_net_fill() 842 nla_put_s32(skb, NETNSA_CURRENT_NSID, args->ref_nsid)) in rtnl_net_fill()
|
/kernel/linux/linux-5.10/net/ipv6/ila/ |
H A D | ila_xlat.c | 432 nla_put_s32(msg, ILA_ATTR_IFINDEX, ila->xp.ifindex) || in ila_fill_info()
|
/kernel/linux/linux-6.6/net/ipv6/ila/ |
H A D | ila_xlat.c | 431 nla_put_s32(msg, ILA_ATTR_IFINDEX, ila->xp.ifindex) || in ila_fill_info()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | netlink.h | 106 * nla_put_s32(skb, type, value) add s32 attribute to skb 1441 * nla_put_s32 - Add a s32 netlink attribute to a socket buffer 1446 static inline int nla_put_s32(struct sk_buff *skb, int attrtype, s32 value) in nla_put_s32() function
|
/kernel/linux/linux-6.6/drivers/net/bonding/ |
H A D | bond_netlink.c | 57 if (nla_put_s32(skb, IFLA_BOND_SLAVE_PRIO, slave->prio)) in bond_fill_slave_info()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | netlink.h | 106 * nla_put_s32(skb, type, value) add s32 attribute to skb 1487 * nla_put_s32 - Add a s32 netlink attribute to a socket buffer 1492 static inline int nla_put_s32(struct sk_buff *skb, int attrtype, s32 value) in nla_put_s32() function
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.c | 735 if (nla_put_s32(msg, MT76_TM_RX_ATTR_FREQ_OFFSET, phy->test.last_freq_offset)) in mt7915_tm_dump_stats()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | addrconf.c | 534 if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) in inet6_netconf_fill_devconf() 541 nla_put_s32(skb, NETCONFA_FORWARDING, devconf->forwarding) < 0) in inet6_netconf_fill_devconf() 545 nla_put_s32(skb, NETCONFA_MC_FORWARDING, in inet6_netconf_fill_devconf() 550 nla_put_s32(skb, NETCONFA_PROXY_NEIGH, devconf->proxy_ndp) < 0) in inet6_netconf_fill_devconf() 554 nla_put_s32(skb, NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, in inet6_netconf_fill_devconf() 5005 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) in inet6_fill_ifaddr() 5074 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) { in inet6_fill_ifmcaddr() 5108 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) { in inet6_fill_ifacaddr()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | addrconf.c | 543 if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) in inet6_netconf_fill_devconf() 550 nla_put_s32(skb, NETCONFA_FORWARDING, devconf->forwarding) < 0) in inet6_netconf_fill_devconf() 554 nla_put_s32(skb, NETCONFA_MC_FORWARDING, in inet6_netconf_fill_devconf() 559 nla_put_s32(skb, NETCONFA_PROXY_NEIGH, devconf->proxy_ndp) < 0) in inet6_netconf_fill_devconf() 563 nla_put_s32(skb, NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, in inet6_netconf_fill_devconf() 5083 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) in inet6_fill_ifaddr() 5156 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) { in inet6_fill_ifmcaddr() 5190 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) { in inet6_fill_ifacaddr()
|
/kernel/linux/linux-5.10/net/mpls/ |
H A D | af_mpls.c | 1150 if (nla_put_s32(skb, NETCONFA_IFINDEX, mdev->dev->ifindex) < 0) in mpls_netconf_fill_devconf() 1154 nla_put_s32(skb, NETCONFA_INPUT, in mpls_netconf_fill_devconf()
|
/kernel/linux/linux-6.6/net/mpls/ |
H A D | af_mpls.c | 1152 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()
|
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | pm_netlink.c | 1681 nla_put_s32(skb, MPTCP_PM_ADDR_ATTR_IF_IDX, entry->ifindex)) in mptcp_nl_fill_addr() 2056 nla_put_s32(skb, MPTCP_ATTR_IF_IDX, ssk->sk_bound_dev_if)) in mptcp_event_put_token_and_ssk()
|
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | pm_netlink.c | 877 nla_put_s32(skb, MPTCP_PM_ADDR_ATTR_IF_IDX, entry->addr.ifindex)) in mptcp_nl_fill_addr()
|