moved the interface to config as macro. The code is working with raw socket