Commit graph

9 commits

Author SHA1 Message Date
lohhiiccc
ad7698d530 feat: add icmp_set_dont_fragment and next_mtu extraction
- Add icmp_set_dont_fragment() using IP_MTU_DISCOVER/IP_PMTUDISC_DO
- Add next_mtu field to icmp_offending_packet_t, populated from the
  outer ICMP header on type=3/code=4 (frag needed) replies
- Fix extract_offending: read MTU from outer ICMP, not embedded packet
- Update test to match corrected extraction semantics
- Clean up checksum odd-byte handling with a static zero sentinel
2026-03-13 03:21:35 +01:00
lohhiiccc
87a4650840 feat: add echo payload option 2026-03-08 16:32:04 +01:00
lohhiiccc
69a6a633d4 fix(test): compilation warning 2026-03-02 13:02:28 +01:00
lohhiiccc
97a9f24fc3 feat: extract_offending function 2026-02-07 11:15:42 +01:00
lohhiiccc
84490efc8e feat: add helpers to extract id and sequence from replies 2026-01-30 23:49:31 +01:00
lohhiiccc
e57d43de33 feat: add max_packets parameter to make icmp_process non-blocking 2026-01-27 21:30:49 +01:00
lohhiiccc
a3c60158e9 test: add recv module unit tests 2026-01-26 20:14:24 +01:00
lohhiiccc
3c56ea024b feat: implement ICMP send/receive modules 2026-01-26 20:12:42 +01:00
lohhiiccc
9bd55cf24a Initial commit - libcimp 2026-01-24 16:04:09 +01:00