https://man7.org/linux/man-pages/man7/raw.7.html
- I am using IPPROTO_RAW to send my tcp packet
- I spefic 0.0.0.0 to source address, so linux kernel will auto fill, and ip checksum auto filled in.
- I can’t calc correct tcp checksum because i don’t know what kernel fill in source address
- tcpdump always show cksum is incorrect, and i see the sourse address is filled by kernel good.
Maybe is there a way tell kernel auto calc the tcp checksum?