Commit Graph

13 Commits

Author SHA1 Message Date
Pedro F. Giffuni
1de7b4b805 various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.
2017-11-27 15:37:16 +00:00
Gleb Smirnoff
2698a8a55b Use less ugly code to allocate buffer of SORCVBUF_SIZE. 2015-02-13 23:57:20 +00:00
Pedro F. Giffuni
ec6c61d896 flowctl: Replace alloca() with an array.
Reviewed by:	glebius
2015-02-11 17:46:35 +00:00
Alexander V. Chernikov
3097b95a03 Add "human" option to print IPv4/IPv6 flows in human-readable format.
Show IPv4/IPv6 header IFF there are some flows following.
Wrap some long lines.

Sponsored by Yandex LLC

Reviewed by:     glebius (previous version)
Approved by:     ae(mentor)
MFC after:       1 week
2012-06-09 10:10:12 +00:00
Sergey Kandaurov
6765aefcf3 Conditionally compile in the IPv4/IPv6 address family support.
Test it with feature_present(3), so that we do not end up with passing
an unsupported version to NgSendMsg(3).

Approved by:	glebius
2011-07-06 15:18:32 +00:00
Gleb Smirnoff
37b425e9eb Rewrite the flowctl utility to add it support for displaying
both IPv4 and IPv4 flows.
2011-07-05 14:50:06 +00:00
Warner Losh
367316d5ff Get the other NG_PATHLEN while I'm here too :(. 2009-06-09 05:24:06 +00:00
Warner Losh
c402ff5910 Use NG_PATHSIZ instead of NG_PATHLEN + 1. 2009-06-09 05:18:14 +00:00
Gleb Smirnoff
9672556c09 Implement "verbose" optional keyword for "show" command. This is analog
of Cisco's "show ip cache verbose flow" command.
2005-03-23 09:40:18 +00:00
Gleb Smirnoff
c41ba5f041 Remove code, inherited from ipacctctl, which sets socket to non-blocking
mode, since this introduces problems on SMP.
2005-02-06 14:00:57 +00:00
Gleb Smirnoff
f0f77f69d7 Remove redundant parameter inherited from ipacctctl. 2005-01-18 09:24:32 +00:00
Gleb Smirnoff
0b7925df73 - Remove advertising clause from copyright [1]
- Change my email to glebius@FreeBSD.org

Requested by:	ru [1]
2004-09-17 19:58:03 +00:00
Gleb Smirnoff
5f99200f10 Userland control utility for ng_netflow.
Approved by:	julian (mentor)
2004-09-17 12:02:22 +00:00