language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
Configuration
wireshark/epan/dissectors/pidl/eventlog/eventlog.cnf
# Conformance file for EVENTLOG # HF_FIELD hf_eventlog_Record "Record" "eventlog.Record" FT_NONE BASE_NONE NULL 0 "" "" "" HF_FIELD hf_eventlog_Record_length "Record Length" "eventlog.Record.length" FT_UINT32 BASE_DEC NULL 0 "" "" "" HF_FIELD hf_eventlog_Record_source_name "Source Name" "eventlog.Record.source_name" F...
wireshark/epan/dissectors/pidl/eventlog/eventlog.idl
#include "idl_types.h" /* import "lsa.idl", "security.idl";*/ /* eventlog interface definition */ [ uuid("82273fdc-e32a-18c3-3f78-827929dc23ea"), version(0.0), pointer_default(unique), helpstring("Event Logger") ] interface eventlog { typedef bitmap { EVENTLOG_SEQUENTIAL_READ = 0x0001, EVENTLOG_SEEK_READ...
Configuration
wireshark/epan/dissectors/pidl/frsrpc/frsrpc.cnf
NOEMIT CommPktChunkCtr NOEMIT CommPktChangeOrderCommand.file_name ETT_FIELD ett_ChunkCtr HF_FIELD hf_frsrpc_CommPktChangeOrderCommand_file_name "File Name" "frsrpc.CommPktChangeOrderCommand.file_name" FT_STRING BASE_NONE NULL 0 "" "" "" HF_FIELD hf_CommPktChunk "Chunk" "frsrpc.chunk.ctr.chunk" FT_NONE BASE_NONE NULL 0...
wireshark/epan/dissectors/pidl/frsrpc/frsrpc.idl
#include "idl_types.h" import "misc/misc.idl"; [ uuid("f5cc59b4-4264-101a-8c59-08002b2f8426"), version(1.1), endpoint("ncacn_ip_tcp:", "ncalrpc:"), helpstring("File Replication Service"), helper("../librpc/ndr/ndr_frsrpc.h"), pointer_default(unique) ] interface frsrpc { /*****************/ /* Function ...
Configuration
wireshark/epan/dissectors/pidl/frstrans/frstrans.cnf
# Conformance file for DFS-R / FRSTRANS TYPE hyper "offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, @PARAM@, @HF@);" FT_UINT64 BASE_DEC 0 NULL 8 CODE START static int cnf_dissect_hyper(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, guint8 *drep, guint32 param _U_, int ...
wireshark/epan/dissectors/pidl/frstrans/frstrans.idl
#include "idl_types.h" /*import "misc.idl";*/ [ uuid("897e2e5f-93f3-4376-9c9c-fd2277495c27"), version(1.0), endpoint("ncacn_ip_tcp:", "ncalrpc:"), helpstring("File Replication Service DFS-R"), pointer_default(unique) ] interface frstrans { /*****************/ /* Function 0x00 */ WERROR frstrans_CheckConn...
Configuration
wireshark/epan/dissectors/pidl/fsrvp/fsrvp.cnf
# Conformance file for FSRVP MANUAL fsrvp_dissect_SetContext_request MANUAL fsrvp_dissect_StartShadowCopySet_request MANUAL fsrvp_dissect_AddToShadowCopySet_request MANUAL fsrvp_dissect_CommitShadowCopySet_request MANUAL fsrvp_dissect_ExposeShadowCopySet_request MANUAL fsrvp_dissect_RecoveryCompleteShadowCopySet_reque...
wireshark/epan/dissectors/pidl/fsrvp/fsrvp.idl
#include "idl_types.h" /* * File Server Remote VSS Protocol Definitions */ [ uuid("a8e0653c-2744-4389-a61d-7373df8b2292"), version(1.0), endpoint("ncacn_np:[\\pipe\\FssagentRpc]"), helpstring("File Server Remote VSS Protocol"), pointer_default(unique) ] interface fsrvp { const uint32 FSRVP_E_BAD_STATE = 0x...
Configuration
wireshark/epan/dissectors/pidl/initshutdown/initshutdown.cnf
TYPE lsa_StringLarge "offset=lsarpc_dissect_struct_lsa_StringLarge(tvb, offset, pinfo, tree, di, drep, @HF@, @PARAM@);" FT_NONE BASE_NONE 0 NULL NULL
wireshark/epan/dissectors/pidl/initshutdown/initshutdown.idl
#include "idl_types.h" /* initshutdown interface definition */ import "lsa/lsa.idl"; [ uuid("894de0c0-0d55-11d3-a322-00c04fa321a1"), version(1.0), endpoint("ncacn_np:[\\pipe\\InitShutdown]"), pointer_default(unique), helpstring("Init shutdown service") ] interface initshutdown { typedef [v1_enum] enum ...
Configuration
wireshark/epan/dissectors/pidl/lsa/lsa.cnf
# # policyhandle tracking # This block is to specify where a policyhandle is opened and where it is # closed so that policyhandles when dissected contain nice info such as # [opened in xxx] [closed in yyy] # # Policyhandles are opened in these functions PARAM_VALUE lsarpc_dissect_element_lsa_OpenPolicy_handle_ PIDL_PO...
wireshark/epan/dissectors/pidl/lsa/lsa.idl
#include "idl_types.h" /* lsa interface definition */ /*import "misc.idl", "security.idl";*/ [ uuid("12345778-1234-abcd-ef00-0123456789ab"), version(0.0), endpoint("ncacn_np:[\\pipe\\lsarpc]","ncacn_np:[\\pipe\\netlogon]","ncacn_np:[\\pipe\\lsass]", "ncacn_ip_tcp:", "ncalrpc:"), pointer_default(unique), he...
Configuration
wireshark/epan/dissectors/pidl/mapi/mapi.cnf
# Conformance file for mapi HF_FIELD hf_mapi_decrypted_data "Decrypted data" "mapi.decrypted.data" FT_BYTES BASE_NONE NULL 0 NULL HFILL HF_FIELD hf_mapi_LogonId "LogonId" "mapi.rop.LogonId" FT_UINT8 BASE_DEC NULL 0 NULL HFILL HF_FIELD hf_mapi_ResponseHandleIndex "ResponseHandleIndex" "mapi.rop.ResponseHandleIndex" FT_...
wireshark/epan/dissectors/pidl/mapi/mapi.idl
#include "idl_types.h" import "nspi.idl"; /* emsmdb interface definitions */ [ uuid("a4f1db00-ca47-1067-b31f-00dd010662da"), version(0.82), endpoint("ncacn_np:[\\pipe\\lsass]","ncacn_np:[\\pipe\\protected_storage]","ncacn_ip_tcp:"), pointer_default(unique), helpstring("MAPI") ] interface mapi { #include "ma...
Configuration
wireshark/epan/dissectors/pidl/mdssvc/mdssvc.cnf
MANUAL mdssvc_dissect_element_blob_spotlight_blob NOEMIT mdssvc_dissect_element_blob_spotlight_blob_ CODE START static int mdssvc_dissect_element_blob_spotlight_blob(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, guint8 *drep _U_) { tvbuff_t *spotlight_tvb; dissector_handle_t spot...
wireshark/epan/dissectors/pidl/mdssvc/mdssvc.idl
import "misc/misc.idl"; [ uuid("885d85fb-c754-4062-a0e7-6872ce0064f4"), endpoint("ncacn_np:[\\pipe\\mdssvc]", "ncacn_ip_tcp:", "ncalrpc:"), version(2.0), helpstring("Spotlight metadata search service") ] interface mdssvc { void mdssvc_open( [in,out,ref] uint32 *device_id, ...
wireshark/epan/dissectors/pidl/misc/misc.idl
#include "idl_types.h" /* miscellaneous IDL structures */ [ uuid("12345678-1234-1234-1234-abcdef123456"), version(1.0), pointer_default(unique) ] interface misc { typedef [public,noprint,gensize] struct { uint32 time_low; uint16 time_mid; uint16 time_hi_and_version; uint8 clock_seq[2]; uint8 node...
Configuration
wireshark/epan/dissectors/pidl/nspi/nspi.cnf
HF_FIELD hf_nspi_handle "Handle" "nspi.handle" FT_BYTES BASE_NONE NULL 0 "" "" "" HF_RENAME hf_nspi_NspiBind_handle hf_nspi_handle HF_RENAME hf_nspi_NspiUnbind_handle hf_nspi_handle HF_RENAME hf_nspi_NspiQueryRows_handle hf_nspi_handle HF_RENAME hf_nspi_NspiGetMatches_handle hf_nspi_handle HF_RENAME hf_nspi_NspiDNToEp...
wireshark/epan/dissectors/pidl/nspi/nspi.idl
/* NSPI Implementation OpenChange Project Copyright (C) Julien Kerihuel 2006 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option...
wireshark/epan/dissectors/pidl/nspi/README
OpenChange Wireshark dissector ------------------------------ Author: Julien Kerihuel <j.kerihuel@openchange.org>, November 2006 0x0 Content ----------- 0x1 Installation 0x2 Overview 0x3 Developers installation 0x4 Limitations 0x5 Links 0x1 Installation ---------------- Copy packet-dcerpc-nspi.c and packe...
wireshark/epan/dissectors/pidl/rfr/rfr.idl
/* RFR Implementation OpenChange Project Copyright (C) Julien Kerihuel 2008. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option...
Configuration
wireshark/epan/dissectors/pidl/samr/samr.cnf
# # policyhandle tracking # This block is to specify where a policyhandle is opened and where it is # closed so that policyhandles when dissected contain nice info such as # [opened in xxx] [closed in yyy] # # Policyhandles are opened in these functions PARAM_VALUE samr_dissect_element_Connect_connect_handle_ PIDL_POL...
wireshark/epan/dissectors/pidl/samr/samr.idl
#include "idl_types.h" /* samr interface definition */ /* import "misc.idl", "lsa.idl", "security.idl";*/ /* Thanks to Todd Sabin for some information from his samr.idl in acltools */ [ uuid("12345778-1234-abcd-ef00-0123456789ac"), version(1.0), endpoint("ncacn_np:[\\pipe\\samr]","ncacn_ip_tcp:", "ncalrpc:")...
Configuration
wireshark/epan/dissectors/pidl/srvsvc/srvsvc.cnf
# conformance file for SRVSVC # MANUAL srvsvc_dissect_element_NetShareInfo_info1501_ MANUAL srvsvc_dissect_element_NetGetFileSecurity_sd_buf_ MANUAL srvsvc_dissect_element_NetSetFileSecurity_sd_buf MANUAL srvsvc_dissect_element_NetShareCtr1501_array__ MANUAL srvsvc_dissect_element_NetShareInfo502_sd_ NOEMIT srvsvc_dis...
wireshark/epan/dissectors/pidl/srvsvc/srvsvc.idl
#include "idl_types.h" /* srvsvc interface definitions */ /* import "misc.idl", "security.idl", "svcctl.idl"; */ [ uuid("4b324fc8-1670-01d3-1278-5a47bf6ee188"), version(3.0), endpoint("ncacn_np:[\\pipe\\srvsvc]", "ncacn_ip_tcp:", "ncalrpc:"), pointer_default(unique), helpstring("Server Service") ] interface...
Configuration
wireshark/epan/dissectors/pidl/svcctl/svcctl.cnf
# Conformance file for svcctl HF_FIELD hf_svcctl_service_buffer_size "Buffer Size" "svcctl.services.buffer_size" FT_UINT32 BASE_DEC NULL 0 NULL HFILL HF_FIELD hf_svcctl_service_referent_id "Referent ID(offset)" "svcctl.ENUM_SERVICE_STATUSW.referent_id" FT_UINT32 BASE_DEC NULL 0 NULL HFILL MANUAL svcctl_dissect_EnumSe...
wireshark/epan/dissectors/pidl/svcctl/svcctl.idl
#include "idl_types.h" /* svcctl interface definitions */ [ uuid("367abb81-9844-35f1-ad32-98f038001003"), version(2.0), pointer_default(unique), endpoint("ncacn_np:[\\pipe\\svcctl]", "ncalrpc:"), helpstring("Service Control") ] interface svcctl { typedef bitmap security_secinfo security_secinfo; const i...
Configuration
wireshark/epan/dissectors/pidl/winreg/winreg.cnf
TYPE lsa_StringLarge "offset=lsarpc_dissect_struct_lsa_StringLarge(tvb, offset, pinfo, tree, di, drep, @HF@, @PARAM@);" FT_NONE BASE_NONE 0 NULL NULL TYPE winreg_Type "offset=misc_dissect_enum_winreg_Type(tvb, offset, pinfo, tree, di, drep, @HF@, @PARAM@);" FT_NONE BASE_NONE 0 NULL NULL IMPORT security_secinfo offset ...
wireshark/epan/dissectors/pidl/winreg/winreg.idl
/* winreg interface definition */ /*import "lsa.idl", "security.idl",*/ import "misc/misc.idl"; [ uuid("338cd001-2244-31f1-aaaa-900038001003"), version(1.0), endpoint("ncacn_np:[\\pipe\\winreg]","ncacn_ip_tcp:","ncalrpc:"), pointer_default(unique), helpstring("Remote Registry Service") ] interface winreg...
Configuration
wireshark/epan/dissectors/pidl/winspool/winspool.cnf
# Conformance file for winspool #iremotewinspool_dissect_struct_sec_desc_buf HF_FIELD hf_iremotewinspool_sec_desc_buf_len "Sec Desc Buf Len" "iremotewinspool.sec_desc_buf_len" FT_UINT32 BASE_DEC NULL 0 "" "" "" #TYPE winreg_AccessMask "offset = winreg_dissect_bitmap_AccessMask(tvb, offset, pinfo, tree, di, drep, @HF@...
wireshark/epan/dissectors/pidl/winspool/winspool.idl
#include "idl_types.h" /* * IRemoteWinspool interface definitions * * This IDL defines the "Print System Asynchronous Remote Protocol" MS-PAR * interface. * * Currently only eight functions in this interface have no matching functions * in the "spoolss" interface. All other functions have a 1-to-1 match but * ...
Configuration
wireshark/epan/dissectors/pidl/witness/witness.cnf
MANUAL witness_dissect_element_interfaceInfo_group_name NOEMIT witness_dissect_element_interfaceInfo_group_name MANUAL witness_dissect_struct_notifyResponse MANUAL witness_dissect_element_notifyResponse_messages NOEMIT witness_dissect_element_notifyResponse_messages MANUAL witness_dissect_struct_IPaddrInfoList NOEMIT w...
wireshark/epan/dissectors/pidl/witness/witness.idl
#include "idl_types.h" import "misc/misc.idl"; [ uuid("ccd8c074-d0e5-4a40-92b4-d074faa6ba28"), version(1.1), pointer_default(unique), helpstring("SMB Witness Service"), helper("../librpc/ndr/ndr_witness.h"), endpoint("ncacn_ip_tcp:") ] interface witness { typedef [v1_enum] enum { WITNESS_V1 = 0x0001000...
Configuration
wireshark/epan/dissectors/pidl/wkssvc/wkssvc.cnf
TFS hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN "Defer setting of servicePrincipalName and dNSHostName attributes on the computer object until a rename operation" "Set servicePrincipalName and dNSHostName attributes on the computer object" TFS hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED ...
wireshark/epan/dissectors/pidl/wkssvc/wkssvc.idl
#include "idl_types.h" /* wkssvc interface definitions */ import "srvsvc.idl", "lsa.idl"; [ uuid("6bffd098-a112-3610-9833-46c3f87e345a"), version(1.0), pointer_default(unique), helpstring("Workstation Service"), endpoint("ncacn_np:[\\pipe\\wkssvc]","ncacn_ip_tcp:","ncalrpc:") ] interface wkssvc { typedef ...
wireshark/epan/dissectors/pidl/wzcsvc/wzcsvc.idl
/* wireless configuration service */ [ uuid("621dff68-3c39-4c6c-aae3-e68e2c6503ad"), version(1.0), helpstring("Wireless Configuration Service") ] interface wzcsvc { void wzcsvc_EnumInterfaces(); void wzcsvc_QueryInterface(); void wzcsvc_SetInterface(); void wzcsvc_RefreshInterface(); void wzcsvc_QueryCon...
wireshark/epan/ftypes/.editorconfig
# # Editor configuration # # https://editorconfig.org/ # [ftype-bytes.[ch]] indent_style = tab indent_size = tab [ftype-double.[ch]] indent_style = tab indent_size = tab [ftype-integer.[ch]] indent_style = tab indent_size = tab [ftype-ipv4.[ch]] indent_style = tab indent_size = tab [ftype-ipv6.[ch]] indent_style =...
Text
wireshark/epan/ftypes/CMakeLists.txt
# CMakeLists.txt # # Wireshark - Network traffic analyzer # By Gerald Combs <gerald@wireshark.org> # Copyright 1998 Gerald Combs # # SPDX-License-Identifier: GPL-2.0-or-later # set(FTYPE_PUBLIC_HEADERS ftypes.h ) set(FTYPE_HEADER_FILES ${FTYPE_PUBLIC_HEADERS} ftypes-int.h ) set(FTYPE_FILES ftypes.c ftype-bytes....
C
wireshark/epan/ftypes/ftype-bytes.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <ftypes-int.h> #include <string.h> #include <errno.h> #include <stdlib.h> #include <epan/addr_resolv.h> #include <epan/st...
C
wireshark/epan/ftypes/ftype-double.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <stdio.h> #include <ftypes-int.h> #include <math.h> #include <errno.h> #include <float.h> #include "strutil.h" static v...
C
wireshark/epan/ftypes/ftype-guid.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <string.h> #include <stdlib.h> #include <ftypes-int.h> #include <epan/guid-utils.h> #include <epan/to_str.h> static voi...
C
wireshark/epan/ftypes/ftype-ieee-11073-float.c
/* FLOATs as specified by ISO/IEEE Std. 11073-20601-2014 * * Personal Health Devices Transcoding White Paper v1.5 * https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=272346 * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-L...
C
wireshark/epan/ftypes/ftype-integer.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <stdlib.h> #include <errno.h> #include "ftypes-int.h" #include <epan/addr_resolv.h> #include <epan/strutil.h> #include <e...
C
wireshark/epan/ftypes/ftype-ipv4.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <string.h> #include <ftypes-int.h> #include <epan/ipv4.h> #include <epan/addr_and_mask.h> #include <epan/addr_resolv.h> ...
C
wireshark/epan/ftypes/ftype-ipv6.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <string.h> #include <ftypes-int.h> #include <epan/ipv6.h> #include <epan/addr_resolv.h> #include <epan/to_str.h> static...
C
wireshark/epan/ftypes/ftype-none.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <ftypes-int.h> void ftype_register_none(void) { static ftype_t none_type = { FT_NONE, /* ftype */ "FT_NONE", ...
C
wireshark/epan/ftypes/ftype-protocol.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <ftypes-int.h> #include <epan/strutil.h> #include <epan/to_str.h> #include <string.h> #include <wsutil/glib-compat.h> #i...
C
wireshark/epan/ftypes/ftype-string.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <stdio.h> #include <ftypes-int.h> #include <string.h> #include <strutil.h> #include <wsutil/ws_assert.h> #include <wsuti...
C
wireshark/epan/ftypes/ftype-time.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include "ftypes-int.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <epan/to_str.h> #include <wsutil/time...
C/C++
wireshark/epan/ftypes/ftypes-int.h
/** @file * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef FTYPES_INT_H #define FTYPES_INT_H #include "ftypes.h" #include <epan/proto.h> #include <epan/packet.h> struct _fvalue_t { ftype_t ...
C
wireshark/epan/ftypes/ftypes.c
/* * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include "ftypes-int.h" #include <wsutil/ws_assert.h> /* Keep track of ftype_t's via their ftenum number */ ftype_t* type_list[F...
C/C++
wireshark/epan/ftypes/ftypes.h
/** @file * Definitions for field types * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 2001 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __FTYPES_H__ #define __FTYPES_H__ #include <wireshark.h> #include <wsutil/regex.h> #include <epan/w...
Lua
wireshark/epan/wslua/browser_sslkeylog.lua
-- browser_sslkeylog.lua -- -- Run a browser with SSLKEYLOG set. -- -- (c) 2021 Gerald Combs <gerald@wireshark.org> -- -- Wireshark - Network traffic analyzer -- By Gerald Combs <gerald@wireshark.org> -- Copyright 1998 Gerald Combs -- -- SPDX-License-Identifier: GPL-2.0-or-later -- To do: -- - Support more browsers. -...
Text
wireshark/epan/wslua/CMakeLists.txt
# CMakeLists.txt # # Wireshark - Network traffic analyzer # By Gerald Combs <gerald@wireshark.org> # Copyright 1998 Gerald Combs # # SPDX-License-Identifier: GPL-2.0-or-later # add_subdirectory(lrexlib) set(WSLUA_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/lua_bitop.c ${CMAKE_CURRENT_SOURCE_DIR}/wslua_address.c ${CMAKE_CU...
Lua
wireshark/epan/wslua/init.lua
-- init.lua -- -- initialize wireshark's lua -- -- This file is going to be executed before any other lua script. -- It can be used to load libraries, disable functions and more. -- -- Wireshark - Network traffic analyzer -- By Gerald Combs <gerald@wireshark.org> -- Copyright 1998 Gerald Combs -- -- SPDX-License-Iden...
C
wireshark/epan/wslua/init_wslua.c
/* * init_wslua.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "conf...
C/C++
wireshark/epan/wslua/init_wslua.h
/** @file * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __INIT_WSLUA_H__ #define __INIT_WSLUA_H__ #include "ws_symbol_export.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ W...
C
wireshark/epan/wslua/lua_bitop.c
/* ** Lua BitOp -- a bit operations library for Lua 5.1/5.2. ** http://bitop.luajit.org/ ** ** Copyright (C) 2008-2012 Mike Pall. All rights reserved. ** ** SPDX-License-Identifier: MIT ** */ #define LUA_BITOP_VERSION "1.0.2" #define LUA_LIB #include <lua.h> #include <lauxlib.h> #include "lua_bitop.h" #include "ws_d...
C/C++
wireshark/epan/wslua/lua_bitop.h
/** @file ** Lua BitOp -- a bit operations library for Lua 5.1/5.2. ** http://bitop.luajit.org/ ** ** Copyright (C) 2008-2012 Mike Pall. All rights reserved. ** ** SPDX-License-Identifier: MIT ** */ #ifndef _LUA_BITOP_H #define _LUA_BITOP_H extern int luaopen_bit(lua_State *L); #endif /* _LUA_BITOP_H */
Python
wireshark/epan/wslua/make-reg.py
#!/usr/bin/env python3 # # make-reg.py # Registration Macros Generator # # Copyright 2022 by Moshe Kaplan # Based on make-reg.pl by Luis E. Garcia Onatnon <luis.ontanon@gmail.com> # # Wireshark - Network traffic analyzer # By Gerald Combs <gerald@wireshark.org> # Copyright 1998 Gerald Combs # # SPDX-License-Identifier:...
Python
wireshark/epan/wslua/make-taps.py
#!/usr/bin/env python3 # # make-taps.py # # By Gerald Combs <gerald@wireshark.org> # Based on make-taps.pl by Luis E. Garcia Onatnon <luis.ontanon@gmail.com> # # Wireshark - Network traffic analyzer # By Gerald Combs <gerald@wireshark.org> # Copyright 1998 Gerald Combs # # SPDX-License-Identifier: GPL-2.0-or-later '''\...
INI Configuration
wireshark/epan/wslua/taps.ini
# taps.ini # Instructions for make-taps.py to generate the taps.c file. # Based on the "taps" configuration file for make-taps.pl # # (c) 2006 Luis E. Garcia Ontanon <luis@ontanon.org> # # Wireshark - Network traffic analyzer # By Gerald Combs <gerald@wireshark.org> # Copyright 2006 Gerald Combs # # SPDX-License-Identi...
C/C++
wireshark/epan/wslua/wslua.h
/* * wslua.h * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2007, Tamas Regos <tamas.regos@ericsson.com> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark....
C
wireshark/epan/wslua/wslua_address.c
/* * wslua_address.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network ...
C
wireshark/epan/wslua/wslua_byte_array.c
/* * wslua_byte_array.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Netwo...
C
wireshark/epan/wslua/wslua_capture_info.c
/* * wslua_capture_info.c * * Wireshark's interface to the Lua Programming Language * for capture file data and meta-data. * * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identi...
C
wireshark/epan/wslua/wslua_column.c
/* * wslua_column.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network t...
C
wireshark/epan/wslua/wslua_dir.c
/* * wslua_dir.c * * (c) 2014, Hadriel Kaplan <hadrielk at yahoo dot com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" /* WSLUA_MODULE Dir Directory Handling Functions */ ...
C
wireshark/epan/wslua/wslua_dissector.c
/* * wslua_dissector.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Networ...
C
wireshark/epan/wslua/wslua_dumper.c
/* * wslua_dumper.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "c...
C
wireshark/epan/wslua/wslua_field.c
/* * wslua_field.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "co...
C
wireshark/epan/wslua/wslua_file.c
/* * wslua_file.c * * Wireshark's interface to the Lua Programming Language * for custom file format reading/writing. * * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier:...
C
wireshark/epan/wslua/wslua_file_common.c
/* * wslua_file_common.c * * Wireshark's interface to the Lua Programming Language * for file handling related source file internal functions. * * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * *...
C/C++
wireshark/epan/wslua/wslua_file_common.h
/** @file * * Wireshark's interface to the Lua Programming Language * for file handling related source files. * * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-...
C
wireshark/epan/wslua/wslua_file_handler.c
/* * wslua_file_handler.c * * Wireshark's interface to the Lua Programming Language * for custom file reading/writing. * * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier...
C
wireshark/epan/wslua/wslua_frame_info.c
/* * wslua_frame_info.c * * Wireshark's interface to the Lua Programming Language * for frame data and meta-data from a capture file. * * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-Lic...
C
wireshark/epan/wslua/wslua_gui.c
/* * wslua_gui.c * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/wmem_scopes.h> #include "wslua.h" /*...
C
wireshark/epan/wslua/wslua_int64.c
/* * A Lua userdata object for 64-bit signed/unsigned integers. * * I, Hadriel Kaplan, the author of wslua_int6464.c, wish to put it in * the Public Domain. That is not universally accepted, however, * so you may license it under the FreeBSD License instead, which is an open * source license approved for GPL use...
C
wireshark/epan/wslua/wslua_internals.c
/* * wslua_internals.c * * Wireshark's interface to the Lua Programming Language * * This file is for internal WSLUA functions - not ones exposed into Lua. * * (c) 2013, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gera...
C
wireshark/epan/wslua/wslua_listener.c
/* * wslua_listener.c * * Wireshark's interface to the Lua Programming Language * * Implementation of tap Listeners * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Ident...
C
wireshark/epan/wslua/wslua_nstime.c
/* * wslua_nstime.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network t...
C
wireshark/epan/wslua/wslua_pinfo.c
/* * wslua_pinfo.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wiresha...
C/C++
wireshark/epan/wslua/wslua_pinfo_common.h
/** @file * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network traffic anal...
C
wireshark/epan/wslua/wslua_pref.c
/* * wslua_pref.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network tra...
C
wireshark/epan/wslua/wslua_proto.c
/* * wslua_proto.c * * wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2007, Tamas Regos <tamas.regos@ericsson.com> * (c) 2014, Stig Bjorlykke <stig@bjorlykke.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.o...
C
wireshark/epan/wslua/wslua_proto_expert.c
/* * wslua_proto_expert.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Net...
C
wireshark/epan/wslua/wslua_proto_field.c
/* * wslua_proto_field.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2011, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Netw...
C
wireshark/epan/wslua/wslua_struct.c
/****************************************************************************** * Copyright (C) 2010-2012 Lua.org, PUC-Rio. All rights reserved. * * SPDX-License-Identifier: MIT * ******************************************************************************/ /* ** {====================================================...
C
wireshark/epan/wslua/wslua_tree.c
/* * wslua_tree.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-...
C
wireshark/epan/wslua/wslua_tvb.c
/* * wslua_tvb.c * * Wireshark's interface to the Lua Programming Language * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * (c) 2008, Balint Reczey <balint.reczey@ericsson.com> * (c) 2009, Stig Bjorlykke <stig@bjorlykke.org> * (c) 2014, Hadriel Kaplan <hadrielk@yahoo.com> * * Wireshark - Network traf...
C
wireshark/epan/wslua/wslua_utility.c
/* * wslua_utility.c * * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" /* WSLUA_MODULE Utility Utility Functions */ #in...
C
wireshark/epan/wslua/wslua_wtap.c
/* * wslua_wtap.c * * Wireshark's interface to the Lua Programming Language * for various libwiretap utility functions. * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" /* WSL...
C/C++
wireshark/epan/wslua/lrexlib/algo.h
/* algo.h */ /* * Copyright (C) Reuben Thomas 2000-2020 * Copyright (C) Shmuel Zeigerman 2004-2020 * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the * Software without restriction, including with...
Text
wireshark/epan/wslua/lrexlib/CMakeLists.txt
set(REX_SRC common.c pcre2/lpcre2.c pcre2/lpcre2_f.c ) add_library(lrexlib STATIC ${REX_SRC}) target_link_libraries(lrexlib PRIVATE ${LUA_LIBRARIES} ${PCRE2_LIBRARIES} ) target_include_directories(lrexlib SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/epan ${LUA_INCLUDE_DIRS} ${PCRE2_INCLUDE_DIRS} ) add_dependencies(lr...
C
wireshark/epan/wslua/lrexlib/common.c
/* common.c */ /* * Copyright (C) Reuben Thomas 2000-2020 * Copyright (C) Shmuel Zeigerman 2004-2020 * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the * Software without restriction, including wi...
C/C++
wireshark/epan/wslua/lrexlib/common.h
/* common.h */ /* * Copyright (C) Reuben Thomas 2000-2020 * Copyright (C) Shmuel Zeigerman 2004-2020 * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the * Software without restriction, including wi...
reStructuredText
wireshark/epan/wslua/lrexlib/README.rst
Lrexlib ======= | by Reuben Thomas (rrt@sc3d.org) | and Shmuel Zeigerman (shmuz@013net.net) **Lrexlib** provides bindings of five regular expression library APIs (POSIX_, PCRE_, PCRE2_, GNU_, TRE_ and Oniguruma_) to Lua_ >= 5.1. The bindings for TRE and Oniguruma are not currently complete. **Lrexlib** is copyrigh...
C
wireshark/epan/wslua/lrexlib/pcre2/lpcre2.c
/* lpcre2.c - Lua binding of PCRE2 library */ /* * Copyright (C) Reuben Thomas 2000-2020 * Copyright (C) Shmuel Zeigerman 2004-2020 * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the * Software wi...
C
wireshark/epan/wslua/lrexlib/pcre2/lpcre2_f.c
/* lpcre2_f.c - Lua binding of PCRE2 library */ /* * Copyright (C) Reuben Thomas 2000-2020 * Copyright (C) Shmuel Zeigerman 2004-2020 * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the * Software ...
wireshark/extcap/.editorconfig
# # Editor configuration # # https://editorconfig.org # [{ciscodump,randpktdump,ssh-base,sshdump,udpdump,wifidump}.[ch]] indent_style = tab indent_size = tab