/usr/riscv64-linux-gnu/include/netinet/ is in libc6-dev-riscv64-cross 2.27-3ubuntu1cross1.
This file is owned by root:root, with mode 0o755.
..
/usr/riscv64-linux-gnu/include/netinet/ether.h
/usr/riscv64-linux-gnu/include/netinet/icmp6.h
/usr/riscv64-linux-gnu/include/netinet/if_ether.h
/usr/riscv64-linux-gnu/include/netinet/if_fddi.h
/usr/riscv64-linux-gnu/include/netinet/if_tr.h
/usr/riscv64-linux-gnu/include/netinet/igmp.h
/usr/riscv64-linux-gnu/include/netinet/in.h
/usr/riscv64-linux-gnu/include/netinet/in_systm.h
/usr/riscv64-linux-gnu/include/netinet/ip.h
/usr/riscv64-linux-gnu/include/netinet/ip6.h
/usr/riscv64-linux-gnu/include/netinet/ip_icmp.h
/usr/riscv64-linux-gnu/include/netinet/tcp.h
/usr/riscv64-linux-gnu/include/netinet/udp.h