Searched refs:sndeth_size (Results 1 – 1 of 1) sorted by relevance
284 size_t sndeth_size; /* Size of sending frame */ in return_arp_reply() local323 sndeth_size = sizeof(struct ethhdr) + sizeof(struct arp_datagram); in return_arp_reply()342 retval = write(sd, &sndeth, sndeth_size); in return_arp_reply()343 if (retval != sndeth_size) in return_arp_reply()370 size_t sndeth_size; /* Size of sending frame */ in return_icmp4_redirect() local389 sndeth_size = sizeof(struct ethhdr) /* Ether header */ in return_icmp4_redirect()393 sndeth_size = (sndeth_size < ETH_DATA_MAXSIZE) in return_icmp4_redirect()394 ? sndeth_size : ETH_DATA_MAXSIZE; in return_icmp4_redirect()408 sndip_p->hdr.tot_len = htons(sndeth_size - sizeof(struct ethhdr)); in return_icmp4_redirect()438 retval = write(sd, &sndeth, sndeth_size); in return_icmp4_redirect()[all …]