]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
c8e718ce SY |
2 | /* |
3 | * Zebra Traffic Control (TC) interaction with the kernel using socket. | |
4 | * | |
5 | * Copyright (C) 2022 Shichu Yang | |
c8e718ce SY |
6 | */ |
7 | ||
8 | #include <zebra.h> | |
9 | ||
10 | #ifndef HAVE_NETLINK | |
11 | ||
12 | #include "lib_errors.h" | |
13 | ||
14 | #include "zebra/rt.h" | |
15 | #include "zebra/zebra_dplane.h" | |
16 | #include "zebra/zebra_errors.h" | |
c317d3f2 | 17 | #include "zebra/zebra_tc.h" |
c8e718ce SY |
18 | |
19 | enum zebra_dplane_result kernel_tc_update(struct zebra_dplane_ctx *ctx) | |
20 | { | |
21 | flog_err(EC_LIB_UNAVAILABLE, "%s not Implemented for this platform", | |
22 | __func__); | |
23 | return ZEBRA_DPLANE_REQUEST_FAILURE; | |
24 | } | |
25 | ||
26 | #endif /* !HAVE_NETLINK */ |