<commit_before>// Copyright 2012 The golibpcap Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !safe,!appengine

// The pcap package provides support for using the C pcap library from within a
// Go program.  Not all of the functions exported by <pacp.h> have been included
// in this package and more will be added on request.
//
package pcap

/*
#cgo linux LDFLAGS: libpcap_linux.a
#cgo freebsd LDFLAGS: libpcap_freebsd.a
#include <stdlib.h><commit_msg>Use relative paths for libpcap linking; fixes #2<commit_after>// Copyright 2012 The golibpcap Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !safe,!appengine

// The pcap package provides support for using the C pcap library from within a
// Go program.  Not all of the functions exported by <pacp.h> have been included
// in this package and more will be added on request.
//
package pcap

/*
#cgo linux LDFLAGS: ../../golibpcap/pcap/libpcap_linux.a
#cgo freebsd LDFLAGS: ../../golibpcap/pcap/libpcap_freebsd.a
#include <stdlib.h>
{'fraction_non_alphanumeric': 0.08975444538526672, 'fraction_numerical': 0.007620660457239628, 'mean_word_length': 3.5813953488372094, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4064447', 'n_tokens_mistral': 383, 'n_tokens_neox': 352, 'n_words': 164}