diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-15 15:35:25 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-15 15:35:25 +0000 |
commit | 4fd80d5b9d122ee2572672369163e2ccc1424439 (patch) | |
tree | 53d6cb5daf2a9d9b805033c0f3ce4f1243712311 /sys/net/if_iso88025subr.c | |
parent | 67df65de973b90f289c359b41f28b008f3640666 (diff) | |
download | src-4fd80d5b9d122ee2572672369163e2ccc1424439.tar.gz src-4fd80d5b9d122ee2572672369163e2ccc1424439.zip |
s/llc_un.type_snap/llc_snap/g
Notes
Notes:
svn path=/head/; revision=112268
Diffstat (limited to 'sys/net/if_iso88025subr.c')
-rw-r--r-- | sys/net/if_iso88025subr.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c index a0411e8f7394..b1b67e2e3163 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 |