tools/testing/selftests/net/forwarding/vxlan_bridge_1d_ipv6.sh
Source file repositories/reference/linux-study-clean/tools/testing/selftests/net/forwarding/vxlan_bridge_1d_ipv6.sh
File Facts
- System
- Linux kernel
- Corpus path
tools/testing/selftests/net/forwarding/vxlan_bridge_1d_ipv6.sh- Extension
.sh- Size
- 21821 bytes
- Lines
- 805
- Domain
- Support Tooling And Documentation
- Bucket
- tools
- Inferred role
- Support Tooling And Documentation: tools
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
# +-----------------------+ +------------------------+
# | H1 (vrf) | | H2 (vrf) |
# | + $h1 | | + $h2 |
# | | 192.0.2.1/28 | | | 192.0.2.2/28 |
# | | 2001:db8:1::1/64 | | | 2001:db8:1::2/64 |
# +----|------------------+ +----|-------------------+
# | |
# +----|--------------------------------------------------|-------------------+
# | SW | | |
# | +--|--------------------------------------------------|-----------------+ |
# | | + $swp1 BR1 (802.1d) + $swp2 | |
# | | | |
# | | + vx1 (vxlan) | |
# | | local 2001:db8:3::1 | |
# | | remote 2001:db8:4::1 2001:db8:5::1 | |
# | | id 1000 dstport $VXPORT | |
# | +-----------------------------------------------------------------------+ |
# | |
# | 2001:db8:4::0/64 via 2001:db8:3::2 |
# | 2001:db8:5::0/64 via 2001:db8:3::2 |
# | |
# | + $rp1 |
# | | 2001:db8:3::1/64 |
# +----|----------------------------------------------------------------------+
# |
# +----|----------------------------------------------------------+
# | | VRP2 (vrf) |
# | + $rp2 |
# | 2001:db8:3::2/64 |
# | | (maybe) HW
# =============================================================================
# | | (likely) SW
# | + v1 (veth) + v3 (veth) |
# | | 2001:db8:4::2/64 | 2001:db8:5::2/64 |
# +----|---------------------------------------|------------------+
# | |
# +----|--------------------------------+ +----|-------------------------------+
# | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) |
# | 2001:db8:4::1/64 | | 2001:db8:5::1/64 |
# | | | |
# | 2001:db8:3::0/64 via 2001:db8:4::2 | | 2001:db8:3::0/64 via 2001:db8:5::2 |
# | 2001:db8:5::1/128 via 2001:db8:4::2 | | 2001:db8:4::1/128 via |
# | | | 2001:db8:5::2 |
# | | | |
# | +-------------------------------+ | | +-------------------------------+ |
# | | BR2 (802.1d) | | | | BR2 (802.1d) | |
# | | + vx2 (vxlan) | | | | + vx2 (vxlan) | |
# | | local 2001:db8:4::1 | | | | local 2001:db8:5::1 | |
# | | remote 2001:db8:3::1 | | | | remote 2001:db8:3::1 | |
# | | remote 2001:db8:5::1 | | | | remote 2001:db8:4::1 | |
# | | id 1000 dstport $VXPORT | | | | id 1000 dstport $VXPORT | |
# | | | | | | | |
# | | + w1 (veth) | | | | + w1 (veth) | |
# | +--|----------------------------+ | | +--|----------------------------+ |
# | | | | | |
# | +--|----------------------------+ | | +--|----------------------------+ |
# | | + w2 (veth) VW2 (vrf) | | | | + w2 (veth) VW2 (vrf) | |
# | | 192.0.2.3/28 | | | | 192.0.2.4/28 | |
# | | 2001:db8:1::3/64 | | | | 2001:db8:1::4/64 | |
# | +-------------------------------+ | | +-------------------------------+ |
# +-------------------------------------+ +------------------------------------+
: ${VXPORT:=4789}
export VXPORT
: ${ALL_TESTS:="
ping_ipv4
Annotation
- Atlas domain: Support Tooling And Documentation / tools.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.