mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-02 15:25:48 +00:00
Add support for Alpha/OSF1; add default format for sprintfing BPF device name
This commit is contained in:
@@ -74,6 +74,10 @@
|
|||||||
# include "cf/freebsd.h"
|
# include "cf/freebsd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined (__osf__) && defined (__alpha)
|
||||||
|
# include "cf/alphaosf.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ultrix
|
#ifdef ultrix
|
||||||
# include "cf/ultrix.h"
|
# include "cf/ultrix.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -126,3 +130,7 @@
|
|||||||
#ifndef ETHER_DEST
|
#ifndef ETHER_DEST
|
||||||
# define ETHER_DEST(x) ((x) -> ether_dhost)
|
# define ETHER_DEST(x) ((x) -> ether_dhost)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef BPF_FORMAT
|
||||||
|
# define BPF_FORMAT "/dev/bpf%d"
|
||||||
|
#endif
|
||||||
|
8
osdep.h
8
osdep.h
@@ -74,6 +74,10 @@
|
|||||||
# include "cf/freebsd.h"
|
# include "cf/freebsd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined (__osf__) && defined (__alpha)
|
||||||
|
# include "cf/alphaosf.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ultrix
|
#ifdef ultrix
|
||||||
# include "cf/ultrix.h"
|
# include "cf/ultrix.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -126,3 +130,7 @@
|
|||||||
#ifndef ETHER_DEST
|
#ifndef ETHER_DEST
|
||||||
# define ETHER_DEST(x) ((x) -> ether_dhost)
|
# define ETHER_DEST(x) ((x) -> ether_dhost)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef BPF_FORMAT
|
||||||
|
# define BPF_FORMAT "/dev/bpf%d"
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user