diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-01-24 17:58:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-24 17:58:25 +0000 |
| commit | f0e05ba825f5f154c570487d1b189a8be6f3b121 (patch) | |
| tree | dbc8b0c0d6bd9578cb01f1cb9f835813f0c3bd2a /python/vyos/include/uapi/linux/neighbour.py | |
| parent | b759dad71c358ea8772ab4973e71660c10a12524 (diff) | |
| parent | 937d370576d30eb6743e4733eda8e3882172e6ac (diff) | |
| download | veeos-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/neighbour.py')
| -rw-r--r-- | python/vyos/include/uapi/linux/neighbour.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/python/vyos/include/uapi/linux/neighbour.py b/python/vyos/include/uapi/linux/neighbour.py new file mode 100644 index 000000000..d5caf44b9 --- /dev/null +++ b/python/vyos/include/uapi/linux/neighbour.py @@ -0,0 +1,34 @@ +# 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/>. + +NTF_USE = (1 << 0) +NTF_SELF = (1 << 1) +NTF_MASTER = (1 << 2) +NTF_PROXY = (1 << 3) +NTF_EXT_LEARNED = (1 << 4) +NTF_OFFLOADED = (1 << 5) +NTF_STICKY = (1 << 6) +NTF_ROUTER = (1 << 7) +NTF_EXT_MANAGED = (1 << 0) +NTF_EXT_LOCKED = (1 << 1) + +NTF_FlAGS = { + 'self': NTF_SELF, + 'router': NTF_ROUTER, + 'extern_learn': NTF_EXT_LEARNED, + 'offload': NTF_OFFLOADED, + 'master': NTF_MASTER, + 'sticky': NTF_STICKY, + 'locked': NTF_EXT_LOCKED, +} |
