| /src/usr.sbin/bootp/bootptest/ | 
| Makefile | 4 SRCS=	bootptest.c print-bootp.c getether.c 7 COPTS.print-bootp.c+=	-Wno-pointer-sign
 
 | 
| bootptest.h | 5  * Hacks for sharing print-bootp.c between tcpdump and bootptest. 16 extern void bootp_print(struct bootp *, int, u_short, u_short);
 
 | 
| bootptest.c | 4  * bootptest.c - Test out a bootp server. 7  * various places, including the CMU BOOTP client and server.
 9  * program with some enhancements I added.  The print-bootp.c
 18  * (See the copyright notice in print-bootp.c)
 29  * 12/02/93 Released version 1.4 (with bootp-2.3.2)
 69 #include "bootp.h"
 134 	struct bootp *bp;
 161 	 * Verify that "struct bootp" has the correct official size.
 164 	assert(sizeof(struct bootp) == BP_MINPKTSZ);
 298 	bp = (struct bootp *) sndbuf
 [all...]
 | 
| /src/sys/nfs/ | 
| nfs_bootdhcp.c | 33  * Support for NFS diskless booting with BOOTP (RFC951, RFC1048) 85  * This implementation uses BOOTP (RFC951, RFC1048), and
 88  * This method gets everything it needs with one BOOTP
 90  * the old BOOTP functionality subset of DHCP.  It is not
 91  * clear that DHCP provides any advantage over BOOTP for
 98  * address for the client and support BOOTP.
 105 /* Begin stuff from bootp.h */
 111 struct bootp {  struct
 128 	 * Note that BOOTP packets are allowed to be longer
 181 /* End of stuff from bootp.h *
 310  struct bootp *bootp;  local in function:bootpset
 323  struct bootp *bootp;  local in function:bootpcheck
 488  struct bootp *bootp; \/* request *\/  local in function:bootpc_call
 [all...]
 | 
| /src/sys/arch/hpcmips/stand/lcboot/ | 
| dev_net.c | 36 #include <lib/libsa/bootp.h> 71 		bootp(netdev_sock);
 
 | 
| /src/sys/arch/i386/stand/pxeboot/ | 
| dev_net.c | 42  * BOOTP for IP address - bootp() 152 int bootp(int sock);
 161 	 * Try to get boot info using BOOTP.  If we succeed, then
 166 	bootp(sock);
 170 		printf("net_open: BOOTP failed\n");
 
 | 
| /src/sys/arch/macppc/stand/ofwboot/ | 
| net.c | 44  * BOOTP		- bootp() 63 #include <lib/libsa/bootp.h>
 132 	 * We use BOOTP (RFC951, RFC1532) exclusively as mandated
 136 	bootp(netdev_sock);
 
 | 
| /src/sys/arch/newsmips/stand/boot/ | 
| net.c | 55 #include <lib/libsa/bootp.h> 116 	 * and the more modern, BOOTP way. (RFC951, RFC1048)
 140 	/* Get boot info using BOOTP way. (RFC951, RFC1048) */
 141 	bootp(netdev_sock);
 
 | 
| /src/sys/arch/ofppc/stand/ofwboot/ | 
| net.c | 44  * BOOTP		- bootp() 63 #include <lib/libsa/bootp.h>
 133 	 * We use BOOTP (RFC951, RFC1532) exclusively as mandated
 137 	bootp(netdev_sock);
 
 | 
| /src/sys/arch/sandpoint/stand/altboot/ | 
| dev_net.c | 39 #include <lib/libsa/bootp.h> 71 	bootp(netdev_sock);	/* send DHCP request */
 
 | 
| /src/sys/arch/shark/stand/ofwboot/ | 
| net.c | 44  * BOOTP		- bootp() 62 #include <lib/libsa/bootp.h>
 129 	 * We use BOOTP (RFC951, RFC1532) exclusively as mandated
 133 	bootp(netdev_sock);
 
 | 
| /src/sys/lib/libsa/ | 
| bootp.h | 1 /*	$NetBSD: bootp.h,v 1.10 2019/03/31 20:08:45 christos Exp $	*/ 4  * Bootstrap Protocol (BOOTP).  RFC951 and RFC1048.
 6  * This file specifies the "implementation-independent" BOOTP protocol
 24 struct bootp {  struct
 120  * "vendor" data permitted for CMU bootp clients.
 138 extern void	bootp(int);
 
 | 
| bootp.c | 1 /*	$NetBSD: bootp.c,v 1.43 2019/04/05 20:09:29 christos Exp $	*/ 39  * @(#) Header: bootp.c,v 1.4 93/09/11 03:13:51 leres Exp  (LBL)
 54 #include "bootp.h"
 88  * of bootp/dhcp.
 119 /* Fetch required bootp information */
 121 bootp(int sock)  function in typeref:typename:void
 124 	struct bootp *bp;
 127 		struct bootp wbootp;
 131 		struct bootp rbootp;
 280 /* Transmit a bootp request *
 [all...]
 | 
| /src/sys/stand/efiboot/ | 
| dev_net.c | 39 #include <lib/libsa/bootp.h> 63 		bootp(net_socket);
 
 | 
| /src/sys/arch/evbarm/stand/boot2440/ | 
| dev_net.c | 36 #include <lib/libsa/bootp.h> 71 	bootp(netdev_sock);
 
 | 
| /src/sys/arch/sparc/stand/common/ | 
| net.c | 56 #include <lib/libsa/bootp.h> 133 	printf("Trying BOOTP protocol... ");
 135 	bootp(netdev_sock);
 166 	 * and the more modern, BOOTP way. (RFC951, RFC1048)
 169 	/* Try BOOTP first */
 
 | 
| /src/sys/arch/sparc/stand/ofwboot/ | 
| net.c | 44  * BOOTP		- bootp() 63 #include <lib/libsa/bootp.h>
 163 		bootp(netdev_sock);
 170 	printf("Using BOOTP protocol:\n ip addr=%s\n", inet_ntoa(myip));
 219 	 * and the more modern, BOOTP way. (RFC951, RFC1048)
 222 		/* Try BOOTP first */
 
 | 
| /src/sys/arch/vax/boot/boot/ | 
| netio.c | 87 #include <lib/libsa/bootp.h> 122 	 * and the more modern, BOOTP way. (RFC951, RFC1048)
 127 	/* Get boot info using BOOTP way. (RFC951, RFC1048) */
 128 	printf("Trying BOOTP\n");
 129 	bootp(0);
 
 | 
| /src/usr.sbin/bootp/bootpgw/ | 
| bootpgw.c | 2  * bootpgw.c - BOOTP GateWay 3  * This program forwards BOOTP Request packets to a BOOTP server.
 34  * BOOTPGW is typically used to forward BOOTP client requests from
 35  * one subnet to a BOOTP server on a different subnet.
 69 #include "bootp.h"
 141 	struct bootp *bp;
 166 	assert(sizeof(struct bootp) == BP_MINPKTSZ);
 174 	bp = (struct bootp *) pktbuf;
 327 	 * Get address of real bootp server
 [all...]
 | 
| /src/sys/arch/alpha/stand/netboot/ | 
| dev_net.c | 63 void bootp(int); 184 	 * and the more modern, BOOTP way. (RFC951, RFC1048)
 195 	 * Get boot info using BOOTP. (RFC951, RFC1048)
 199 	bootp(sock);
 201 		printf("net_open: BOOTP failed\n");
 
 | 
| /src/sys/arch/evbmips/stand/sbmips/netboot/ | 
| dev_net.c | 63 void bootp(int); 184 	 * and the more modern, BOOTP way. (RFC951, RFC1048)
 195 	 * Get boot info using BOOTP. (RFC951, RFC1048)
 199 	bootp(sock);
 201 		printf("net_open: BOOTP failed\n");
 
 | 
| /src/usr.sbin/bootp/common/ | 
| bootp.h | 24  * Bootstrap Protocol (BOOTP).  RFC951 and RFC1395. 26  * $NetBSD: bootp.h,v 1.4 1997/10/18 04:36:52 lukem Exp $
 29  * This file specifies the "implementation-independent" BOOTP protocol
 40 #define BP_MINPKTSZ	300	/* to check sizeof(struct bootp) */
 42 struct bootp {  struct
 132  * "vendor" data permitted for CMU bootp clients.
 
 | 
| /src/sys/arch/ia64/stand/common/ | 
| dev_net.c | 63 #include <lib/libsa/bootp.h> 184  * and the more modern, BOOTP way. (RFC951, RFC1048)
 208      * Try to get boot info using BOOTP.  If we succeed, then
 214 	bootp(sock);
 218 	printf("net_open: BOOTP failed, trying RARP/RPC...\n");
 
 | 
| /src/sys/arch/hp300/stand/common/ | 
| netio.c | 85 #include <lib/libsa/bootp.h> 223 	 * and the more modern, BOOTP way. (RFC951, RFC1048)
 247 	/* Get boot info using BOOTP way. (RFC951, RFC1048) */
 248 	bootp(netdev_sock);
 
 | 
| /src/sys/arch/ews4800mips/stand/common/ | 
| ether_if.c | 42 #include <lib/libsa/bootp.h> 
 |