I have a raw socket opened in my router\'s interface which is used to receive the control packets to my protocol application.
pim_sock.nl_params.family = AF_INET;