diff options
author | green <green@FreeBSD.org> | 1999-12-19 01:55:37 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 1999-12-19 01:55:37 +0000 |
commit | 99a0254a52c686a564d742d546a4d41be85e07b3 (patch) | |
tree | ab7557ed3b90f76b30c22c586f0a34eb02746ce4 /sys/net/if_ethersubr.c | |
parent | 2de76d5ad3b32aa38eccccd666224ab17c58ff72 (diff) | |
download | FreeBSD-src-99a0254a52c686a564d742d546a4d41be85e07b3.zip FreeBSD-src-99a0254a52c686a564d742d546a4d41be85e07b3.tar.gz |
M_PREPEND-related cleanups (unregisterifying struct mbuf *s).
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r-- | sys/net/if_ethersubr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index f01ccc1..37c3d11 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -170,16 +170,15 @@ static struct ng_type typestruct = { * Assumes that ifp is actually pointer to arpcom structure. */ int -ether_output(ifp, m0, dst, rt0) +ether_output(ifp, m, dst, rt0) register struct ifnet *ifp; - struct mbuf *m0; + struct mbuf *m; struct sockaddr *dst; struct rtentry *rt0; { short type; int s, error = 0, hdrcmplt = 0; u_char esrc[6], edst[6]; - register struct mbuf *m = m0; register struct rtentry *rt; register struct ether_header *eh; int off, len = m->m_pkthdr.len, loop_copy = 0; |