TCP/IP implementation in Rust.
- rfc index
- rfc official standards tracking
- rfc-793-tcp
- rfc-1180-tcp-tutorial
- rfc-2398-tcp-testing-tools
- rfc-1256-icmp
- tun-tap
- jumbo frame
- ip6
- icmp6
- rfc-6564 ip6 extension headers
- https://www.cs.swarthmore.edu/~aviv/classes/f12/cs43/labs/lab2.pdf
- http://yuba.stanford.edu/~nickm/papers/ancs48-gibb.pdf
- https://www.sciencedirect.com/topics/engineering/packet-networks
let mut v = Vec::with_capacity(a.len() + b.len());
v.extend_from_slice(a);
v.extend_from_slice(b);
v
fn main() {
let n = 0b01100000; // let n = 96u8;
let first_n = 4;
let shifting = 8 - first_n;
let shifted = n >> shifting;
println!("shifting by {}: {}({:b})", shifting, shifted, shifted);
}