Home | History | Annotate | Download | only in netboot

Lines Matching refs:htons

211   ip->len = htons (len);
220 udp->src = htons (srcsock);
221 udp->dest = htons (destsock);
222 udp->len = htons (len - sizeof (struct iphdr));
224 udp->chksum = htons (udpchksum (ip));
260 arpreq.hwtype = htons (1);
261 arpreq.protocol = htons (IP);
264 arpreq.opcode = htons (ARP_REQUEST);
320 tp.opcode = htons (TFTP_RRQ);
407 tp.opcode = htons (TFTP_ERROR);
443 tp.u.ack.block = htons (block = prevblock);
446 tp.opcode = htons (TFTP_ACK);
493 rarpreq.hwtype = htons (1);
494 rarpreq.protocol = htons (IP);
497 rarpreq.opcode = htons (RARP_REQUEST);
676 ip.bp.bp_secs = htons ((currticks () - starttime) / TICKS_PER_SEC);
780 if (arpreply->opcode == htons (ARP_REPLY)
793 if (arpreply->opcode == htons (ARP_REQUEST)
796 arpreply->opcode = htons (ARP_REPLY);
829 if (arpreply->opcode == htons (RARP_REPLY)
864 if (ip->frags & htons(0x3FFF))
890 && udp->dest == htons (BOOTP_CLIENT)