Skip to content

Commit

Permalink
Version 2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ccie18643 committed Jul 7, 2024
1 parent 2c5ecfc commit 7629df8
Show file tree
Hide file tree
Showing 98 changed files with 107 additions and 105 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ lint: venv
@echo '<<< MYPY'
@PYTHONPATH=$(ROOT_PATH) ./$(VENV)/bin/mypy -p ${PYTCP_PATH}
@PYTHONPATH=$(ROOT_PATH) ./$(VENV)/bin/mypy -p ${EXAMPLES_PATH}
# @PYTHONPATH=$(ROOT_PATH) ./$(VENV)/bin/mypy -p ${TESTS_PATH}
@PYTHONPATH=$(ROOT_PATH) ./$(VENV)/bin/mypy -p ${TESTS_PATH}

test_unit: venv
@echo '<<< TESTSLIDE UNIT'
Expand Down
2 changes: 1 addition & 1 deletion examples/icmp_echo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
examples/icmp_echo_client.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/lib/malpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
examples/lib/malpi.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/lib/tcp_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
examples/lib/tcp_service.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/lib/udp_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
examples/lib/udp_service.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/run_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
examples/run_stack.py
ver 2.7
ver 2.8
"""

import time
Expand Down
2 changes: 1 addition & 1 deletion examples/tcp_daytime_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
examples/tcp_daytime_service.py - The 'user space' service TCP Daytime (RFC 867).
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/tcp_discard_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
examples/tcp_discard_service.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/tcp_echo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
examples/tcp_echo_client.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/tcp_echo_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
examples/tcp_echo_service.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/udp_daytime_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
examples/udp_daytime_service.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/udp_discard_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
examples/udp_discard_service.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/udp_echo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
examples/udp_echo_client.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion examples/udp_echo_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
examples/udp_echo.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
pytcp/__init__.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
pytcp/config.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/arp/phrx.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
pytcp/protocols/arp/phrx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/arp/phtx.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pytcp/protocols/arp/phtx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/dhcp4/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pytcp/protocols/dhcp4/client.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/dhcp4/ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
pytcp/protocols/dhcp4/ps.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ethernet/fpa.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ def assemble(self, *, frame: memoryview) -> None:

struct.pack_into(f"{len(packet)}s", frame, 0, packet)

self._payload.assemble(frame=frame[ETHERNET_HEADER_LEN:])
self._payload.assemble(frame=frame[ETHERNET_HEADER_LEN:])
2 changes: 1 addition & 1 deletion pytcp/protocols/ethernet/phrx.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pytcp/protocols/ethernet/phrx.py
ver 2.7
ver 2.8
"""

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ethernet/phtx.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
pytcp/protocols/ethernet/phtx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ethernet/ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
pytcp/protocols/ethernet/ps.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/icmp4/phrx.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pytcp/protocols/icmp4/phrx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/icmp4/phtx.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
pytcp/protocols/icmp4/phtx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/icmp4/ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
pytcp/protocols/icmp4/ps.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/icmp6/fpa.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
pytcp/protocols/icmp6/fpa.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/icmp6/fpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
pytcp/protocols/icmp6/fpp.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/icmp6/phrx.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
pytcp/protocols/icmp6/phrx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/icmp6/ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
pytcp/protocols/icmp6/ps.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip4/phrx.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pytcp/protocols/ip4/phrx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip4/phtx.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
pytcp/protocols/ip4/phtx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip4/ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
pytcp/protocols/ip4/ps.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip6/fpa.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
pytcp/protocols/ip6/fpa.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip6/fpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pytcp/protocols/ip6.py/fpp
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip6/phrx.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pytcp/protocols/ip6/phrx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip6/phtx.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
pytcp/protocols/ip6/phtx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip6/ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
pytcp/protocols/ip6/ps.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip6_ext_frag/fpa.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
pytcp/protocols/ip6_ext_frag/fpa.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip6_ext_frag/fpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
pytcp/protocols/ip6_ext_frag/fpp.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip6_ext_frag/phrx.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pytcp/protocols/ip6_ext_frag/phrx.py
ver 2.7
ver 2.8
"""


Expand Down
2 changes: 1 addition & 1 deletion pytcp/protocols/ip6_ext_frag/phtx.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pytcp/protocols/ip6_ext_frag/phtx.py
ver 2.7
ver 2.8
"""


Expand Down
Loading

0 comments on commit 7629df8

Please sign in to comment.