/* SPDX-License-Identifier: MIT * * Copyright (C) 2017-2019 WireGuard LLC. All Rights Reserved. */packagedeviceimport("net")const(IPv4offsetTotalLength=2IPv4offsetSrc=12IPv4offsetDst=IPv4offsetSrc+net.IPv4len)const(IPv6offsetPayloadLength=4IPv6offsetSrc=8IPv6offsetDst=IPv6offsetSrc+net.IPv6len)