Home
last modified time | relevance | path

Searched refs:nla_put_be64 (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dnft_quota.c150 if (nla_put_be64(skb, NFTA_QUOTA_BYTES, cpu_to_be64(quota), in nft_quota_do_dump()
152 nla_put_be64(skb, NFTA_QUOTA_CONSUMED, cpu_to_be64(consumed_cap), in nft_quota_do_dump()
H A Dnft_counter.c155 if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes), in nft_counter_do_dump()
157 nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets), in nft_counter_do_dump()
H A Dnfnetlink_acct.c170 if (nla_put_be64(skb, NFACCT_PKTS, cpu_to_be64(pkts), in nfnl_acct_fill_info()
172 nla_put_be64(skb, NFACCT_BYTES, cpu_to_be64(bytes), in nfnl_acct_fill_info()
180 nla_put_be64(skb, NFACCT_QUOTA, cpu_to_be64(*quota), in nfnl_acct_fill_info()
H A Dnft_last.c88 nla_put_be64(skb, NFTA_LAST_MSECS, msecs, NFTA_LAST_PAD)) in nft_last_dump()
H A Dnft_limit.c132 if (nla_put_be64(skb, NFTA_LIMIT_RATE, cpu_to_be64(priv->rate), in nft_limit_dump()
134 nla_put_be64(skb, NFTA_LIMIT_UNIT, cpu_to_be64(secs), in nft_limit_dump()
H A Dnf_tables_trace.c143 return nla_put_be64(nlskb, NFTA_TRACE_RULE_HANDLE, in nf_trace_fill_rule_info()
H A Dnft_dynset.c384 if (nla_put_be64(skb, NFTA_DYNSET_TIMEOUT, in nft_dynset_dump()
H A Dnf_conntrack_proto_dccp.c657 nla_put_be64(skb, CTA_PROTOINFO_DCCP_HANDSHAKE_SEQ, in dccp_to_nlattr()
H A Dnf_conntrack_netlink.c277 if (nla_put_be64(skb, CTA_COUNTERS_PACKETS, cpu_to_be64(pkts), in dump_counters()
279 nla_put_be64(skb, CTA_COUNTERS_BYTES, cpu_to_be64(bytes), in dump_counters()
321 if (nla_put_be64(skb, CTA_TIMESTAMP_START, cpu_to_be64(tstamp->start), in ctnetlink_dump_timestamp()
323 (tstamp->stop != 0 && nla_put_be64(skb, CTA_TIMESTAMP_STOP, in ctnetlink_dump_timestamp()
H A Dnf_tables_api.c978 nla_put_be64(skb, NFTA_TABLE_HANDLE, cpu_to_be64(table->handle), in nf_tables_fill_table_info()
1750 if (nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.pkts), in nft_dump_stats()
1752 nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes), in nft_dump_stats()
1826 nla_put_be64(skb, NFTA_CHAIN_HANDLE, cpu_to_be64(chain->handle), in nf_tables_fill_chain_info()
3427 if (nla_put_be64(skb, NFTA_RULE_HANDLE, cpu_to_be64(rule->handle), in nf_tables_fill_rule_info()
3432 if (nla_put_be64(skb, NFTA_RULE_POSITION, cpu_to_be64(handle), in nf_tables_fill_rule_info()
4584 if (nla_put_be64(skb, NFTA_SET_HANDLE, cpu_to_be64(set->handle), in nf_tables_fill_set()
4612 nla_put_be64(skb, NFTA_SET_TIMEOUT, in nf_tables_fill_set()
5777 nla_put_be64(skb, NFTA_SET_ELEM_TIMEOUT, in nf_tables_fill_setelem()
5791 if (nla_put_be64(skb, NFTA_SET_ELEM_EXPIRATION, in nf_tables_fill_setelem()
[all …]
/openbmc/linux/include/net/
H A Dnetlink.h1421 static inline int nla_put_be64(struct sk_buff *skb, int attrtype, __be64 value, in nla_put_be64() function
1441 return nla_put_be64(skb, attrtype | NLA_F_NET_BYTEORDER, tmp, in nla_put_net64()
/openbmc/linux/net/ipv4/
H A Dip_tunnel_core.c843 if (nla_put_be64(skb, LWTUNNEL_IP_ID, tun_info->key.tun_id, in ip_tun_fill_encap_info()
1005 if (nla_put_be64(skb, LWTUNNEL_IP6_ID, tun_info->key.tun_id, in ip6_tun_fill_encap_info()
/openbmc/linux/net/psample/
H A Dpsample.c225 nla_put_be64(skb, PSAMPLE_TUNNEL_KEY_ATTR_ID, tun_key->tun_id, in __psample_ip_tun_to_nlattr()
/openbmc/linux/net/core/
H A Dfib_rules.c1061 nla_put_be64(skb, FRA_TUN_ID, rule->tun_id, FRA_PAD)) || in fib_nl_fill_rule()
/openbmc/linux/net/openvswitch/
H A Dflow_netlink.c878 nla_put_be64(skb, OVS_TUNNEL_KEY_ATTR_ID, output->tun_id, in __ip_tun_to_nlattr()