handles

package
v0.0.0-...-f44eed3 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start_Listen

func Start_Listen()

Types

type ICMP_handle

type ICMP_handle struct {
	Src_IP string
	Id     uint16
	Close  chan uint8
}

func (*ICMP_handle) Close_Wait

func (I *ICMP_handle) Close_Wait(pe chan uint8)

func (*ICMP_handle) Get_src

func (icmp *ICMP_handle) Get_src() string

func (*ICMP_handle) Start_Handle

func (I *ICMP_handle) Start_Handle(start_Packet gopacket.Packet)

type TCP_handle

type TCP_handle struct {
	Src_IP   string
	Src_Port uint16
	Out_Port uint16
	Active   string
	Close    bool
}

func (*TCP_handle) Get_src

func (tcp *TCP_handle) Get_src() string

type UDP_handle

type UDP_handle struct {
	Src_IP   string
	Src_Port uint16
	Out_Port uint16
	Close    bool
}

func (*UDP_handle) Get_src

func (udp *UDP_handle) Get_src() string

Jump to

Keyboard shortcuts

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