Merge branch 'master' of github.com:borkmann/netsniff-ng into lldp
[netsniff-ng.git] / man / bpfc.8
blob9ffeefc22a69900a3afec01f08a11baa5137d9f3
1 =head1 NAME
3 bpfc - compile a BPF expression into BPF opcode
5 =head1 SYNOPSIS
7 bpfc -i|--input <program> [-V|--verbose][-v|--version][-h|--help]
9 =head1 DESCRIPTION
11 bpfc is a tool to generate BPF opcode from a literal expression.
12 The generated BPF opcode then can be used to filter out the
13 corresponding traffic.
15 =head1 EXAMPLES
17 =over
19 =item bpfc --input example.bpf
21 Transform the literal expression in example.bpf into BPF opcodes
23 =back
25 =head1 OPTIONS
27 =over
29 =item -i|--input <program>
31 Path to Berkeley Packet Filter file.
33 =item -V|--verbose
35 Increase program verbosity
37 =item -v|--version
39 Print version.
41 =item -h|--help
43 Print help text and lists all options.
45 =back
47 =head1 AUTHOR
49 Written by Daniel Borkmann <daniel@netsniff-ng.org>
51 =head1 DOCUMENTATION
53 Documentation by Emmanuel Roullit <emmanuel@netsniff-ng.org>
55 =head1 BUGS
57 Please report bugs to <bugs@netsniff-ng.org>
59 =cut