Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions pkg/tcpip/tcpip.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,12 @@ const (
// PacketHost indicates a packet addressed to the local host.
PacketHost PacketType = iota

// PacketBroadcast indicates a link layer broadcast packet.
PacketBroadcast

// PacketMulticast indicates a link layer multicast packet.
PacketMulticast

// PacketOtherHost indicates an outgoing packet addressed to
// another host caught by a NIC in promiscuous mode.
PacketOtherHost
Expand All @@ -517,11 +523,8 @@ const (
// that is looped back to a packet socket.
PacketOutgoing

// PacketBroadcast indicates a link layer broadcast packet.
PacketBroadcast

// PacketMulticast indicates a link layer multicast packet.
PacketMulticast
// PacketLoopback indicates a packet that is looped back to a packet socket.
PacketLoopback
)

// FullAddress represents a full transport node address, as required by the
Expand Down