summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-12 07:42:34 +0000
committerphk <phk@FreeBSD.org>2000-10-12 07:42:34 +0000
commitacecaa1fc20521bb074aac431cdae4193ce27ee6 (patch)
treed6b40770b3946bce9efff1787a71d0a4c5e81e06 /sys/netatm/uni
parent1324e3deb9c9197e7d69099fb8758c7d54d0f5be (diff)
downloadFreeBSD-src-acecaa1fc20521bb074aac431cdae4193ce27ee6.zip
FreeBSD-src-acecaa1fc20521bb074aac431cdae4193ce27ee6.tar.gz
More HARP polishina:
unifdef -UFORE_SBUS -DFORE_PCI s/ATM_KERNEL/_KERNER/g
Diffstat (limited to 'sys/netatm/uni')
-rw-r--r--sys/netatm/uni/sscf_uni_var.h4
-rw-r--r--sys/netatm/uni/sscop_var.h4
-rw-r--r--sys/netatm/uni/uniip_var.h12
-rw-r--r--sys/netatm/uni/unisig_var.h12
4 files changed, 16 insertions, 16 deletions
diff --git a/sys/netatm/uni/sscf_uni_var.h b/sys/netatm/uni/sscf_uni_var.h
index f8b70aa..4f4cea7 100644
--- a/sys/netatm/uni/sscf_uni_var.h
+++ b/sys/netatm/uni/sscf_uni_var.h
@@ -87,7 +87,7 @@ struct univcc {
#define UVF_NOESTIND 0x0001 /* Don't process ESTABLISH_IND */
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* Global function declarations
*/
@@ -110,6 +110,6 @@ void sscf_uni_upper __P((int, void *, int, int));
*/
extern int sscf_uni_vccnt;
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
#endif /* _UNI_SSCF_UNI_VAR_H */
diff --git a/sys/netatm/uni/sscop_var.h b/sys/netatm/uni/sscop_var.h
index f29108a..b063212 100644
--- a/sys/netatm/uni/sscop_var.h
+++ b/sys/netatm/uni/sscop_var.h
@@ -134,7 +134,7 @@ struct sscop_stat {
u_long sos_maa_error[MAA_ERROR_COUNT]; /* Management errors */
};
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* Global function declarations
*/
@@ -278,6 +278,6 @@ extern void (*(*sscop_qsaal_pdutab[]))
extern void (*(*sscop_q2110_pdutab[]))
__P((struct sscop *, KBuffer *, caddr_t));
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
#endif /* _UNI_SSCOP_VAR_H */
diff --git a/sys/netatm/uni/uniip_var.h b/sys/netatm/uni/uniip_var.h
index 409d2ad..343fd78 100644
--- a/sys/netatm/uni/uniip_var.h
+++ b/sys/netatm/uni/uniip_var.h
@@ -38,7 +38,7 @@
#ifndef _UNI_UNIIP_VAR_H
#define _UNI_UNIIP_VAR_H
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* UNI IP network interface structure. There will be one such structure for
* each IP network interface attached via a UNI signalling instance.
@@ -59,7 +59,7 @@ struct uniip {
#define uip_arpsvrip uip_arpsvrmap.am_dstip
#define uip_arpsvratm uip_arpsvrmap.am_dstatm
#define uip_arpsvrsub uip_arpsvrmap.am_dstatmsub
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
/*
* UNI Interface Flags
@@ -77,7 +77,7 @@ struct uniip {
#define UIAS_CLIENT_ACTIVE 6 /* Client - active */
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* Structure for allowable IP prefixes for ATMARP server registration
*/
@@ -126,7 +126,7 @@ struct uniarp {
#define ua_dstip ua_arpmap.am_dstip
#define ua_dstatm ua_arpmap.am_dstatm
#define ua_dstatmsub ua_arpmap.am_dstatmsub
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
/*
* UNIARP Entry Flags
@@ -197,7 +197,7 @@ struct atmarp_hdr {
#define ARP_TL_LMASK 0x3f /* Length mask */
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* Timer macros
*/
@@ -313,6 +313,6 @@ int uniip_start __P((void));
int uniip_stop __P((void));
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
#endif /* _UNI_UNIIP_VAR_H */
diff --git a/sys/netatm/uni/unisig_var.h b/sys/netatm/uni/unisig_var.h
index ca7e7fa..92e8362 100644
--- a/sys/netatm/uni/unisig_var.h
+++ b/sys/netatm/uni/unisig_var.h
@@ -43,7 +43,7 @@
#define FALSE 0
#endif
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* Structure containing state information for each UNI protocol
* instance. There will be one instance for each ATM device interface
@@ -68,7 +68,7 @@ struct unisig {
#define us_vccq us_inst.si_vccq
#define us_state us_inst.si_state
#define us_ipserv us_inst.si_ipserv
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
/*
* Signalling manager states
@@ -99,7 +99,7 @@ struct unisig {
#define UNISIG_SSCF_TIMEOUT (3 * ATM_HZ)
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* UNI Virtual Channel Connection control block. All information
* regarding the state of a UNI-controlled VCC will be recorded here.
@@ -130,7 +130,7 @@ struct unisig_vccb {
#define uv_ierrors vcp_hdr.vc_ierrors
#define uv_oerrors vcp_hdr.vc_oerrors
#define uv_tstamp vcp_hdr.vc_tstamp
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
/*
* UNI VCC protocol states. Taken from The ATM Forum UNI 3.0 (section
@@ -182,7 +182,7 @@ struct unisig_vccb {
#define UNI_VC_SAAL_ESTAB 20 /* Signalling AAL back up */
-#ifdef ATM_KERNEL
+#ifdef _KERNEL
/*
* UNI Timer Values. These values (except for T317) are taken from
* The ATM Forum UNI 3.0 (section 5.7.2).
@@ -318,6 +318,6 @@ extern struct sp_info unisig_vcpool;
extern struct sp_info unisig_msgpool;
extern struct sp_info unisig_iepool;
-#endif /* ATM_KERNEL */
+#endif /* _KERNEL */
#endif /* _UNISIG_VAR_H */
OpenPOWER on IntegriCloud