Skip to content

Commit

Permalink
ct-dpif: Export ct_dpif_format_ipproto()
Browse files Browse the repository at this point in the history
This function will be useful for following patches.

Signed-off-by: Yi-Hung Wei <[email protected]>
Acked-by: Justin Pettit <[email protected]>
Signed-off-by: Justin Pettit <[email protected]>
  • Loading branch information
YiHungWei authored and justinpettit committed Sep 26, 2019
1 parent 4533953 commit 934f54a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ct-dpif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *,
Expand Down Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions lib/ct-dpif.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 934f54a

Please sign in to comment.