| /netbsd-src/sys/nfs/ |
| H A D | nfs_bootdhcp.c | 105 /* Begin stuff from bootp.h */ 111 struct bootp { struct 181 /* End of stuff from bootp.h */ 211 #define BOOTP_SIZE_MAX (sizeof(struct bootp)+312-64) 219 #define BOOTP_SIZE_MAX (sizeof(struct bootp)+256-64) 221 #define BOOTP_SIZE_MIN (sizeof(struct bootp)) 227 static void bootp_extract (struct bootp *, int, struct nfs_diskless *, int *); 296 struct bootp *replybuf; 310 struct bootp *bootp; in bootpset() local 112 bp_opbootp global() argument 113 bp_htypebootp global() argument 114 bp_hlenbootp global() argument 115 bp_hopsbootp global() argument 116 bp_xidbootp global() argument 117 bp_secsbootp global() argument 118 bp_flagsbootp global() argument 119 bp_ciaddrbootp global() argument 120 bp_yiaddrbootp global() argument 121 bp_siaddrbootp global() argument 122 bp_giaddrbootp global() argument 123 bp_chaddrbootp global() argument 124 bp_snamebootp global() argument 125 bp_filebootp global() argument 126 bp_vendbootp global() argument 323 struct bootp *bootp; bootpcheck() local 488 struct bootp *bootp; /* request */ bootpc_call() local 693 bootp_extract(struct bootp * bootp,int replylen,struct nfs_diskless * nd,int * flags) bootp_extract() argument [all...] |
| /netbsd-src/external/bsd/dhcpcd/dist/src/ |
| H A D | dhcp.c | 99 __CTASSERT(sizeof(struct bootp) == 300); 133 static void dhcp_handledhcp(struct interface *, struct bootp *, size_t, 167 const struct bootp *bootp, size_t bootp_len, in get_option() argument 175 if (bootp == NULL || bootp_len < DHCP_MIN_LEN) { in get_option() 181 if (!IS_DHCP(bootp)) { in get_option() 186 p = bootp->vend + 4; /* options after the 4 byte cookie */ in get_option() 187 e = (const uint8_t *)bootp + bootp_len; in get_option() 202 p = bootp->file; in get_option() 203 e = p + sizeof(bootp->file); in get_option() 207 p = bootp->sname; in get_option() [all …]
|
| H A D | dhcp.h | 152 struct bootp { struct 171 #define DHCP_MIN_LEN (offsetof(struct bootp, vend) + 4) argument 177 struct bootp bootp; member 213 struct bootp *sent; 215 struct bootp *offer; 217 struct bootp *new; 219 struct bootp *old; 269 const struct bootp *, size_t);
|
| H A D | auth.c | 347 __CTASSERT(sizeof(struct bootp) == 300); in dhcp_auth_validate() 349 *(mm + offsetof(struct bootp, hops)) = '\0'; in dhcp_auth_validate() 350 memset(mm + offsetof(struct bootp, giaddr), 0, 4); in dhcp_auth_validate() 707 p = m + offsetof(struct bootp, hops); in dhcp_auth_encode() 710 p = m + offsetof(struct bootp, giaddr); in dhcp_auth_encode() 730 p = m + offsetof(struct bootp, hops); in dhcp_auth_encode() 732 p = m + offsetof(struct bootp, giaddr); in dhcp_auth_encode()
|
| /netbsd-src/usr.sbin/bootp/bootpd/ |
| H A D | Changes | 5 --> bootp-2.4.0 19 --> bootp-2.3.8 29 --> bootp-2.3.7 78 --> bootp-2.3.6 97 Use int for (struct bootp).bp_xid (for DEC Alpha) 108 --> bootp-2.3.5 130 --> bootp-2.3.4 (beta test release) 135 --> bootp-2.3.3 (beta test release) 153 --> bootp-2.3.2 (beta test release) 155 Incorporated bootptest into the bootp release. [all …]
|
| H A D | Makefile.UNIX | 138 OBJ_TEST= bootptest.o print-bootp.o getif.o getether.o \ 170 bootpd.o : bootp.h bptypes.h hash.h hwaddr.h bootpd.h dovend.h 172 bootpef.o : bootp.h bptypes.h hash.h hwaddr.h bootpd.h dovend.h 174 bootpgw.o : bootp.h bptypes.h getif.h hwaddr.h report.h patchlevel.h 175 bootptest.o : bootp.h bptypes.h bootptest.h getif.h patchlevel.h 176 dovend.o : bootp.h bptypes.h bootpd.h hash.h hwaddr.h report.h dovend.h 177 dumptab.o : bootp.h bptypes.h hash.h hwaddr.h report.h patchlevel.h bootpd.h 181 lookup.o : bootp.h bptypes.h lookup.h report.h 182 print-bootp.o : bootp.h bptypes.h bootptest.h 183 readfile.o : bootp.h bptypes.h hash.h hwaddr.h lookup.h readfile.h
|
| H A D | bootpd.c | 111 PRIVATE void dovend_cmu(struct bootp *, struct host *); 113 PRIVATE void dovend_rfc1048(struct bootp *, struct host *, int32); 175 struct bootp *bp; in main() 202 assert(sizeof(struct bootp) == BP_MINPKTSZ); in main() 210 bp = (struct bootp *) pktbuf; in main() 521 if (n < (int)sizeof(struct bootp)) { in main() 593 struct bootp *bp = (struct bootp *) pktbuf; in handle_request() 1007 struct bootp *bp = (struct bootp *) pktbuf; in sendreply() 1144 dovend_cmu(struct bootp *bp, struct host *hp) in dovend_cmu() 1212 dovend_rfc1048(struct bootp *bp, struct host *hp, int32 bootsize) in dovend_rfc1048()
|
| H A D | README | 8 <bootp@andrew.cmu.edu> 11 bootp-request@andrew.cmu.edu 37 bootps 67/udp bootp # BOOTP Server 71 If your bootp clients don't get a response then several things might be 76 try making your bootp clients send additional requests before giving up. 97 bootp.h The protocol header file 123 print-bootp.c Prints BOOTP packets (taken from BSD tcpdump)
|
| H A D | Problems | 41 My bootp clients are given responses with a boot file name that is 53 Subject: Re: problems bootp-2.4.3 and JetDirect 54 To: bootp@andrew.cmu.edu 56 > I installed bootp-2.4.3 with the DHCP-patches. 67 extensions portion of the bootp packet. Here are a few workarounds
|
| H A D | Installation | 19 bootps 67/udp bootp # BOOTP Server 23 bootp dgram udp wait root /usr/etc/bootpd bootpd -i
|
| H A D | Announce.old | 60 (128.2.13.21). The new server can be found in pub/bootp.2.1.tar. 84 [ Changed: now please send mail to: <bootp@andrew.cmu.edu> ] 101 (128.2.13.21). The new server can be found in pub/bootp.2.0.tar. This is 133 [ Changed: now please send mail to: <bootp@andrew.cmu.edu> ]
|
| /netbsd-src/usr.sbin/bootp/bootpgw/ |
| H A D | bootpgw.c | 140 struct bootp *bp; in main() 165 assert(sizeof(struct bootp) == BP_MINPKTSZ); in main() 173 bp = (struct bootp *) pktbuf; in main() 450 if (n < (int)sizeof(struct bootp)) { in main() 500 struct bootp *bp = (struct bootp *) pktbuf; in handle_request() 591 struct bootp *bp = (struct bootp *) pktbuf; in handle_reply()
|
| /netbsd-src/sys/lib/libsa/ |
| H A D | bootp.c | 121 bootp(int sock) in bootp() function 124 struct bootp *bp; in bootp() 127 struct bootp wbootp; in bootp() 131 struct bootp rbootp; in bootp() 284 struct bootp *bp; in bootpsend() 306 struct bootp *bp; in bootprecv() 314 if (n == -1 || (size_t)n < sizeof(struct bootp) - BOOTP_VENDSIZE) in bootprecv() 317 bp = (struct bootp *)pkt; in bootprecv()
|
| H A D | bootp.h | 24 struct bootp { struct 138 extern void bootp(int);
|
| /netbsd-src/usr.sbin/bootp/bootptest/ |
| H A D | bootptest.c | 134 struct bootp *bp; in main() 164 assert(sizeof(struct bootp) == BP_MINPKTSZ); in main() 298 bp = (struct bootp *) sndbuf; in main() 410 if (n < (int)sizeof(struct bootp)) { in main() 421 bootp_print((struct bootp *)rcvbuf, n, sin_from.sin_port, 0); in main() 439 bootp_print((struct bootp *)sndbuf, snaplen, sin_from.sin_port, 0); in send_request()
|
| H A D | Makefile | 4 SRCS= bootptest.c print-bootp.c getether.c 7 COPTS.print-bootp.c+= -Wno-pointer-sign
|
| /netbsd-src/external/mpl/dhcp/dist/tests/failover/ |
| H A D | dhcp-1.cf | 107 deny dynamic bootp clients; 121 deny dynamic bootp clients; 130 deny dynamic bootp clients; 138 deny dynamic bootp clients; 146 deny dynamic bootp clients;
|
| H A D | dhcp-2.cf | 105 deny dynamic bootp clients; 119 deny dynamic bootp clients; 128 deny dynamic bootp clients; 136 deny dynamic bootp clients; 144 deny dynamic bootp clients;
|
| /netbsd-src/external/mpl/dhcp/dist/keama/tests/ |
| H A D | configdata4.out | 7 // /// bootp protocol is not supported 9 // "name": "dynamic-bootp-lease-length", 13 // /// bootp protocol is not supported
|
| /netbsd-src/external/mpl/dhcp/dist/server/tests/ |
| H A D | Makefile.in | 108 am__dhcpd_unittests_SOURCES_DIST = ../dhcp.c ../bootp.c ../confpars.c \ 113 am__objects_1 = dhcp.$(OBJEXT) bootp.$(OBJEXT) confpars.$(OBJEXT) \ 127 am__hash_unittests_SOURCES_DIST = ../dhcp.c ../bootp.c ../confpars.c \ 137 am__leaseq_unittests_SOURCES_DIST = ../dhcp.c ../bootp.c ../confpars.c \ 147 am__legacy_unittests_SOURCES_DIST = ../dhcp.c ../bootp.c ../confpars.c \ 157 am__load_bal_unittests_SOURCES_DIST = ../dhcp.c ../bootp.c \ 182 am__depfiles_remade = ./$(DEPDIR)/bootp.Po ./$(DEPDIR)/class.Po \ 414 DHCPSRC = ../dhcp.c ../bootp.c ../confpars.c ../db.c ../class.c \ 504 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bootp.Po@am__quote@ # am--include-marker 562 bootp.o: ../bootp.c [all …]
|
| /netbsd-src/sys/arch/i386/stand/pxeboot/ |
| H A D | dev_net.c | 152 int bootp(int sock); 166 bootp(sock); in net_getparams()
|
| /netbsd-src/external/mpl/dhcp/dist/server/ |
| H A D | Makefile.in | 108 dhcpd-bootp.$(OBJEXT) dhcpd-confpars.$(OBJEXT) \ 140 am__depfiles_remade = ./$(DEPDIR)/dhcpd-bootp.Po \ 402 dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ 502 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dhcpd-bootp.Po@am__quote@ # am--include-marker 570 dhcpd-bootp.o: bootp.c 571 … $(CFLAGS) -MT dhcpd-bootp.o -MD -MP -MF $(DEPDIR)/dhcpd-bootp.Tpo -c -o dhcpd-bootp.o `test -f 'b… 572 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/dhcpd-bootp.Tpo $(DEPDIR)/dhcpd-bootp.Po 575 …$(CPPFLAGS) $(dhcpd_CFLAGS) $(CFLAGS) -c -o dhcpd-bootp.o `test -f 'bootp.c' || echo '$(srcdir)/'`… 577 dhcpd-bootp.obj: bootp.c 578 …PFLAGS) $(dhcpd_CFLAGS) $(CFLAGS) -MT dhcpd-bootp.obj -MD -MP -MF $(DEPDIR)/dhcpd-bootp.Tpo -c -o … [all …]
|
| /netbsd-src/sys/arch/alpha/stand/netboot/ |
| H A D | dev_net.c | 63 void bootp(int); 199 bootp(sock); in net_getparams()
|
| /netbsd-src/sys/arch/evbmips/stand/sbmips/netboot/ |
| H A D | dev_net.c | 63 void bootp(int); 199 bootp(sock); in net_getparams()
|
| /netbsd-src/external/mpl/dhcp/dist/dhcpctl/ |
| H A D | cltest.c | 58 void bootp (struct packet *packet) { } in bootp() function 94 bootp,
|