]>
git.proxmox.com Git - mirror_frr.git/blob - zebra/rule_socket.c
2 * Zebra Policy Based Routing (PBR) interaction with the kernel using
4 * Copyright (C) 2018 Cumulus Networks, Inc.
7 * This file is part of FRR.
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
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.
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
33 #include "zebra/zserv.h"
34 #include "zebra/zebra_ns.h"
35 #include "zebra/zebra_vrf.h"
37 #include "zebra/interface.h"
38 #include "zebra/debug.h"
39 #include "zebra/rtadv.h"
40 #include "zebra/kernel_netlink.h"
41 #include "zebra/rule_netlink.h"
42 #include "zebra/zebra_pbr.h"
44 enum dp_req_result
kernel_add_pbr_rule(struct zebra_pbr_rule
*rule
)
46 zlog_err("%s not Implemented for this platform", __PRETTY_FUNCTION__
);
47 return DP_REQUEST_FAILURE
;
50 enum dp_req_result
kernel_del_pbr_rule(struct zebra_pbr_rule
*rule
)
52 zlog_err("%s not Implemented for this platform", __PRETTY_FUNCTION__
);
53 return DP_REQUEST_FAILURE
;