mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +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"
|
||||
#endif
|
||||
|
||||
#if defined (__osf__) && defined (__alpha)
|
||||
# include "cf/alphaosf.h"
|
||||
#endif
|
||||
|
||||
#ifdef ultrix
|
||||
# include "cf/ultrix.h"
|
||||
#endif
|
||||
@@ -126,3 +130,7 @@
|
||||
#ifndef ETHER_DEST
|
||||
# define ETHER_DEST(x) ((x) -> ether_dhost)
|
||||
#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"
|
||||
#endif
|
||||
|
||||
#if defined (__osf__) && defined (__alpha)
|
||||
# include "cf/alphaosf.h"
|
||||
#endif
|
||||
|
||||
#ifdef ultrix
|
||||
# include "cf/ultrix.h"
|
||||
#endif
|
||||
@@ -126,3 +130,7 @@
|
||||
#ifndef ETHER_DEST
|
||||
# define ETHER_DEST(x) ((x) -> ether_dhost)
|
||||
#endif
|
||||
|
||||
#ifndef BPF_FORMAT
|
||||
# define BPF_FORMAT "/dev/bpf%d"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user