summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls_openbsd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-08-20 15:08:25 +0200
committerDonald Sharp <sharpd@nvidia.com>2021-09-02 16:33:23 +0200
commitf2595bd5057190f846b3bbff78bf44e538d46a2c (patch)
tree02e424ff4c66a84b2d8e0e330fc5e89958496f8e /zebra/zebra_mpls_openbsd.c
parentzebra: Convert to `struct zebra_ile` as per our internal standard (diff)
downloadfrr-f2595bd5057190f846b3bbff78bf44e538d46a2c.tar.xz
frr-f2595bd5057190f846b3bbff78bf44e538d46a2c.zip
zebra: Convert to `struct zebra_nhlfe` as per our internal standard
We do not use typedef's to talk about structures as per our standard. Fixing. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_mpls_openbsd.c')
-rw-r--r--zebra/zebra_mpls_openbsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_mpls_openbsd.c b/zebra/zebra_mpls_openbsd.c
index 74b1e3727..cdf34936c 100644
--- a/zebra/zebra_mpls_openbsd.c
+++ b/zebra/zebra_mpls_openbsd.c
@@ -44,7 +44,7 @@ struct {
} kr_state;
static int kernel_send_rtmsg_v4(int action, mpls_label_t in_label,
- const zebra_nhlfe_t *nhlfe)
+ const struct zebra_nhlfe *nhlfe)
{
struct iovec iov[5];
struct rt_msghdr hdr;
@@ -136,7 +136,7 @@ static int kernel_send_rtmsg_v4(int action, mpls_label_t in_label,
#endif
static int kernel_send_rtmsg_v6(int action, mpls_label_t in_label,
- const zebra_nhlfe_t *nhlfe)
+ const struct zebra_nhlfe *nhlfe)
{
struct iovec iov[5];
struct rt_msghdr hdr;
@@ -240,7 +240,7 @@ static int kernel_send_rtmsg_v6(int action, mpls_label_t in_label,
static int kernel_lsp_cmd(struct zebra_dplane_ctx *ctx)
{
const struct nhlfe_list_head *head;
- const zebra_nhlfe_t *nhlfe;
+ const struct zebra_nhlfe *nhlfe;
const struct nexthop *nexthop = NULL;
unsigned int nexthop_num = 0;
int action;