| /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 323 struct bootp *bootp; local 488 struct bootp *bootp; \/* request *\/ local [all...] |
| /src/external/bsd/dhcpcd/dist/src/ |
| dhcp.c | 101 __CTASSERT(sizeof(struct bootp) == 300); 103 #define BOOTP_MIN_MTU (IP_UDP_SIZE + sizeof(struct bootp)) 124 static void dhcp_handledhcp(struct interface *, struct bootp *, size_t, 157 get_option(struct dhcpcd_ctx *ctx, const struct bootp *bootp, size_t bootp_len, 165 if (bootp == NULL || bootp_len < DHCP_MIN_LEN) { 171 if (!IS_DHCP(bootp)) { 176 p = bootp->vend + 4; /* options after the 4 byte cookie */ 177 e = (const uint8_t *)bootp + bootp_len; 192 p = bootp->file 795 struct bootp *bootp; local 1812 struct bootp *bootp; local 2126 struct bootp *bootp; local 3042 struct bootp *bootp; member in struct:dhcp_policy 3650 struct bootp *bootp; local 3804 struct bootp bootp; member in union:__anon1 [all...] |
| dhcp.h | 48 /* UDP port numbers for BOOTP */ 55 /* BOOTP message OP code */ 145 /* Sizes for BOOTP options */ 151 /* DHCP is basically an extension to BOOTP */ 152 struct bootp { struct 171 #define DHCP_MIN_LEN (offsetof(struct bootp, vend) + 4) 176 struct bootp bootp; member in struct:bootp_pkt 212 struct bootp *sent; 214 struct bootp *offer [all...] |
| /src/external/mpl/dhcp/dist/tests/ |
| t_api_dhcp.c | 12 bootp(struct packet *packet) { function
|
| /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 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/external/mpl/dhcp/dist/keama/tests/samples/ |
| example.conf | 39 # This declaration allows BOOTP clients to get dynamic addresses, 43 range dynamic-bootp 10.254.239.40 10.254.239.60; 75 # BOOTP or DHCP. Hosts for which no fixed address is specified can only 77 # to which a BOOTP client is connected which has the dynamic-bootp flag
|