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)
Click to show internal directories.
Click to hide internal directories.