Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/
Dnft_counter.c150 if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes), in nft_counter_do_dump()
152 nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets), in nft_counter_do_dump()
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()
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()
Dnft_last.c87 nla_put_be64(skb, NFTA_LAST_MSECS, msecs, NFTA_LAST_PAD)) in nft_last_dump()
Dnft_limit.c118 if (nla_put_be64(skb, NFTA_LIMIT_RATE, cpu_to_be64(priv->rate), in nft_limit_dump()
120 nla_put_be64(skb, NFTA_LIMIT_UNIT, cpu_to_be64(secs), in nft_limit_dump()
Dnf_tables_trace.c141 return nla_put_be64(nlskb, NFTA_TRACE_RULE_HANDLE, in nf_trace_fill_rule_info()
Dnft_dynset.c375 if (nla_put_be64(skb, NFTA_DYNSET_TIMEOUT, in nft_dynset_dump()
Dnf_conntrack_proto_dccp.c609 nla_put_be64(skb, CTA_PROTOINFO_DCCP_HANDSHAKE_SEQ, in dccp_to_nlattr()
Dnf_tables_api.c827 nla_put_be64(skb, NFTA_TABLE_HANDLE, cpu_to_be64(table->handle), in nf_tables_fill_table_info()
1560 if (nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.pkts), in nft_dump_stats()
1562 nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes), in nft_dump_stats()
1628 if (nla_put_be64(skb, NFTA_CHAIN_HANDLE, cpu_to_be64(chain->handle), in nf_tables_fill_chain_info()
3028 if (nla_put_be64(skb, NFTA_RULE_HANDLE, cpu_to_be64(rule->handle), in nf_tables_fill_rule_info()
3033 if (nla_put_be64(skb, NFTA_RULE_POSITION, cpu_to_be64(handle), in nf_tables_fill_rule_info()
4029 if (nla_put_be64(skb, NFTA_SET_HANDLE, cpu_to_be64(set->handle), in nf_tables_fill_set()
4051 nla_put_be64(skb, NFTA_SET_TIMEOUT, in nf_tables_fill_set()
5056 nla_put_be64(skb, NFTA_SET_ELEM_TIMEOUT, in nf_tables_fill_setelem()
5070 if (nla_put_be64(skb, NFTA_SET_ELEM_EXPIRATION, in nf_tables_fill_setelem()
[all …]
Dnf_conntrack_netlink.c272 if (nla_put_be64(skb, CTA_COUNTERS_PACKETS, cpu_to_be64(pkts), in dump_counters()
274 nla_put_be64(skb, CTA_COUNTERS_BYTES, cpu_to_be64(bytes), in dump_counters()
316 if (nla_put_be64(skb, CTA_TIMESTAMP_START, cpu_to_be64(tstamp->start), in ctnetlink_dump_timestamp()
318 (tstamp->stop != 0 && nla_put_be64(skb, CTA_TIMESTAMP_STOP, in ctnetlink_dump_timestamp()
/linux-6.1.9/include/net/
Dnetlink.h1392 static inline int nla_put_be64(struct sk_buff *skb, int attrtype, __be64 value, in nla_put_be64() function
1412 return nla_put_be64(skb, attrtype | NLA_F_NET_BYTEORDER, tmp, in nla_put_net64()
/linux-6.1.9/net/psample/
Dpsample.c224 nla_put_be64(skb, PSAMPLE_TUNNEL_KEY_ATTR_ID, tun_key->tun_id, in __psample_ip_tun_to_nlattr()
/linux-6.1.9/net/ipv4/
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()
/linux-6.1.9/net/core/
Dfib_rules.c1061 nla_put_be64(skb, FRA_TUN_ID, rule->tun_id, FRA_PAD)) || in fib_nl_fill_rule()
/linux-6.1.9/net/openvswitch/
Dflow_netlink.c875 nla_put_be64(skb, OVS_TUNNEL_KEY_ATTR_ID, output->tun_id, in __ip_tun_to_nlattr()