Git Product home page Git Product logo

traceroute's People

Contributors

mcpherrinm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

traceroute's Issues

libpnet

I just wanted to make you aware of the work related to ICMP with rust in libpnet.

parse icmp does not compile with rust 1.0.0

0th error

rustc t.rs
t.rs:17:5: 17:9 error: macro undefined: 'fail!'
t.rs:17     fail!("{} isn't 0x45. Not IPv4, or header options set", version_and_hdrlen);
            ^~~~

changed fail to panic. have no idea if thats right, just trying to get it to build.

first error

t.rs:23:19: 23:35 error: unresolved name `std::io::SeekSet`
t.rs:23   reader.seek(12, std::io::SeekSet).unwrap();

fixed by changing std::io::SeekSet to 0

second error

t.rs:14:29: 14:42 error: wrong number of lifetime parameters: expected 0, found 1 [E0107]
t.rs:14 fn print_ip<'a>(mut reader: BufReader<'a>) -> BufReader<'a> {
                                    ^~~~~~~~~~~~~
t.rs:14:29: 14:42 error: wrong number of type arguments: expected 1, found 0 [E0243]
t.rs:14 fn print_ip<'a>(mut reader: BufReader<'a>) -> BufReader<'a> {
                                    ^~~~~~~~~~~~~
t.rs:14:47: 14:60 error: wrong number of lifetime parameters: expected 0, found 1 [E0107]
t.rs:14 fn print_ip<'a>(mut reader: BufReader<'a>) -> BufReader<'a> {
                                                      ^~~~~~~~~~~~~
t.rs:14:47: 14:60 error: wrong number of type arguments: expected 1, found 0 [E0243]
t.rs:14 fn print_ip<'a>(mut reader: BufReader<'a>) -> BufReader<'a> {
                                                      ^~~~~~~~~~~~~
error: aborting due to 4 previous errors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.