I created the socket socket(PF_PACKET, SOCK_RAW,htons(ETH_P_ALL)); then i used the structure sockaddr_ll so i could give me sendto method a address and
socket(PF_PACKET, SOCK_RAW,htons(ETH_P_ALL));
sockaddr_ll