// SPDX-FileCopyrightText: 2026 Echolot contributors // SPDX-License-Identifier: GPL-3.0-or-later //go:build !linux package dataplane import "net" // Setting DSCP per-burst uses IP_TOS/IPV6_TCLASS under the same fd-borrow pattern as withDF, // which is only exercised on Linux deployments. Elsewhere the burst goes out with the default // class and TOSSupported lets the action response say so — an unmarked burst reported as marked // would read as "the network stripped DSCP", the exact wrong conclusion. func withTOS(_ *net.UDPConn, _ int, fn func() error) error { return fn() } const TOSSupported = false