Commit Graph

30 Commits

Author SHA1 Message Date
Astro 49f638e2d2 Implement DHCPv4 client + example.
Closes: #186
Approved by: whitequark
2019-05-14 00:37:43 +08:00
Astro ebf449340b test_icmp_reply_size: fix for ipv4-only case
Closes: #292
Approved by: whitequark
2019-05-01 10:11:50 +08:00
Luka Atanasovski 04c9518dd2 Implement raw sockets via BPF on macOS. 2018-12-28 11:46:43 +00:00
Astro a8f2725784 Implement IGMPv1/v2 processing.
Closes: #178
Approved by: whitequark
2018-08-01 10:26:51 +08:00
whitequark 00e9d64911 Travis: add Clippy to allowed failures. 2018-06-23 02:52:26 +00:00
Dan Robertson eb078ecf63 Add clippy to CI
Closes: #240
Approved by: dlrobertson
2018-06-19 11:04:39 +08:00
whitequark a9903aee61 Allow fuzzer failures on Travis.
cargo-fuzz is broken on Travis, but the mode is still useful for
those running ./.test_like_travis.rb.
2018-01-26 20:20:37 +00:00
whitequark 7269ed4981 Fix af26eafd. 2018-01-26 19:56:23 +00:00
whitequark de3b9735f2 Install cargo-fuzz on Travis before fuzzing. 2018-01-26 19:44:02 +00:00
whitequark 235cd2581d Run fuzzing on Travis. 2018-01-26 19:30:47 +00:00
Dan Robertson 439e0a2cc1 Add the proto-ipv4 feature. 2017-12-24 13:28:59 +00:00
whitequark 809cfd5ff2 Add a script to run every test Travis would run locally. 2017-12-22 09:07:57 +00:00
whitequark 8b6050f711 Clean up our feature story and more aggressively test features. 2017-12-22 08:54:58 +00:00
Dan Robertson b97c592671 Add IPv6 address and cidr to wire
- Add the ipv6 feature
   - Ensure a travis build with the ipv6 feature enabled.
 - Add the necessary infrastructure to wire for ipv6 support.
   - Ipv6Address
   - Ipv6Cidr
 - Add Ipv6 Address and Cidr parsing to parsers
 - Add basic tests.
2017-11-29 12:57:22 +00:00
whitequark b70e9174c8 Don't build on stable for now. 2017-11-21 11:06:42 +00:00
Dan Robertson adb5014780 Add ICMP sockets
- Add support for ICMP sockets
 - Add tests for ICMP sockets
 - Rename proto-<type> features to socket-<type>
 - Update documentation
2017-11-09 00:08:24 +00:00
whitequark d9fa7f6bc6 Rename proto-* features back to socket-*.
A proto-* feature does not make sense for ICMP, where the protocol
is always enabled, but sockets, not.
2017-11-06 09:51:03 +00:00
whitequark a9a00baa49 Rename Cargo features: socket-* → proto-*. 2017-10-25 00:20:40 +00:00
whitequark f8ab0a6b29 Update CI config to not use poorly interacting feature sets. 2017-09-25 00:59:21 +00:00
whitequark 4826d37c45 Allow disabling any of: raw, TCP or UDP sockets. 2017-09-25 00:20:22 +00:00
whitequark 0a8a962e94 Reorganize features using namespaces, to match module hierarchy.
I'm about to add a whole lot more features, and it's going to get
quite confusing otherwise.
2017-09-24 23:51:19 +00:00
whitequark 227139401d Fix CI configuration after 4e8be41c. 2017-09-22 20:23:53 +00:00
whitequark 6cc2d494ca Travis: require build on stable Rust to succeed. 2017-06-29 16:09:01 +00:00
Egor Karavaev 59fc0c0358 Factor out the "raw_socket" and "tap_interface" features
This makes it possible to build smoltcp with the "std" feature on platforms
without libc, such as redox.
2017-06-15 10:12:11 +00:00
whitequark 493a319132 Remove the `use_` prefix from feature names.
I haven't realized that a feature `log` with an optional crate
dependency `log` activates that dependency, and added the prefix
to avoid a "clash". This is unnecessary.
2017-03-05 05:49:38 +00:00
whitequark a070429e2c Travis: don't build tests without the std feature.
Neither tests nor examples work without the library being built
with std.
2017-03-05 05:34:24 +00:00
whitequark 4ef94b4e61 Travis: run tests, not just build. 2017-01-31 11:13:28 +00:00
whitequark 20e7ba7cf3 Test various combinations of features. 2017-01-22 20:11:36 +00:00
whitequark 1fe5c5f4a4 We don't build on stable... yet. 2016-12-28 00:23:28 +00:00
whitequark 19e6ab5619 Add Travis CI configuration. 2016-12-28 00:14:45 +00:00