poller

package
v0.0.0-...-2036b99 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package poller contains the main xtcp go routine that fires off the actual kernel polling

This routine is responsible for starting up the netlinkers + inetdiagers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Poller

func Poller(af uint8, hostname *string, cliFlags cliflags.CliFlags, wg *sync.WaitGroup, pollerStaterCh chan<- pollerstater.PollerStats, netlinkerStaterCh chan<- netlinkerstater.NetlinkerStatsWrapper, inetdiagerStaterCh chan<- inetdiagerstater.InetdiagerStatsWrapper)

Poller is instanciated once per address family, and is responsible for: 1. Setting up channels and workers 2. Sending netlink diag dump requests to the kernel 3. Waiting for a done message from the kernel 4. Waiting for the netlinkers to complete 5. Block waiting for tick Left out stats related stuffs

Types

This section is empty.

Jump to

Keyboard shortcuts

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