func (fs FS) NetSoftnetStat() ([]SoftnetStat, error) {
	b, err := util.ReadFileNoStat(fs.proc.Path(softNetProcFile))
	if err != nil {
		return nil, err
	}
	entries, err := parseSoftnet(bytes.NewReader(b))
	if err != nil {
		return nil, fmt.Errorf("failed to parse /proc/net/softnet_stat: %w", err)
	}
	return entries, nil
}
NetSoftnetStat reads data from /proc/net/softnet_stat.
package procfs
import (
	"bufio"
	"bytes"
	"fmt"
	"io"
	"strconv"
	"strings"
	"github.com/prometheus/procfs/internal/util"
)
type SoftnetStat struct {
	Processed uint32
	Dropped uint32
	TimeSqueezed uint32
}
var softNetProcFile = "net/softnet_stat"