dovend.c (5ed136e814a98e845927fffa6aa7c497dbd8fa5e) dovend.c (f19d047aec2b1d05cfb00498caff5141094d1124)
1/*
2 * dovend.c : Inserts all but the first few vendor options.
3 *
4 * $FreeBSD$
5 */
6
7#include <sys/types.h>
8

--- 15 unchanged lines hidden (view full) ---

24# define index strchr
25#endif
26
27#include "bootp.h"
28#include "bootpd.h"
29#include "report.h"
30#include "dovend.h"
31
1/*
2 * dovend.c : Inserts all but the first few vendor options.
3 *
4 * $FreeBSD$
5 */
6
7#include <sys/types.h>
8

--- 15 unchanged lines hidden (view full) ---

24# define index strchr
25#endif
26
27#include "bootp.h"
28#include "bootpd.h"
29#include "report.h"
30#include "dovend.h"
31
32#define P(args) args
32PRIVATE int insert_generic(struct shared_bindata *, byte **, int *);
33
33
34PRIVATE int insert_generic P((struct shared_bindata *, byte **, int *));
35
36/*
37 * Insert the 2nd part of the options into an option buffer.
38 * Return amount of space used.
39 *
40 * This inserts everything EXCEPT:
41 * magic cookie, subnet mask, gateway, bootsize, extension file
42 * Those are handled separately (in bootpd.c) to allow this function
43 * to be shared between bootpd and bootpef.

--- 367 unchanged lines hidden ---
34/*
35 * Insert the 2nd part of the options into an option buffer.
36 * Return amount of space used.
37 *
38 * This inserts everything EXCEPT:
39 * magic cookie, subnet mask, gateway, bootsize, extension file
40 * Those are handled separately (in bootpd.c) to allow this function
41 * to be shared between bootpd and bootpef.

--- 367 unchanged lines hidden ---