bootpd.c (5ed136e814a98e845927fffa6aa7c497dbd8fa5e) | bootpd.c (f19d047aec2b1d05cfb00498caff5141094d1124) |
---|---|
1/************************************************************************ 2 Copyright 1988, 1991 by Carnegie Mellon University 3 4 All Rights Reserved 5 6Permission to use, copy, modify, and distribute this software and its 7documentation for any purpose and without fee is hereby granted, provided 8that the above copyright notice appear in all copies and that both that --- 91 unchanged lines hidden (view full) --- 100#endif 101 102 103 104/* 105 * Externals, forward declarations, and global variables 106 */ 107 | 1/************************************************************************ 2 Copyright 1988, 1991 by Carnegie Mellon University 3 4 All Rights Reserved 5 6Permission to use, copy, modify, and distribute this software and its 7documentation for any purpose and without fee is hereby granted, provided 8that the above copyright notice appear in all copies and that both that --- 91 unchanged lines hidden (view full) --- 100#endif 101 102 103 104/* 105 * Externals, forward declarations, and global variables 106 */ 107 |
108#define P(args) args | 108extern void dumptab(char *); |
109 | 109 |
110extern void dumptab P((char *)); 111 112PRIVATE void catcher P((int)); 113PRIVATE int chk_access P((char *, int32 *)); | 110PRIVATE void catcher(int); 111PRIVATE int chk_access(char *, int32 *); |
114#ifdef VEND_CMU | 112#ifdef VEND_CMU |
115PRIVATE void dovend_cmu P((struct bootp *, struct host *)); | 113PRIVATE void dovend_cmu(struct bootp *, struct host *); |
116#endif | 114#endif |
117PRIVATE void dovend_rfc1048 P((struct bootp *, struct host *, int32)); 118PRIVATE void handle_reply P((void)); 119PRIVATE void handle_request P((void)); 120PRIVATE void sendreply P((int forward, int32 dest_override)); 121PRIVATE void usage P((void)); | 115PRIVATE void dovend_rfc1048(struct bootp *, struct host *, int32); 116PRIVATE void handle_reply(void); 117PRIVATE void handle_request(void); 118PRIVATE void sendreply(int forward, int32 dest_override); 119PRIVATE void usage(void); |
122 | 120 |
123#undef P 124 | |
125/* 126 * IP port numbers for client and server obtained from /etc/services 127 */ 128 129u_short bootps_port, bootpc_port; 130 131 132/* --- 1275 unchanged lines hidden --- | 121/* 122 * IP port numbers for client and server obtained from /etc/services 123 */ 124 125u_short bootps_port, bootpc_port; 126 127 128/* --- 1275 unchanged lines hidden --- |