func (c *Conn) Stats() (*Stats, error) {
	return c.p.Stats()
}
Stats retrieves statistics from the Conn.

Only supported on Linux at this time.
package raw
import (
	"errors"
	"net"
	"time"
	"golang.org/x/net/bpf"
)
var ErrNotImplemented = errors.New("raw: not implemented")
var _ net.Addr = &Addr{}
type Addr struct {
	HardwareAddr net.HardwareAddr
}
func (a *Addr) Network() string {
	return "raw"
}
func (a *Addr) String() string {
	return a.HardwareAddr.String()
}
var _ net.PacketConn = &Conn{}
type Conn struct {
	p *packetConn
}
func (c *Conn) ReadFrom(b []byte) (int, net.Addr, error) {
	return c.p.ReadFrom(b)
}
func (c *Conn) WriteTo(b []byte, addr net.Addr) (int, error) {
	return c.p.WriteTo(b, addr)
}
func (c *Conn) Close() error {
	return c.p.Close()
}
func (c *Conn) LocalAddr() net.Addr {
	return c.p.LocalAddr()
}
func (c *Conn) SetDeadline(t time.Time) error {
	return c.p.SetDeadline(t)
}
func (c *Conn) SetReadDeadline(t time.Time) error {
	return c.p.SetReadDeadline(t)
}
func (c *Conn) SetWriteDeadline(t time.Time) error {
	return c.p.SetWriteDeadline(t)
}
var _ bpf.Setter = &Conn{}
func (c *Conn) SetBPF(filter []bpf.RawInstruction) error {
	return c.p.SetBPF(filter)
}
func (c *Conn) SetPromiscuous(b bool) error {
	return c.p.SetPromiscuous(b)
}
type Stats struct {
	Packets uint64
	Drops uint64
}