oscourse-tsinghua / rcore_plus

Rust version of THU uCore OS. Linux compatible.
MIT License
172 stars 26 forks source link

Multiple network interface support #29

Closed jiegec closed 4 years ago

jiegec commented 5 years ago

Where to put sockets?

  1. Interface
  2. Global

How to implement global routing table?

jiegec commented 5 years ago

Answer:

  1. Interface: when to bind socket to specific interface?
  2. Global: does interface ignore sockets that do not belong to it?

Ask for routing table in each interface.

How to bind to 0.0.0.0?

jiegec commented 5 years ago

Steps to make: