summaryrefslogtreecommitdiff
path: root/python/vyos/include/uapi/linux/fib_rules.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-01-24 17:58:25 +0000
committerGitHub <noreply@github.com>2025-01-24 17:58:25 +0000
commitf0e05ba825f5f154c570487d1b189a8be6f3b121 (patch)
treedbc8b0c0d6bd9578cb01f1cb9f835813f0c3bd2a /python/vyos/include/uapi/linux/fib_rules.py
parentb759dad71c358ea8772ab4973e71660c10a12524 (diff)
parent937d370576d30eb6743e4733eda8e3882172e6ac (diff)
downloadveeos-1x-f0e05ba825f5f154c570487d1b189a8be6f3b121.tar.gz
veeos-1x-f0e05ba825f5f154c570487d1b189a8be6f3b121.zip
Merge pull request #4216 from HollyGurza/T6641
T6641: Add vyos-network-event-logger Service
Diffstat (limited to 'python/vyos/include/uapi/linux/fib_rules.py')
-rw-r--r--python/vyos/include/uapi/linux/fib_rules.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/python/vyos/include/uapi/linux/fib_rules.py b/python/vyos/include/uapi/linux/fib_rules.py
new file mode 100644
index 000000000..72f0b18cb
--- /dev/null
+++ b/python/vyos/include/uapi/linux/fib_rules.py
@@ -0,0 +1,20 @@
+# Copyright (C) 2025 VyOS maintainers and contributors
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 or later as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+FIB_RULE_PERMANENT = 0x00000001
+FIB_RULE_INVERT = 0x00000002
+FIB_RULE_UNRESOLVED = 0x00000004
+FIB_RULE_IIF_DETACHED = 0x00000008
+FIB_RULE_DEV_DETACHED = FIB_RULE_IIF_DETACHED
+FIB_RULE_OIF_DETACHED = 0x00000010