Skip to content

Commit

Permalink
Merge branch 'test/rc/schema'
Browse files Browse the repository at this point in the history
  • Loading branch information
JarryShaw committed Apr 13, 2023
2 parents e30a7b9 + 930b917 commit 7874714
Show file tree
Hide file tree
Showing 154 changed files with 20,372 additions and 6,197 deletions.
125 changes: 109 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@
pcapkit-*-tempdir/
pcapkit-temp.html

out
*.js
!out.js
*.json
!out.json
*.plist
!out.plist
*.txt
!out.txt
*.xml
!out.xml
*.pcap
!in.pcap
*.cap
*.dat
*~orig*
sample/out
sample/*.js
sample/!out.js
sample/*.json
sample/!out.json
sample/*.plist
sample/!out.plist
sample/*.txt
sample/!out.txt
sample/*.xml
sample/!out.xml
sample/*.pcap
sample/!in.pcap
sample/*.cap
sample/*.dat
sample/*~orig*
sample/*/

src
!requirements.txt
Expand Down Expand Up @@ -200,3 +201,95 @@ pip-selfcheck.json


# End of https://www.gitignore.io/api/macos,python,visualstudiocode
# Created by https://www.toptal.com/developers/gitignore/api/pycharm+all
# Edit at https://www.toptal.com/developers/gitignore?templates=pycharm+all

### PyCharm+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### PyCharm+all Patch ###
# Ignore everything but code style settings and run configurations
# that are supposed to be shared within teams.

