diff options
| author | chopps <chopps@NetBSD.org> | 2000-01-09 14:47:43 +0000 |
|---|---|---|
| committer | chopps <chopps@NetBSD.org> | 2000-01-09 14:47:43 +0000 |
| commit | f3b56e33df4fb6056eed9c6dcc8f5f8a0b5a7bb6 (patch) | |
| tree | dadac12c4c48413bbf54ee91acfd41866ca461e2 /sys/dev | |
| parent | 699c278c2159c00a2dc72aff7927666c6c186226 (diff) | |
rename hl_control to hl_ffb (friendly fudge byte) as per cisco insider
the belief is that this was used to align OSI clnp header fields better
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/hd64570.c | 11 | ||||
| -rw-r--r-- | sys/dev/ic/hd64570reg.h | 4 |
2 files changed, 4 insertions, 11 deletions
diff --git a/sys/dev/ic/hd64570.c b/sys/dev/ic/hd64570.c index 7dae0b92e73..67b5eb4d477 100644 --- a/sys/dev/ic/hd64570.c +++ b/sys/dev/ic/hd64570.c @@ -1,4 +1,4 @@ -/* $NetBSD: hd64570.c,v 1.9 2000/01/08 20:46:29 chopps Exp $ */ +/* $NetBSD: hd64570.c,v 1.10 2000/01/09 14:47:43 chopps Exp $ */ /* * Copyright (c) 1999 Christian E. Hopps @@ -842,7 +842,7 @@ sca_output(ifp, m, dst, rt0) hdlc = mtod(m, struct hdlc_header *); llc = mtod(m, struct hdlc_llc_header *); llc->hl_dsap = llc->hl_ssap = LLC_ISO_LSAP; - llc->hl_control = 0; /* XXX */ + llc->hl_ffb = 0; break; #endif default: @@ -1584,13 +1584,6 @@ sca_frame_process(sca_port_t *scp) goto dropit; /* if not a std iso pdu drop it */ llc = (struct hdlc_llc_header *)hdlc; -#if 0 - /* XXX cisco puts either 0 or the iso irpd here */ - if (llc->hl_control != LLC_UI) { - scp->sp_if.if_noproto++; - goto dropit; - } -#endif m->m_pkthdr.rcvif = &scp->sp_if; m->m_pkthdr.len -= sizeof(struct hdlc_llc_header); m->m_data += sizeof(struct hdlc_llc_header); diff --git a/sys/dev/ic/hd64570reg.h b/sys/dev/ic/hd64570reg.h index 57789acba93..1bfb81ac194 100644 --- a/sys/dev/ic/hd64570reg.h +++ b/sys/dev/ic/hd64570reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: hd64570reg.h,v 1.4 2000/01/08 20:46:30 chopps Exp $ */ +/* $NetBSD: hd64570reg.h,v 1.5 2000/01/09 14:47:43 chopps Exp $ */ /* * Copyright (c) 1998 Vixie Enterprises @@ -74,7 +74,7 @@ struct hdlc_llc_header { u_int8_t hl_resv; u_int8_t hl_dsap; u_int8_t hl_ssap; - u_int8_t hl_control; + u_int8_t hl_ffb; /* cisco: friendly fudge byte */ }; /* |
