aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/flowctl/flowctl.c
Commit message (Collapse)AuthorAgeFilesLines
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-09-251-5/+0
| | | | | | | These do not use __FBSDID but instead use bare char arrays. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=326276
* Use less ugly code to allocate buffer of SORCVBUF_SIZE.Gleb Smirnoff2015-02-131-1/+3
| | | | Notes: svn path=/head/; revision=278737
* flowctl: Replace alloca() with an array.Pedro F. Giffuni2015-02-111-3/+1
| | | | | | | Reviewed by: glebius Notes: svn path=/head/; revision=278589
* Add "human" option to print IPv4/IPv6 flows in human-readable format.Alexander V. Chernikov2012-06-091-10/+29
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=236808
* Conditionally compile in the IPv4/IPv6 address family support.Sergey Kandaurov2011-07-061-2/+21
| | | | | | | | | | Test it with feature_present(3), so that we do not end up with passing an unsupported version to NgSendMsg(3). Approved by: glebius Notes: svn path=/head/; revision=223824
* Rewrite the flowctl utility to add it support for displayingGleb Smirnoff2011-07-051-53/+160
| | | | | | | both IPv4 and IPv4 flows. Notes: svn path=/head/; revision=223788
* Get the other NG_PATHLEN while I'm here too :(.Warner Losh2009-06-091-1/+1
| | | | Notes: svn path=/head/; revision=193808
* Use NG_PATHSIZ instead of NG_PATHLEN + 1.Warner Losh2009-06-091-1/+1
| | | | Notes: svn path=/head/; revision=193807
* Implement "verbose" optional keyword for "show" command. This is analogGleb Smirnoff2005-03-231-4/+60
| | | | | | | of Cisco's "show ip cache verbose flow" command. Notes: svn path=/head/; revision=144017
* Remove code, inherited from ipacctctl, which sets socket to non-blockingGleb Smirnoff2005-02-061-9/+1
| | | | | | | mode, since this introduces problems on SMP. Notes: svn path=/head/; revision=141393
* Remove redundant parameter inherited from ipacctctl.Gleb Smirnoff2005-01-181-8/+7
| | | | Notes: svn path=/head/; revision=140413
* - Remove advertising clause from copyright [1]Gleb Smirnoff2004-09-171-8/+1
| | | | | | | | | - Change my email to glebius@FreeBSD.org Requested by: ru [1] Notes: svn path=/head/; revision=135400
* Userland control utility for ng_netflow.Gleb Smirnoff2004-09-171-0/+241
Approved by: julian (mentor) Notes: svn path=/head/; revision=135380