[recovery-netstack] Send ICMPv6 in response to exceeded MTU
- Add the ability to send ICMPv6 "packet too big" messages in response to attempting to forward a packet over a link with an MTU too small for the packet - Store MTUs as u32s rather than usizes (ICMPv6 "packet too big" messages encode the MTU in a 32-bit field) Test: None; we don't have IPv6 supported for test dummies yet; once we do, we will add tests for this and other ICMPv6 functionality Change-Id: I42b24f8fedbce3c97ab6376e86da949a08ed2dff
Showing
- garnet/bin/recovery_netstack/core/src/device/ethernet.rs 10 additions, 5 deletionsgarnet/bin/recovery_netstack/core/src/device/ethernet.rs
- garnet/bin/recovery_netstack/core/src/device/mod.rs 8 additions, 1 deletiongarnet/bin/recovery_netstack/core/src/device/mod.rs
- garnet/bin/recovery_netstack/core/src/ip/icmp.rs 41 additions, 5 deletionsgarnet/bin/recovery_netstack/core/src/ip/icmp.rs
- garnet/bin/recovery_netstack/core/src/ip/mod.rs 40 additions, 5 deletionsgarnet/bin/recovery_netstack/core/src/ip/mod.rs
- garnet/bin/recovery_netstack/core/src/lib.rs 1 addition, 1 deletiongarnet/bin/recovery_netstack/core/src/lib.rs
- garnet/bin/recovery_netstack/core/src/wire/icmp/icmpv6.rs 8 additions, 0 deletionsgarnet/bin/recovery_netstack/core/src/wire/icmp/icmpv6.rs
- garnet/bin/recovery_netstack/src/eventloop.rs 2 additions, 4 deletionsgarnet/bin/recovery_netstack/src/eventloop.rs
- garnet/public/rust/packet/src/serialize.rs 17 additions, 0 deletionsgarnet/public/rust/packet/src/serialize.rs
Loading
Please register or sign in to comment