So I'm trying to write a software at packet filtering area to manage the security of ipv6 routing header (type 0) , but i'm not sure where to get started, Or what network simulation tools to use .
I would suggest taking a look at Scapy which, while not the complete answer will allow you to capture, analyse, create and inject packets, including malformed packets if required.
- Free, Gratis & Open Source.
Why don't try Wireshark? A must have for analyzing packets including IPV6 packets