tools/testing/selftests/net/ip_local_port_range.sh

Source file repositories/reference/linux-study-clean/tools/testing/selftests/net/ip_local_port_range.sh

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/net/ip_local_port_range.sh
Extension
.sh
Size
211 bytes
Lines
8
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0

./in_netns.sh \
  sh -c 'sysctl -q -w net.mptcp.enabled=1 && \
         sysctl -q -w net.ipv4.ip_local_port_range="40000 49999" && \
         ./ip_local_port_range'

Annotation

Implementation Notes