diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-07-16 19:32:44 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-16 19:32:44 +0000 |
commit | 18dc1e6315c75f72b60d6b23f27581a4ec31f8e9 (patch) | |
tree | 32bcb77091e8322920e5871bbba53c8a392f773e /pkg/tcpip/header/eth.go | |
parent | 024b12466e7bcd049da21616d31628ab4b7713b7 (diff) | |
parent | c66991ad7de68fd629a1620acad0c8eec2744bac (diff) |
Merge release-20200622.1-171-gc66991ad7 (automated)
Diffstat (limited to 'pkg/tcpip/header/eth.go')
-rw-r--r-- | pkg/tcpip/header/eth.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tcpip/header/eth.go b/pkg/tcpip/header/eth.go index b1e92d2d7..eaface8cb 100644 --- a/pkg/tcpip/header/eth.go +++ b/pkg/tcpip/header/eth.go @@ -53,6 +53,10 @@ const ( // (all bits set to 0). unspecifiedEthernetAddress = tcpip.LinkAddress("\x00\x00\x00\x00\x00\x00") + // EthernetBroadcastAddress is an ethernet address that addresses every node + // on a local link. + EthernetBroadcastAddress = tcpip.LinkAddress("\xff\xff\xff\xff\xff\xff") + // unicastMulticastFlagMask is the mask of the least significant bit in // the first octet (in network byte order) of an ethernet address that // determines whether the ethernet address is a unicast or multicast. If |