Searched refs:bindaddr (Results 1 – 1 of 1) sorted by relevance
46 struct sockaddr_ll bindaddr = { in open_raw_socket() local52 memcpy(bindaddr.sll_addr, hwaddr, ETH_ALEN); in open_raw_socket()54 if (bind(s, (struct sockaddr *)&bindaddr, sizeof(bindaddr)) < 0) { in open_raw_socket()