Searched refs:bootp (Results 1 - 19 of 19) sorted by relevance

/freebsd-11-stable/libexec/bootpd/tools/bootptest/
H A DMakefile6 SRCS= bootptest.c getether.c getif.c print-bootp.c report.c
H A Dbootptest.c2 * bootptest.c - Test out a bootp server.
7 * program with some enhancements I added. The print-bootp.c
16 * (See the copyright notice in print-bootp.c)
27 * 12/02/93 Released version 1.4 (with bootp-2.3.2)
67 #include "bootp.h"
138 struct bootp *bp;
164 * Verify that "struct bootp" has the correct official size.
167 assert(sizeof(struct bootp) == BP_MINPKTSZ);
307 bp = (struct bootp *) sndbuf;
421 if (n < sizeof(struct bootp)) {
[all...]
H A Dprint-bootp.c20 * Format and print bootp packets.
41 #include "bootp.h"
52 * Print bootp requests
56 struct bootp *bp;
60 static char tstr[] = " [|bootp]";
69 if (length != sizeof(struct bootp))
90 printf(" bootp-#%d", bp->bp_op);
132 /* 'your' ip address (bootp client) */
/freebsd-11-stable/libexec/bootpd/
H A DMakefile.UNIX156 OBJ_TEST= bootptest.o print-bootp.o getif.o getether.o \
188 bootpd.o : bootp.h bptypes.h hash.h hwaddr.h bootpd.h dovend.h
190 bootpef.o : bootp.h bptypes.h hash.h hwaddr.h bootpd.h dovend.h
192 bootpgw.o : bootp.h bptypes.h getif.h hwaddr.h report.h patchlevel.h
193 bootptest.o : bootp.h bptypes.h bootptest.h getif.h patchlevel.h
194 dovend.o : bootp.h bptypes.h bootpd.h hash.h hwaddr.h report.h dovend.h
195 dumptab.o : bootp.h bptypes.h hash.h hwaddr.h report.h patchlevel.h bootpd.h
199 lookup.o : bootp.h bptypes.h lookup.h report.h
200 print-bootp.o : bootp
[all...]
H A Dbootp.h40 #define BP_MINPKTSZ 300 /* to check sizeof(struct bootp) */
41 /* Overhead to fit a bootp message into an Ethernet packet. */
44 struct bootp { struct
134 * "vendor" data permitted for CMU bootp clients.
H A Dbootpd.c84 #include "bootp.h"
114 PRIVATE void dovend_cmu(struct bootp *, struct host *);
116 PRIVATE void dovend_rfc1048(struct bootp *, struct host *, int32);
167 * Globals below are associated with the bootp database file (bootptab).
187 struct bootp *bp;
215 assert(sizeof(struct bootp) == BP_MINPKTSZ);
223 bp = (struct bootp *) pktbuf;
555 if (n < sizeof(struct bootp)) {
632 struct bootp *bp = (struct bootp *) pktbu
[all...]
/freebsd-11-stable/stand/libsa/
H A Dbootp.h1 /* $NetBSD: bootp.h,v 1.4 1997/09/06 13:55:57 drochner Exp $ */
22 * $FreeBSD: stable/11/stand/libsa/bootp.h 344408 2019-02-21 02:43:48Z kevans $
28 struct bootp { struct
128 * "vendor" data permitted for CMU bootp clients.
146 /* cached bootp response/dhcp ack */
147 extern struct bootp *bootp_response;
H A Dbootp.c1 /* $NetBSD: bootp.c,v 1.14 1998/02/16 11:10:54 drochner Exp $ */
35 * @(#) Header: bootp.c,v 1.4 93/09/11 03:13:51 leres Exp (LBL)
39 __FBSDID("$FreeBSD: stable/11/stand/libsa/bootp.c 344408 2019-02-21 02:43:48Z kevans $");
62 #include "bootp.h"
93 struct bootp *bootp_response;
125 /* Fetch required bootp infomation */
127 bootp(int sock) function
131 struct bootp *bp;
134 struct bootp wbootp;
136 struct bootp *rboot
[all...]
H A Dnet.h122 /* bootp/DHCP */
123 void bootp(int);
H A DMakefile134 SRCS+= bootp.c rarp.c bootparam.c
/freebsd-11-stable/sbin/dhclient/tests/
H A Dfake.c56 bootp(struct packet *packet) function
/freebsd-11-stable/libexec/bootpd/bootpgw/
H A Dbootpgw.c77 #include "bootp.h"
161 struct bootp *bp;
184 assert(sizeof(struct bootp) == BP_MINPKTSZ);
192 bp = (struct bootp *) pktbuf;
343 * Get address of real bootp server.
470 if (n < sizeof(struct bootp)) {
523 struct bootp *bp = (struct bootp *) pktbuf;
615 struct bootp *bp = (struct bootp *) pktbu
[all...]
/freebsd-11-stable/stand/common/
H A Ddev_net.c65 #include <bootp.h>
155 * them via bootp, rarp, etc.
172 * info from bootp or other sources.
270 bootp(sock);
/freebsd-11-stable/usr.sbin/tcpdump/tcpdump/
H A DMakefile43 print-bootp.c \
/freebsd-11-stable/sbin/dhclient/
H A Ddhcpd.h409 void bootp(struct packet *);
H A Ddhclient.c924 bootp(struct packet *packet) function
1957 fprintf(leaseFile, " bootp;\n");
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-bootp.c36 static const char tstr[] = " [|bootp]";
58 struct bootp { struct
66 in print-bootp.c */
199 /* ftp://ftp.isi.edu/.../assignments/bootp-dhcp-extensions */
238 * "vendor" data permitted for CMU bootp clients.
262 /* end of original bootp.h */
280 * Print bootp requests
286 register const struct bootp *bp;
290 bp = (const struct bootp *)cp;
336 /* 'your' ip address (bootp clien
[all...]
H A DMakefile.in108 print-bootp.c \
/freebsd-11-stable/stand/i386/libi386/
H A Dpxe.c51 #include <bootp.h>

Completed in 179 milliseconds