packet

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtherCATPacket

type EtherCATPacket struct {
	Ethernet *layers.Ethernet
	IPv4     *layers.IPv4
	UDP      *layers.UDP
	Ecat     *ethercat.EtherCAT
}

func NewEtherCATPacket

func NewEtherCATPacket(device string) (EtherCATPacket, error)

func (*EtherCATPacket) Send

func (p *EtherCATPacket) Send(handle *pcap.Handle, options gopacket.SerializeOptions) ([]byte, error)

Jump to

Keyboard shortcuts

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