Commit graph

7 commits

Author SHA1 Message Date
lohhiiccc
d4dfc554f0 refactor(cli): merge ft_ping.h and ping.h and rename CLI related enums 2026-03-16 09:39:05 -05:00
lohhiiccc
770265ee80 feat: add -M (dont-fragment) option
- Add FLAG_DONT_FRAGMENT flag and cli_handle_dont_fragment handler
- Register -M/--dont-fragment option in the X-macro option table
- Apply DF bit via icmp_set_dont_fragment() before ping loop
- Expand error output: table-driven ICMP error messages and dedicated
  frag-needed output with next-hop MTU
- Add STATIC_ARRAY_FOREACH / COUNT_OF macros to compiler.h
2026-03-13 03:22:14 +01:00
lohhiiccc
5a8671bdde style: fix struct/variable alignment and wrap indentation 2026-03-13 01:02:28 +01:00
lohhiiccc
07cd155f3a refactor: remove typedefs, use struct/enum directly, fix 80-col violations 2026-03-12 19:17:49 +01:00
lohhiiccc
0dc1e09205 refactor: complete multi-binary CLI reorganization 2026-03-12 18:45:54 +01:00
lohhiiccc
ab90dbb07f refactor: reorganize src/ and includes/ for multi-binary support 2026-03-12 16:45:11 +01:00
lohhiiccc
3f666ff011 refactor: move internal ping headers to internal/ping/ 2026-03-12 16:36:47 +01:00