netfilter

package
v0.0.0-...-522126a Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package netfilter helps the sentry interact with netstack's netfilter capabilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillDefaultIPTables

func FillDefaultIPTables(stack *stack.Stack)

FillDefaultIPTables sets stack's IPTables to the default tables and populates them with metadata.

func GetEntries

func GetEntries(t *kernel.Task, ep tcpip.Endpoint, outPtr usermem.Addr, outLen int) (linux.KernelIPTGetEntries, *syserr.Error)

GetEntries returns netstack's iptables rules encoded for the iptables tool.

func GetInfo

func GetInfo(t *kernel.Task, ep tcpip.Endpoint, outPtr usermem.Addr) (linux.IPTGetinfo, *syserr.Error)

GetInfo returns information about iptables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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