router solicitation and advertisement magic is used by

C
ICMP

Source

Also in C: