mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-04 07:32:19 -08:00
This reverts commit 0267fe83b2.
Reason: it converted the tree to Windows line endings.
Updates #14299
Change-Id: I2271a61d43e99bd0bbcf9f4831e8783e570ba08a
Signed-off-by: Brad Fitzpatrick <[email protected]>
16 lines
687 B
Go
16 lines
687 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Package packet contains packet parsing and marshaling utilities.
|
|
//
|
|
// Parsed provides allocation-free minimal packet header decoding, for
|
|
// use in packet filtering. The other types in the package are for
|
|
// constructing and marshaling packets into []bytes.
|
|
//
|
|
// To support allocation-free parsing, this package defines IPv4 and
|
|
// IPv6 address types. You should prefer to use netaddr's types,
|
|
// except where you absolutely need allocation-free IP handling
|
|
// (i.e. in the tunnel datapath) and are willing to implement all
|
|
// codepaths and data structures twice, once per IP family.
|
|
package packet
|