summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls_null.c
blob: 03b1f5694bd1406cf7a9981b2eab09d6270db60f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#include <zebra.h>
#include "nexthop.h"
#include "zebra/rib.h"
#include "zebra/zserv.h"
#include "zebra/zebra_mpls.h"

int
zebra_mpls_lsp_label_consistent (struct zebra_vrf *zvrf, mpls_label_t in_label,
                     mpls_label_t out_label, enum nexthop_types_t gtype,
                     union g_addr *gate, char *ifname, ifindex_t ifindex)
{
  return 1;
}

int
zebra_mpls_static_lsp_add (struct zebra_vrf *zvrf, mpls_label_t in_label,
                     mpls_label_t out_label, enum nexthop_types_t gtype,
                     union g_addr *gate, char *ifname, ifindex_t ifindex)
{
  return 0;
}

int
zebra_mpls_static_lsp_del (struct zebra_vrf *zvrf, mpls_label_t in_label,
                           enum nexthop_types_t gtype, union g_addr *gate,
                           char *ifname, ifindex_t ifindex)
{
  return 0;
}

void
zebra_mpls_lsp_schedule (struct zebra_vrf *zvrf)
{
}

void
zebra_mpls_print_lsp (struct vty *vty, struct zebra_vrf *zvrf, mpls_label_t label)
{
}

void
zebra_mpls_print_lsp_table (struct vty *vty, struct zebra_vrf *zvrf)
{
}

int
zebra_mpls_write_lsp_config (struct vty *vty, struct zebra_vrf *zvrf)
{
  return 0;
}

void
zebra_mpls_close_tables (struct zebra_vrf *zvrf)
{
}

void
zebra_mpls_init_tables (struct zebra_vrf *zvrf)
{
}

void
zebra_mpls_init (void)
{
}