func statusError(status C.int) error { return errors.New(C.GoString(C.pcap_statustostr(status))) }
// Statustostr returns error strings for PCAP_ERROR_ and PCAP_WARNING_ values. func Statustostr(errnum int32) string { return C.GoString(C.pcap_statustostr(C.int(errnum))) }