]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Zebra Policy Based Routing (PBR) interaction with the kernel using | |
3 | * netlink. | |
4 | * Copyright (C) 2018 Cumulus Networks, Inc. | |
5 | * Donald Sharp | |
6 | * | |
7 | * This file is part of FRR. | |
8 | * | |
9 | * FRR is free software; you can redistribute it and/or modify it | |
10 | * under the terms of the GNU General Public License as published by the | |
11 | * Free Software Foundation; either version 2, or (at your option) any | |
12 | * later version. | |
13 | * | |
14 | * FRR is distributed in the hope that it will be useful, but | |
15 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
17 | * General Public License for more details. | |
18 | * | |
19 | * You should have received a copy of the GNU General Public License | |
20 | * along with FRR; see the file COPYING. If not, write to the Free | |
21 | * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
22 | * 02111-1307, USA. | |
23 | */ | |
24 | ||
25 | #include <zebra.h> | |
26 | ||
27 | #ifndef HAVE_NETLINK | |
28 | ||
29 | #include "if.h" | |
30 | #include "prefix.h" | |
31 | #include "vrf.h" | |
32 | #include "lib_errors.h" | |
33 | ||
34 | #include "zebra/zserv.h" | |
35 | #include "zebra/zebra_ns.h" | |
36 | #include "zebra/zebra_vrf.h" | |
37 | #include "zebra/rt.h" | |
38 | #include "zebra/interface.h" | |
39 | #include "zebra/debug.h" | |
40 | #include "zebra/rtadv.h" | |
41 | #include "zebra/kernel_netlink.h" | |
42 | #include "zebra/rule_netlink.h" | |
43 | #include "zebra/zebra_pbr.h" | |
44 | #include "zebra/zebra_errors.h" | |
45 | ||
46 | enum zebra_dplane_result kernel_pbr_rule_update(struct zebra_dplane_ctx *ctx) | |
47 | { | |
48 | flog_err(EC_LIB_UNAVAILABLE, "%s not Implemented for this platform", | |
49 | __func__); | |
50 | return ZEBRA_DPLANE_REQUEST_FAILURE; | |
51 | } | |
52 | ||
53 | #endif |