summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-03-15 15:35:25 +0000
committermdodd <mdodd@FreeBSD.org>2003-03-15 15:35:25 +0000
commit1c36442d83a2ccdcece2d6fac4df63d9dc145ca4 (patch)
tree53d6cb5daf2a9d9b805033c0f3ce4f1243712311 /sys/net
parent665939da8fea5863698996a26bb63a377855be0e (diff)
downloadFreeBSD-src-1c36442d83a2ccdcece2d6fac4df63d9dc145ca4.zip
FreeBSD-src-1c36442d83a2ccdcece2d6fac4df63d9dc145ca4.tar.gz
s/llc_un.type_snap/llc_snap/g
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_iso88025subr.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c
index a0411e8..b1b67e2 100644
--- a/sys/net/if_iso88025subr.c
+++ b/sys/net/if_iso88025subr.c
@@ -325,12 +325,12 @@ iso88025_output(ifp, m, dst, rt0)
if (m == 0)
senderr(ENOBUFS);
l = mtod(m, struct llc *);
- l->llc_un.type_snap.ether_type = htons(snap_type);
+ l->llc_snap.ether_type = htons(snap_type);
l->llc_dsap = l->llc_ssap = LLC_SNAP_LSAP;
- l->llc_un.type_snap.control = LLC_UI;
- l->llc_un.type_snap.org_code[0] =
- l->llc_un.type_snap.org_code[1] =
- l->llc_un.type_snap.org_code[2] = 0;
+ l->llc_snap.control = LLC_UI;
+ l->llc_snap.org_code[0] =
+ l->llc_snap.org_code[1] =
+ l->llc_snap.org_code[2] = 0;
}
/*
@@ -434,12 +434,12 @@ iso88025_input(ifp, th, m)
(l->llc_ssap != LLC_SNAP_LSAP))
goto dropanyway;
- if (l->llc_un.type_snap.org_code[0] != 0 ||
- l->llc_un.type_snap.org_code[1] != 0 ||
- l->llc_un.type_snap.org_code[2] != 0)
+ if (l->llc_snap.org_code[0] != 0 ||
+ l->llc_snap.org_code[1] != 0 ||
+ l->llc_snap.org_code[2] != 0)
goto dropanyway;
- type = ntohs(l->llc_un.type_snap.ether_type);
+ type = ntohs(l->llc_snap.ether_type);
m_adj(m, LLC_SNAPFRAMELEN);
switch (type) {
#ifdef INET
OpenPOWER on IntegriCloud