Annotation of Net2/arch/i386/netboot/bootp.c, revision 1.1.1.1

1.1       root        1: /* bootp functions
                      2:  *
                      3:  * bootp.c,v
                      4:  * Revision 1.1  1993/07/08  16:03:52  brezak
                      5:  * Diskless boot prom code from Jim McKim ([email protected])
                      6:  *
                      7:  */
                      8: 
                      9: int BootpGetInfo(ipaddr_t *ip_servaddr, ipaddr_t *ip_myaddr, ipaddr_t *ip_gateway, char *file_name) {
                     10:   /* zero a packet */
                     11:   bzero(xxx);
                     12:   /* set dest to 255... */
                     13:   xxx = IP_BCASTADDR
                     14:   /* set up udp ports */
                     15:   /* send it */
                     16:   /* wait for reply or timeout */
                     17:   /* do exp backoff and retry if timeout */
                     18:   /* give up after a minute or so */
                     19:   /* return success or failure */
                     20: }
                     21: 
                     22: /* tbd - set up incoming packet handler to handle bootp replies??? */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.