Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Ddhcp6.c243 struct sockaddr_ll sockll; in mode_raw() local
248 memset(&sockll, 0, sizeof(sockll)); in mode_raw()
249 sockll.sll_family = AF_PACKET; in mode_raw()
250 sockll.sll_protocol = htons(ETH_P_IPV6); in mode_raw()
251 sockll.sll_ifindex = if_nametoindex(TT.interface_name); in mode_raw()
252 if (bind(TT.sock, (struct sockaddr *) &sockll, sizeof(sockll))) { in mode_raw()