18 lines
369 B
C
18 lines
369 B
C
#pragma once
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
struct hnb_persistent;
|
|
|
|
struct nft_kpi_val {
|
|
uint64_t packets;
|
|
uint64_t bytes;
|
|
|
|
bool handle_present;
|
|
int64_t handle;
|
|
};
|
|
|
|
int nft_kpi_init(const char *table_name);
|
|
int hnb_nft_kpi_start(struct hnb_persistent *hnbp, const struct osmo_sockaddr_str *gtpu_remote);
|
|
int hnb_nft_kpi_end(struct hnb_persistent *hnbp);
|