const readLimit … type NetIPSocket … type NetIPSocketSummary … type netIPSocketLine … func newNetIPSocket(file string) (NetIPSocket, error) { … } // newNetIPSocketSummary creates a new NetIPSocket{,6} from the contents of the given file. func newNetIPSocketSummary(file string) (*NetIPSocketSummary, error) { … } func parseIP(hexIP string) (net.IP, error) { … } // parseNetIPSocketLine parses a single line, represented by a list of fields. func parseNetIPSocketLine(fields []string, isUDP bool) (*netIPSocketLine, error) { … }