Home
last modified time | relevance | path

Searched refs:bindaddr (Results 1 – 1 of 1) sorted by relevance

/system/core/libnetutils/
Dpacket.c46 struct sockaddr_ll bindaddr = { in open_raw_socket() local
52 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()