Lines Matching defs:bootp
1 /* $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)
131 struct bootp *bp;
134 struct bootp wbootp;
136 struct bootp *rbootp;
140 printf("bootp: socket=%d\n", sock);
146 printf("bootp: bad socket. %d\n", sock);
151 printf("bootp: d=%lx\n", (long)d);
187 printf("bootp: no reply\n");
266 /* Transmit a bootp request */
270 struct bootp *bp;
293 struct bootp *bp;
303 if (n == -1 || n < sizeof(struct bootp) - BOOTP_VENDSIZE)
327 int vsize = n - offsetof(struct bootp, bp_vend);
331 /* Save copy of bootp reply or DHCP ACK message */
369 printf("vend_rfc1048 bootp info. len=%d\n", len);
453 printf("vend_cmu bootp info.\n");