proxyutil

package
v0.0.0-...-b048235 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proxyutil contains helper functions that are used in all other dnsproxy packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPrefix

func AddPrefix(b []byte) (m []byte)

AddPrefix adds a 2-byte prefix with the DNS message length.

func IPFromRR

func IPFromRR(rr dns.RR) (ip net.IP)

IPFromRR returns the IP address from rr if any.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL