This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Colourised output printer for tcpdump/windump. | |
* For Win32 only. | |
* | |
* Written by G. Vanem <[email protected]> 2014. | |
*/ | |
#ifdef HAVE_CONFIG_H | |
#include "config.h" | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* route-win32.c | |
* | |
* Copyright (c) 2002 Dug Song <[email protected]> | |
* | |
* $Id: route-win32.c 589 2005-02-15 07:11:32Z dugsong $ | |
*/ | |
#ifdef _WIN32 | |
#include "dnet_winconfig.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Simple program to enumerate the adapters found by Win10Pcap. | |
* | |
* Ref: https://github.com/SoftEtherVPN/Win10Pcap | |
* | |
* Put this file in the root directory of Win10Pcap-root and do: | |
* | |
* cl -nologo -W3 -Zi -Ot -DWIN32 -DWIN32COM_CPP -MTd -GF -GS -EHsc -RTCs -RTCu -RTCc | |
* -I./Packet_dll -Fe./enum_adapters.exe enum_adapters.c | |
* -link -nologo -debug Packet.lib user32.lib ws2_32.lib version.lib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# GNU Makefile for libnet.pyd (MSVC) | |
# Only Python 2.7 have been tested. | |
# | |
# By G. Vanem <[email protected]> 2013. | |
# | |
# | |
# Options and paths. Change to suite your setup. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/context.c 2015-03-09 22:54:10 | |
+++ b/context.c 2015-10-12 21:21:56 | |
@@ -41,7 +41,8 @@ | |
print_context_label (char const *mark, | |
struct file_data *inf, | |
char const *name, | |
- char const *label) | |
+ char const *label, | |
+ int alignment) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# make-usb.py : a modified Python-script from Wireshark. | |
# http://www.wireshark.org/ | |
# Creates the examples/usb_vendors.c file containing vendor and | |
# product ids. It use the databases at | |
# http://www.linux-usb.org/usb.ids | |
# | |
# Changed by G. Vanem <[email protected]> 2012. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/usr/bin/env python | |
# -*- coding: iso-8859-1 -*- | |
r""" | |
A Python script to download all MP3 files for the character Jan Olsen | |
in the NRK P1 radio-show Lønsj. This will download from NRK's podcast | |
location at: | |
%s (a XML-file). | |
unless this RSS-file doesn't exist in %s already. This should | |
cause all the 153 MP3 files to be downloaded into the current directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************************************************************************** | |
* _ _ ____ _ | |
* Project ___| | | | _ \| | | |
* / __| | | | |_) | | | |
* | (__| |_| | _ <| |___ | |
* \___|\___/|_| \_\_____| | |
* | |
* Copyright (C) 1998 - 2018, Daniel Stenberg, <[email protected]>, et al. | |
* | |
* This software is licensed as described in the file COPYING, which |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# GNU Makefile CubicSDR (MSVC). | |
# | |
THIS_FILE = Makefile.MSVC | |
VER_MAJOR = 0 | |
VER_MINOR = 2 | |
VER_PATCH = 3 | |
VERSION = $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# TESTrun.py; my attempt at a Python 2/3 version of the Perl-script 'TESTrun'. | |
# By G. Vanem <[email protected]> | |
# | |
# Reads './TESTLIST' and by default perform all the tcpdump tests specified | |
# therein (test-spec="*"). | |
# Use option '-l' to list them. | |
# | |
from __future__ import print_function |
OlderNewer