.idea/*

!.idea/codeStyles
!.idea/runConfigurations

# End of https://www.toptal.com/developers/gitignore/api/pycharm+all
25 changes: 25 additions & 0 deletions .idea/runConfigurations/test_basic.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions .idea/runConfigurations/test_http.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
"bufid",
"bysource",
"cbit",
"cbuf",
"ccecho",
"ccnew",
"cdat",
"cflg",
"chkreq",
"Chksum",
Expand Down Expand Up @@ -66,6 +68,7 @@
"EAPOL",
"ECDSA",
"echore",
"eddsa",
"edep",
"elen",
"emojize",
Expand Down Expand Up @@ -220,6 +223,7 @@
"qsfn",
"qsnn",
"qsopt",
"rcrd",
"RCVBT",
"reasm",
"renm",
Expand Down Expand Up @@ -264,6 +268,7 @@
"slen",
"SMFDPD",
"smvr",
"solt",
"solv",
"Sopt",
"splt",
Expand Down Expand Up @@ -345,5 +350,8 @@
],
"esbonio.sphinx.confDir": "${workspaceFolder}/doc/sphinx/source",
"C_Cpp.errorSquiggles": "Enabled",
"restructuredtext.preview.name": "sphinx"
"restructuredtext.preview.name": "sphinx",
"esbonio.sphinx.forceFullBuild": false,
"esbonio.sphinx.numJobs": 0,
"restructuredtext.trace": "off"
}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export PIPENV_VENV_IN_PROJECT=1

SHELL := /usr/local/bin/bash
SHELL := /opt/homebrew/bin/bash
DIR ?= .

# get version string
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/source/pcapkit/protocols/application/httpv2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Data Structures
.. autoattribute:: stream_dependency
.. autoattribute:: weight

.. autoclass:: pcapkit.protocols.data.application.httpv2.RstStreamFrame(length, type, flags, sid, error)
.. autoclass:: pcapkit.protocols.data.application.httpv2.RSTStreamFrame(length, type, flags, sid, error)
:no-members:
:show-inheritance:

Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/source/pcapkit/protocols/internet/hip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ Data Structures

.. autoattribute:: group_id

.. autoclass:: pcapkit.protocols.data.internet.hip.DeffieHellmanParameter(type, critical, length, group_id, pub_len, pub_val)
.. autoclass:: pcapkit.protocols.data.internet.hip.DiffieHellmanParameter(type, critical, length, group_id, pub_len, pub_val)
:no-members:
:show-inheritance:

Expand Down
8 changes: 4 additions & 4 deletions doc/sphinx/source/pcapkit/protocols/internet/hopopt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Data Structures
.. autoattribute:: deltatlr
.. autoattribute:: deltatls

.. autoclass:: pcapkit.protocols.data.internet.hopopt.QuickStartOption(type, action, change, length, func, rate, ttl, nounce)
.. autoclass:: pcapkit.protocols.data.internet.hopopt.QuickStartOption(type, action, change, length, func, rate, ttl, nonce)
:no-members:
:show-inheritance:

Expand All @@ -191,7 +191,7 @@ Data Structures
.. autoattribute:: func
.. autoattribute:: rate
.. autoattribute:: ttl
.. autoattribute:: nounce
.. autoattribute:: nonce

.. autoclass:: pcapkit.protocols.data.internet.hopopt.RPLOption(type, action, change, length, flags, id, rank)
:no-members:
Expand Down Expand Up @@ -237,14 +237,14 @@ Data Structures
.. autoattribute:: max
.. autoattribute:: verification

.. autoclass:: pcapkit.protocols.data.internet.hopopt.ILNPOption(type, action, change, length, nounce)
.. autoclass:: pcapkit.protocols.data.internet.hopopt.ILNPOption(type, action, change, length, nonce)
:no-members:
:show-inheritance:

:param \*args: Arbitrary positional arguments.
:param \*\*kwargs: Arbitrary keyword arguments.

.. autoattribute:: nounce
.. autoattribute:: nonce

.. autoclass:: pcapkit.protocols.data.internet.hopopt.LineIdentificationOption(type, action, change, length, line_id_len, line_id)
:no-members:
Expand Down
4 changes: 2 additions & 2 deletions doc/sphinx/source/pcapkit/protocols/internet/ipv4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ Data Structures

.. autoattribute:: alert

.. autoclass:: pcapkit.protocols.data.internet.ipv4.QSOption(code, length, type, func, rate, ttl, nounce)
.. autoclass:: pcapkit.protocols.data.internet.ipv4.QSOption(code, length, type, func, rate, ttl, nonce)
:no-members:
:show-inheritance:

Expand All @@ -316,7 +316,7 @@ Data Structures
.. autoattribute:: func
.. autoattribute:: rate
.. autoattribute:: ttl
.. autoattribute:: nounce
.. autoattribute:: nonce

.. raw:: html

Expand Down
8 changes: 4 additions & 4 deletions doc/sphinx/source/pcapkit/protocols/internet/ipv6_opts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Data Structures
.. autoattribute:: deltatlr
.. autoattribute:: deltatls

.. autoclass:: pcapkit.protocols.data.internet.ipv6_opts.QuickStartOption(type, action, change, length, func, rate, ttl, nounce)
.. autoclass:: pcapkit.protocols.data.internet.ipv6_opts.QuickStartOption(type, action, change, length, func, rate, ttl, nonce)
:no-members:
:show-inheritance:

Expand All @@ -188,7 +188,7 @@ Data Structures
.. autoattribute:: func
.. autoattribute:: rate
.. autoattribute:: ttl
.. autoattribute:: nounce
.. autoattribute:: nonce

.. autoclass:: pcapkit.protocols.data.internet.ipv6_opts.RPLOption(type, action, change, length, flags, id, rank)
:no-members:
Expand Down Expand Up @@ -234,14 +234,14 @@ Data Structures
.. autoattribute:: max
.. autoattribute:: verification

.. autoclass:: pcapkit.protocols.data.internet.ipv6_opts.ILNPOption(type, action, change, length, nounce)
.. autoclass:: pcapkit.protocols.data.internet.ipv6_opts.ILNPOption(type, action, change, length, nonce)
:no-members:
:show-inheritance:

:param \*args: Arbitrary positional arguments.
:param \*\*kwargs: Arbitrary keyword arguments.

.. autoattribute:: nounce
.. autoattribute:: nonce

.. autoclass:: pcapkit.protocols.data.internet.ipv6_opts.LineIdentificationOption(type, action, change, length, line_id_len, line_id)
:no-members:
Expand Down
12 changes: 6 additions & 6 deletions doc/sphinx/source/pcapkit/protocols/transport/tcp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ Data Structures

.. autoattribute:: digest

.. autoclass:: pcapkit.protocols.data.transport.tcp.QuickStartResponse(kind, length, req_rate, ttl_diff, nounce)
.. autoclass:: pcapkit.protocols.data.transport.tcp.QuickStartResponse(kind, length, req_rate, ttl_diff, nonce)
:no-members:
:show-inheritance:

Expand All @@ -317,7 +317,7 @@ Data Structures

.. autoattribute:: req_rate
.. autoattribute:: ttl_diff
.. autoattribute:: nounce
.. autoattribute:: nonce

.. autoclass:: pcapkit.protocols.data.transport.tcp.UserTimeout(kind, length, timeout)
:no-members:
Expand Down Expand Up @@ -396,7 +396,7 @@ Data Structures
:param \*args: Arbitrary positional arguments.
:param \*\*kwargs: Arbitrary keyword arguments.

.. autoclass:: pcapkit.protocols.data.transport.tcp.MPTCPJoinSYN(kind, length, subtype, connection, backup, addr_id, token, nounce)
.. autoclass:: pcapkit.protocols.data.transport.tcp.MPTCPJoinSYN(kind, length, subtype, connection, backup, addr_id, token, nonce)
:no-members:
:show-inheritance:

Expand All @@ -407,9 +407,9 @@ Data Structures
.. autoattribute:: backup
.. autoattribute:: addr_id
.. autoattribute:: token
.. autoattribute:: nounce
.. autoattribute:: nonce

.. autoclass:: pcapkit.protocols.data.transport.tcp.MPTCPJoinSYNACK(kind, length, subtype, connection, backup, addr_id, hmac, nounce)
.. autoclass:: pcapkit.protocols.data.transport.tcp.MPTCPJoinSYNACK(kind, length, subtype, connection, backup, addr_id, hmac, nonce)
:no-members:
:show-inheritance:

Expand All @@ -420,7 +420,7 @@ Data Structures
.. autoattribute:: backup
.. autoattribute:: addr_id
.. autoattribute:: hmac
.. autoattribute:: nounce
.. autoattribute:: nonce

.. autoclass:: pcapkit.protocols.data.transport.tcp.MPTCPJoinACK(kind, length, subtype, connection, hmac)
:no-members:
Expand Down
Loading

0 comments on commit 7874714

Please sign in to comment.