Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/
Dether-wake.c211 struct whereto_t whereto; /* who to wake up */ in ether_wake_main() local
276 memset(&whereto, 0, sizeof(whereto)); in ether_wake_main()
277 whereto.sll_family = AF_PACKET; in ether_wake_main()
278 whereto.sll_ifindex = ifr.ifr_ifindex; in ether_wake_main()
281 whereto.sll_halen = ETH_ALEN; in ether_wake_main()
282 memcpy(whereto.sll_addr, outpack, ETH_ALEN); in ether_wake_main()
285 whereto.sa_family = 0; in ether_wake_main()
286 strcpy(whereto.sa_data, ifname); in ether_wake_main()
288 xsendto(s, outpack, pktsize, (struct sockaddr *)&whereto, sizeof(whereto)); in ether_wake_main()