2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 13:58:14 +00:00

ct-dpif: Export ct_dpif_format_ipproto()

This function will be useful for following patches.

Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Acked-by: Justin Pettit <jpettit@ovn.org>
Signed-off-by: Justin Pettit <jpettit@ovn.org>
This commit is contained in:
Yi-Hung Wei
2019-08-28 15:14:23 -07:00
committed by Justin Pettit
parent 45339539f6
commit 934f54a1bc
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,6 @@ struct flags {
const char *name;
};
static void ct_dpif_format_ipproto(struct ds *, uint16_t ipproto);
static void ct_dpif_format_counters(struct ds *,
const struct ct_dpif_counters *);
static void ct_dpif_format_timestamp(struct ds *,
@@ -331,7 +330,7 @@ ct_dpif_format_entry(const struct ct_dpif_entry *entry, struct ds *ds,
}
}
static void
void
ct_dpif_format_ipproto(struct ds *ds, uint16_t ipproto)
{
const char *name;

View File

@@ -252,6 +252,7 @@ int ct_dpif_ipf_dump_done(struct dpif *dpif, void *);
void ct_dpif_entry_uninit(struct ct_dpif_entry *);
void ct_dpif_format_entry(const struct ct_dpif_entry *, struct ds *,
bool verbose, bool print_stats);
void ct_dpif_format_ipproto(struct ds *ds, uint16_t ipproto);
void ct_dpif_format_tuple(struct ds *, const struct ct_dpif_tuple *);
uint8_t ct_dpif_coalesce_tcp_state(uint8_t state);
void ct_dpif_format_tcp_stat(struct ds *, int, int);