Giter VIP home page Giter VIP logo

min_ip's Introduction

minIP

An IP layer compliant to RFC791 with ARP and ICMP layers (Ping service). This demo project runs over PIC32 Ethernet Starter Kit and has been tested with an Ubuntu laptop through an Ethernet switch.

This IP stack is implemented on top of my Ethernet driver for PIC32.

The demo application sets a static IP address and then starts a Ping service to a fixed remote address for 5 seconds. How to use the demo application:

  • set a static local IP address in app_ip.c file;
  • check the IP address of your PC and then set it as remote IP address in app_ip.c file;
  • build and run on the board;
  • you can see ping requests from the board and PC replies with a tool like Wireshark for the first 5 seconds;
  • start a Ping request from your PC to the board, use a command like: $ ping -I eth0 10.42.0.10.

For an example of use please have a look at minUDP project.

Known issues:

  • Ethernet layer remains stacked until an Ethernet cable is connected. It is necessary to add a timeout in order to exit the related infinite loop in eth.c file.
  • Checksum calculation with fragmented packets has not been tested properly.

min_ip's People

Contributors

marcorussi avatar

Watchers

 avatar  avatar

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.