-
Notifications
You must be signed in to change notification settings - Fork 16
Event driven xTCP with support for uIP and LwIP libraries #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
172 commits
Select commit
Hold shift + click to select a range
a9306fd
LWIP clone from git
0229d05
Remove binary from git
983e68d
Improved gitignore
183c20d
Hack module build info for LWIP
c0df558
Remove IGMP callback
ef7845d
Rename timer member to igmp_timer to prevent XC clash
df71e86
Remove init and receive callbacks
56c1a78
Replace output callback with a function call
cfb57c6
Remove UDP receive callback
fc851d2
Remove TCP error function callback
084dc85
Replace UDP receive callback with function call
67df49d
Add extern C guard for XC include
53b78ab
Remove UDP receive callback from structure
e5172f1
Prefix uip autoip functions to prevent namespace clash with LWIP
c366b3c
Update autoip calls with new prefixed name
031e742
Remove callbacks from TCP and interface headers
c49a911
Add xcore port of LWIP config and driver
2e1fd6c
Add temporary XTCP LWIP prototype
dd444ff
Add LWIP timers
5153d21
Add tcp select handler to service clients
f381c32
Fix print formatters
3e60417
Add Ethernet transmit driver
e2a2b14
Move header to include directory
d01a386
Add xtcp receive function to handle lwip pbufs
589fdc1
Return a err_t to prevent return-type warning
a2ba496
Add xtcp state lookup within lwip TCP PCBs
9f303bb
Add lwip TCP event handler
5ea90e7
Add xtcp link up event handling
8262a65
Add XTCP TCP socket listen support
250f8bd
Hack module build info for LWIP compile
ae771a2
Remove HTONS conversion of stored port number
012f125
Remove error event handler due to recursion detection in mapper
008dd57
Add split send function to allow lwip to segment copy
6afcd51
Add new lwip TCP api flag to do a copy over an xcore channel
aa7f5e9
Fix IP packet dump compatibility for debug_printf
7dfbf42
Add missing XC extern guard
773ef59
Fix TCP write flag - should be a power of 2
c83b386
Add TCP socket connect funtionality
1eec226
Fix issue with volatile variable definition included in XC
8ebfa73
Add ICMP and TX single buf to LWIP options
4e50585
Remove debug print
879d172
Remove unused appcall function
4d589a2
Fix int to pointer conversion warnings
e29de32
Fix sign of char array pointer warning
3a4074b
Add vanilla mbedTLS source 2.1.0
8b90c9c
Add mbedTLS source to module build info
ef2795a
Add missing xccompat header
6d84d3d
Add __XC__ guards to extern "C" blocks in headers
2b3cc36
Replace random number gen function pointer with callback function
7b6b4f7
Replace 0 with NULL to fix compiler error
5ec9c5e
Replace cipher padding function pointers
72d31bc
Replace cipher function pointers
594f204
Replace entropy function pointer with function call
e0f711c
Replace ECP function pointers with a function call
635846b
Replace MD function pointers with function calls
0a67433
Replace PK function pointers with function calls
f42ef7e
Rename master struct field due to XC keyword clash
b2c5fad
Add temporary #define to turn on CRT verification callback
996f61a
Replace checksum, send, receive function pointers
e06e3ef
Remove get/set timer function calls
ed7c9f8
Temporarily remove recursion as TODO
e9fe31b
Update mbedtls config with minimal support
1568c40
Move LWIP behind a build flag / define
352f3fb
Move header so it available in both configs
f18adfd
Add DNS receive hook to UDP receive
a0f5fef
Move DNS defines and structs to header for global use
444c17d
Move DNS functions to header, called from XTCP
b0b8ffc
Remove DNS callback functions and add a used flag
2700a8f
Pull DNS_STATE_ASKING out into a function call
9993621
Pulls out code to find DNS entry into a function call
06bf14f
Remove LWIP dns_gethostbyname()
6d09aac
Add DNS lookup/result to XTCP server and client
d59184b
Add DNS get host by name blocking implementation
0a03543
XTCP blocking write call now returns number of bytes written
cdb1cca
Add SMI link up/down handling and enable DHCP
6aecac7
Fix crash due to DHCP PCB recv_arg not being set
e4fafef
Rename port variable to work with XC
cbce7fe
Enable DNS in LWIP options, reduce max name length
d793458
Remove unused variables
f305ca9
Increase TCP buffering
dc19751
Add copyright headers
e0e513c
Add lib_crypto module version dependency
931c5b4
Update XTCP version for lwip branch
e381928
Update xtcp_send to receive a read index from the server
7c7d94c
Update blocking send to only support MSS
d119a25
Add temporary assertions for XTCP blocking debug
8ee085e
Add missing XTCP channel copy when TCP_OVERSIZE=1
09fe9b5
Increase TCP send window size to tune transmit performance
37938c0
Enable TCP oversize to allocate a max sized buffer on transmit
31d4365
Does not begin a TCP write if the send buffer is smaller than the MSS
ee3e5f1
Update TLS config to use TLS 1.0 instead of 1.1
c616af5
Add wait for closed blocking call
b335284
Add asynchronous receive to XTCP
1b5c9cb
Fix interaction of TLS with XTCP receive
df513ae
Fix compiler warnings
be99a2d
Resolve issue with close event being issued multiple times
165ced4
Remove oversize debug check option
77d8f82
Update lwip buffer sizes used in demo
686b087
Add lock implementation for use with pbuf allocation
74a291e
Add legacy section to changelog
samchesney 1a91582
Add change section for current release
samchesney caca507
Changelog updated using xmos_changelog_check.py
samchesney 4e4cae6
Changelog updated using xmos_changelog_check.py
samchesney 1850518
Fix bad indentation
a2e8fbb
Merge branch 'lwip' of github.com:xmos/lib_xtcp into lwip
d14c6a8
Fix license typo
samchesney e1dc95b
Merge pull request #5 from samchesney/lwip
samchesney 2de81cc
Added SSL probe to allow Wireshark to decode pacekts.
ac6156e
Merge branch 'lwip' of github.com:pthedinger/lib_xtcp into lwip
dae93ee
Merge pull request #8 from pthedinger/lwip
53c6bc8
Fix missing string arg in call to fail()
samchesney cb3b833
Add experimental beginnings of LwIP + WiFi task
samchesney f6ec3aa
Merge pull request #9 from samchesney/lwip
samchesney 6b90d75
Bump version number to reflect WiFi support changes
samchesney 9660ec9
Add a little detail to the CHANGELOG
samchesney 0ae3182
Merge pull request #10 from samchesney/lwip
0332c15
Wiring up the packet reception.
8552d2e
Connect up packet transmit to the wifi.
5800bfb
Merge pull request #11 from pthedinger/lwip_wifi
samchesney 5312585
Now able to ping board. Reserve extra bytes in pbuf header for BDC he…
1fa6025
Merge pull request #13 from pthedinger/lwip_wifi
samchesney 1a36d01
Changelog updated using xmos_changelog_check.py
samchesney d2f56a7
Remove dependency on lib_wifi
samchesney 4895606
Revert "Now able to ping board. Reserve extra bytes in pbuf header fo…
samchesney e951315
Make room in the pbufs for the WICED SDPCM headers
samchesney 88d875c
Add guards to allow non LWIP apps to build
samchesney e449558
Change maximum size frame that LWIP will deliver to the client from 6…
f81aa7e
Connect up the eth_tx and eth_rx interfaces.
127ca2c
Add support for UDP.
955939b
Prevent crash on ERROR notification from LWIP.
5f33929
Ensure link up notification happens even when using fixed IP address.
cfd3050
Whitespace cleanup and other non-changes.
9255c03
Prevent a 250ms delay on all TCP data.
3b6efce
Merge branch 'lwip' of github.com:xmos/lib_xtcp into lwip
d2b85e8
Merge pull request #17 from pthedinger/lwip
samchesney a0b03dc
Delete generated PDF
samchesney 7434bfa
Revert "Make room in the pbufs for the WICED SDPCM headers"
samchesney b18d03a
Include app specific config alongside LwIP options
samchesney c350c87
Merge branch 'lwip_wifi' into lwip
samchesney e930116
Merge pull request #18 from samchesney/lwip
4f44d06
Add/update copyright notices
samchesney c74da2f
Add test_result.csv gitignore rule
samchesney 23efcb7
Update to latest XMOS permissive license
samchesney ef15ed2
Merge pull request #19 from samchesney/lwip
87f69a8
Update copyright with first and latest publication dates
samchesney 15ed3c3
Merge remote-tracking branch 'upstream/master' into lwip
5b7d6c1
First commit of event driven XTCP.
960a116
More work done on combining.
d4446c6
Remove recv event if aborting.
3bcabb5
Moved shared code from the stacks to a separate file.
8a1ade1
Updated app note and fixed AutoIP problem.
e08bb64
Removed old tests. Added uIP config functionality. Many other things...
4b6108a
Update module build info version number.
157bf73
Fixes to AN00121 source and documentation to match version 6.0.0 of t…
6a88fc0
Making app_simple_webserver work for both UIP/LWIP.
8caffe1
Fixed MSS, setting appstate and getting appstate in the webserver.
a386bec
Fixed close of TCP connection.
82bbcb1
First pass update of documentation and fix to actually run on the sli…
3e15913
Update diagrams
6822c2d
Cleanup makefile
11a0e35
Removed tls code
3c29688
Update documentation and changelog to reflect the removal of XTCP_EXC…
de2e42d
Added tests from Original_uip_lwip_merge + new test for web server.
8863698
Pulled Peter's changed.
262825a
Removed traces of xtcp_connection_type_t and added info to changelog.
a95b6cd
Fixed connections not have a packet_length & netif reporting an error
4401b86
Fixed appnote using incorrect number of ethernet config clients.
ed83ea5
Fix for issue #23.
5d35b7a
Update CHANGELOG.rst
283a198
Removed dependancy on lib_crypto.
9f084dc
Merge branch 'master' of https://github.com/louisja/lib_xtcp
d20bf2d
Update changelog.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're going to need to bump the version number in the module_build_info file and detail it here before this pull request is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has now been done.