-/* $OpenBSD: if_ethersubr.c,v 1.123 2008/08/04 18:55:08 damien Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.124 2008/08/28 13:10:54 brad Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
bcopy(eh, eh_tmp, sizeof(struct ether_header));
if (etype == ETHERTYPE_PPPOEDISC)
- inq = &ppoediscinq;
+ inq = &pppoediscinq;
else
- inq = &ppoeinq;
+ inq = &pppoeinq;
schednetisr(NETISR_PPPOE);
break;
-/* $OpenBSD: if_pppoe.c,v 1.24 2008/08/27 08:41:46 brad Exp $ */
+/* $OpenBSD: if_pppoe.c,v 1.25 2008/08/28 13:10:54 brad Exp $ */
/* $NetBSD: if_pppoe.c,v 1.51 2003/11/28 08:56:48 keihan Exp $ */
/*
};
/* incoming traffic will be queued here */
-struct ifqueue ppoediscinq = { NULL };
-struct ifqueue ppoeinq = { NULL };
+struct ifqueue pppoediscinq = { NULL };
+struct ifqueue pppoeinq = { NULL };
extern int sppp_ioctl(struct ifnet *, unsigned long, void *);
LIST_INIT(&pppoe_softc_list);
if_clone_attach(&pppoe_cloner);
- ppoediscinq.ifq_maxlen = IFQ_MAXLEN;
- ppoeinq.ifq_maxlen = IFQ_MAXLEN;
+ pppoediscinq.ifq_maxlen = IFQ_MAXLEN;
+ pppoeinq.ifq_maxlen = IFQ_MAXLEN;
}
/* Create a new interface. */
for (;;) {
s = splnet();
- IF_DEQUEUE(&ppoediscinq, m);
+ IF_DEQUEUE(&pppoediscinq, m);
splx(s);
if (m == NULL)
break;
for (;;) {
s = splnet();
- IF_DEQUEUE(&ppoeinq, m);
+ IF_DEQUEUE(&pppoeinq, m);
splx(s);
if (m == NULL)
break;
-/* $OpenBSD: if_pppoe.h,v 1.4 2008/06/26 05:42:20 ray Exp $ */
+/* $OpenBSD: if_pppoe.h,v 1.5 2008/08/28 13:10:54 brad Exp $ */
/* $NetBSD: if_pppoe.h,v 1.5 2003/11/28 08:56:48 keihan Exp $ */
/*
#ifdef _KERNEL
-extern struct ifqueue ppoediscinq;
-extern struct ifqueue ppoeinq;
+extern struct ifqueue pppoediscinq;
+extern struct ifqueue pppoeinq;
void pppoeintr(void);