Home | History | Annotate | Download | only in dhcpcd

Lines Matching defs:su

76 	} su;
86 memset(&su, 0, sizeof(su));
87 su.sll.sll_family = PF_PACKET;
88 su.sll.sll_protocol = htons(protocol);
89 if (!(su.sll.sll_ifindex = if_nametoindex(iface->name))) {
115 if (bind(s, &su.sa, sizeof(su)) == -1)
139 } su;
142 memset(&su, 0, sizeof(su));
143 su.sll.sll_family = AF_PACKET;
144 su.sll.sll_protocol = htons(protocol);
145 if (!(su.sll.sll_ifindex = if_nametoindex(iface->name))) {
149 su.sll.sll_hatype = htons(iface->family);
150 su.sll.sll_halen = iface->hwlen;
152 memcpy(&su.sll.sll_addr,
155 memset(&su.sll.sll_addr, 0xff, iface->hwlen);
161 return sendto(fd, data, len, 0, &su.sa, sizeof(su));